Changeset 195601 in webkit


Ignore:
Timestamp:
Jan 26, 2016 11:02:40 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Fix build with ENABLE_DEVICE_ORIENTATION on non-iOS platforms
https://bugs.webkit.org/show_bug.cgi?id=153490

Patch by Olivier Blin <Olivier Blin> on 2016-01-26
Reviewed by Michael Catanzaro.

This has been broken since r178702, which changed the Page
argument from a pointer to a reference in logCanCachePageDecision().

No new tests since this is a build fix.

  • history/PageCache.cpp:

(WebCore::canCachePage):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r195600 r195601  
     12016-01-26  Olivier Blin  <olivier.blin@softathome.com>
     2
     3        Fix build with ENABLE_DEVICE_ORIENTATION on non-iOS platforms
     4        https://bugs.webkit.org/show_bug.cgi?id=153490
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        This has been broken since r178702, which changed the Page
     9        argument from a pointer to a reference in logCanCachePageDecision().
     10
     11        No new tests since this is a build fix.
     12
     13        * history/PageCache.cpp:
     14        (WebCore::canCachePage):
     15
    1162016-01-25  Ada Chan  <adachan@apple.com>
    217
  • trunk/Source/WebCore/history/PageCache.cpp

    r194496 r195601  
    199199    }
    200200#if ENABLE(DEVICE_ORIENTATION) && !PLATFORM(IOS)
    201     if (DeviceMotionController::isActiveAt(page)) {
     201    if (DeviceMotionController::isActiveAt(&page)) {
    202202        PCLOG("   -Page is using DeviceMotion");
    203203        logPageCacheFailureDiagnosticMessage(diagnosticLoggingClient, DiagnosticLoggingKeys::deviceMotionKey());
    204204        isCacheable = false;
    205205    }
    206     if (DeviceOrientationController::isActiveAt(page)) {
     206    if (DeviceOrientationController::isActiveAt(&page)) {
    207207        PCLOG("   -Page is using DeviceOrientation");
    208208        logPageCacheFailureDiagnosticMessage(diagnosticLoggingClient, DiagnosticLoggingKeys::deviceOrientationKey());
Note: See TracChangeset for help on using the changeset viewer.