Changeset 223502 in webkit


Ignore:
Timestamp:
Oct 17, 2017 2:38:54 AM (7 years ago)
Author:
tpopela@redhat.com
Message:

Undefined WK_API_ENABLED warning when compiling COCOA content on WebKitGTK+
https://bugs.webkit.org/show_bug.cgi?id=178208

Check whether we are on COCOA platform before checking for
WK_API_ENABLED.

Reviewed by Ryosuke Niwa.

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::clearDOMCache):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r223476 r223502  
     12017-10-17  Tomas Popela  <tpopela@redhat.com>
     2
     3        Undefined WK_API_ENABLED warning when compiling COCOA content on WebKitGTK+
     4        https://bugs.webkit.org/show_bug.cgi?id=178208
     5
     6        Check whether we are on COCOA platform before checking for
     7        WK_API_ENABLED.
     8
     9        Reviewed by Ryosuke Niwa.
     10
     11        * WebKitTestRunner/TestController.cpp:
     12        (WTR::TestController::clearDOMCache):
     13
    1142017-10-17  Keith Miller  <keith_miller@apple.com>
    215
  • trunk/Tools/WebKitTestRunner/TestController.cpp

    r223299 r223502  
    23002300#endif
    23012301
    2302 #if WK_API_ENABLED
     2302#if PLATFORM(COCOA) && WK_API_ENABLED
    23032303struct ClearDOMCacheCallbackContext {
    23042304    explicit ClearDOMCacheCallbackContext(TestController& controller)
     
    23212321void TestController::clearDOMCache(WKStringRef origin)
    23222322{
    2323 #if WK_API_ENABLED
     2323#if PLATFORM(COCOA) && WK_API_ENABLED
    23242324    auto websiteDataStore = WKContextGetWebsiteDataStore(platformContext());
    23252325    ClearDOMCacheCallbackContext context(*this);
Note: See TracChangeset for help on using the changeset viewer.