WebKit Bugzilla
Attachment 373447 Details for
Bug 199469
: HyphenationLibHyphen: Include GLib-related headers only if ENABLE(DEVELOPER_MODE) is true
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-199469-20190704045635.patch (text/plain), 2.12 KB, created by
Konstantin Tokarev
on 2019-07-03 18:56:36 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Konstantin Tokarev
Created:
2019-07-03 18:56:36 PDT
Size:
2.12 KB
patch
obsolete
>Subversion Revision: 247113 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index c84ba2148c230b5c514d911b884fa1afc279f9c5..c0b3e0697cc7dc585343956cf326b5c3e922473a 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,12 @@ >+2019-07-03 Konstantin Tokarev <annulen@yandex.ru> >+ >+ HyphenationLibHyphen: Include GLib-related headers only if ENABLE(DEVELOPER_MODE) is true >+ https://bugs.webkit.org/show_bug.cgi?id=199469 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * platform/text/hyphen/HyphenationLibHyphen.cpp: >+ > 2019-07-03 Jer Noble <jer.noble@apple.com> > > Exception thrown from -[AVSampleBufferRenderSynchronizer addRenderer:], not a valid renderer. >diff --git a/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp b/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp >index fe40fb259b93f9d34e56f23cd1dd1103c65cc9a8..33b0ab9a733e93843e31de3d5434e1196a174985 100644 >--- a/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp >+++ b/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp >@@ -36,12 +36,15 @@ > #include <wtf/HashMap.h> > #include <wtf/NeverDestroyed.h> > #include <wtf/TinyLRUCache.h> >-#include <wtf/glib/GLibUtilities.h> >-#include <wtf/glib/GUniquePtr.h> > #include <wtf/text/AtomStringHash.h> > #include <wtf/text/CString.h> > #include <wtf/text/StringView.h> > >+#if ENABLE(DEVELOPER_MODE) && PLATFORM(GTK) >+#include <wtf/glib/GLibUtilities.h> >+#include <wtf/glib/GUniquePtr.h> >+#endif >+ > namespace WebCore { > > static const char* const gDictionaryDirectories[] = { >@@ -85,6 +88,8 @@ static void scanDirectoryForDictionaries(const char* directoryPath, HashMap<Atom > } > > #if ENABLE(DEVELOPER_MODE) >+ >+#if PLATFORM(GTK) > static CString topLevelPath() > { > if (const char* topLevelDirectory = g_getenv("WEBKIT_TOP_LEVEL")) >@@ -108,6 +113,7 @@ static CString webkitBuildDirectory() > GUniquePtr<char> outputDir(g_build_filename(topLevelPath().data(), "WebKitBuild", nullptr)); > return outputDir.get(); > } >+#endif // PLATFORM(GTK) > > static void scanTestDictionariesDirectoryIfNecessary(HashMap<AtomString, Vector<String>>& availableLocales) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 199469
:
373421
|
373447
|
373463