Changeset 200324 in webkit


Ignore:
Timestamp:
May 2, 2016 9:21:33 AM (8 years ago)
Author:
yoav@yoav.ws
Message:

Speculatively fix the cmake build
https://bugs.webkit.org/show_bug.cgi?id=157262

Reviewed by Darin Adler.

This patch adds WEB_TIMING build flag guards around calls to DOMWindow()->performance(),
in order to make sure builds that have WEB_TIMING disabled (e.g. cmake on Mac) continue
to build.

No new tests as there's no functional change.

  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::loadDone):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r200323 r200324  
     12016-05-02  Yoav Weiss  <yoav@yoav.ws>
     2
     3        Speculatively fix the cmake build
     4        https://bugs.webkit.org/show_bug.cgi?id=157262
     5
     6        Reviewed by Darin Adler.
     7
     8        This patch adds WEB_TIMING build flag guards around calls to DOMWindow()->performance(),
     9        in order to make sure builds that have WEB_TIMING disabled (e.g. cmake on Mac) continue
     10        to build.
     11
     12        No new tests as there's no functional change.
     13
     14        * loader/cache/CachedResourceLoader.cpp:
     15        (WebCore::CachedResourceLoader::loadDone):
     16
    1172016-05-02  Daniel Bates  <dabates@apple.com>
    218
  • trunk/Source/WebCore/loader/cache/CachedResourceLoader.cpp

    r200320 r200324  
    970970    RefPtr<Document> protectDocument(m_document);
    971971
     972#if ENABLE(WEB_TIMING)
    972973    if (RuntimeEnabledFeatures::sharedFeatures().resourceTimingEnabled()
    973974        && resource && resource->response().isHTTP()
     
    985986        }
    986987    }
     988#endif
    987989
    988990    if (frame())
Note: See TracChangeset for help on using the changeset viewer.