Changeset 213708 in webkit


Ignore:
Timestamp:
Mar 10, 2017 5:02:16 AM (7 years ago)
Author:
zandobersek@gmail.com
Message:

[WK2] Guard GLib-specific typedefs in InjectedBundle.h with USE(GLIB)
https://bugs.webkit.org/show_bug.cgi?id=169464

Reviewed by Carlos Garcia Campos.

  • WebProcess/InjectedBundle/InjectedBundle.h: Use the more appropriate

USE(GLIB) guard for the two typedefs revolving around GModule, instead
of the PLATFORM(GTK) guard.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r213703 r213708  
     12017-03-10  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [WK2] Guard GLib-specific typedefs in InjectedBundle.h with USE(GLIB)
     4        https://bugs.webkit.org/show_bug.cgi?id=169464
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * WebProcess/InjectedBundle/InjectedBundle.h: Use the more appropriate
     9        USE(GLIB) guard for the two typedefs revolving around GModule, instead
     10        of the PLATFORM(GTK) guard.
     11
    1122017-03-09  Tomas Popela  <tpopela@redhat.com>
    213
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h

    r212557 r213708  
    3737#include <wtf/text/WTFString.h>
    3838
    39 #if PLATFORM(GTK)
     39#if USE(GLIB)
    4040typedef struct _GModule GModule;
    4141#endif
     
    6262#if USE(FOUNDATION)
    6363typedef NSBundle *PlatformBundle;
    64 #elif PLATFORM(GTK)
     64#elif USE(GLIB)
    6565typedef ::GModule* PlatformBundle;
    6666#endif
Note: See TracChangeset for help on using the changeset viewer.