Changeset 247141 in webkit


Ignore:
Timestamp:
Jul 4, 2019 6:54:50 AM (5 years ago)
Author:
Konstantin Tokarev
Message:

HyphenationLibHyphen: Include GLib-related headers only for PLATFORM(GTK)
https://bugs.webkit.org/show_bug.cgi?id=199469

Reviewed by Michael Catanzaro.

Also added compile guard for a couple of functions used only in GTK port.

  • platform/text/hyphen/HyphenationLibHyphen.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r247133 r247141  
     12019-07-04  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        HyphenationLibHyphen: Include GLib-related headers only for PLATFORM(GTK)
     4        https://bugs.webkit.org/show_bug.cgi?id=199469
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        Also added compile guard for a couple of functions used only in GTK port.
     9
     10        * platform/text/hyphen/HyphenationLibHyphen.cpp:
     11
    1122019-07-03  Eric Carlson  <eric.carlson@apple.com>
    213
  • trunk/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp

    r246490 r247141  
    3737#include <wtf/NeverDestroyed.h>
    3838#include <wtf/TinyLRUCache.h>
    39 #include <wtf/glib/GLibUtilities.h>
    40 #include <wtf/glib/GUniquePtr.h>
    4139#include <wtf/text/AtomStringHash.h>
    4240#include <wtf/text/CString.h>
    4341#include <wtf/text/StringView.h>
     42
     43#if PLATFORM(GTK)
     44#include <wtf/glib/GLibUtilities.h>
     45#include <wtf/glib/GUniquePtr.h>
     46#endif
    4447
    4548namespace WebCore {
     
    8689
    8790#if ENABLE(DEVELOPER_MODE)
     91
     92#if PLATFORM(GTK)
    8893static CString topLevelPath()
    8994{
     
    109114    return outputDir.get();
    110115}
     116#endif // PLATFORM(GTK)
    111117
    112118static void scanTestDictionariesDirectoryIfNecessary(HashMap<AtomString, Vector<String>>& availableLocales)
Note: See TracChangeset for help on using the changeset viewer.