Changeset 169544 in webkit


Ignore:
Timestamp:
Jun 2, 2014 1:53:58 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

WebCore build fix for webreplay
https://bugs.webkit.org/show_bug.cgi?id=133401

Patch by Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com> on 2014-06-02
Reviewed by Darin Adler.

  • replay/MemoizedDOMResult.cpp:

(WebCore::MemoizedDOMResultBase::createFromEncodedResult):
Add a default nullptr return in order to avoid a gcc warning.
The warning is because of a non-void method that has a case which doesn't return.

  • replay/ReplayController.cpp:

(WebCore::ReplayController::setForceDeterministicSettings):
Guard the ScrollingCoordinator with the appropriate #ifdef.

  • replay/SerializationMethods.cpp:

Guard the KeypressCommand with COCOA as it is only present there.

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r169539 r169544  
     12014-06-02  Zsolt Borbely  <zsborbely.u-szeged@partner.samsung.com>
     2
     3        WebCore build fix for webreplay
     4        https://bugs.webkit.org/show_bug.cgi?id=133401
     5
     6        Reviewed by Darin Adler.
     7
     8        * replay/MemoizedDOMResult.cpp:
     9        (WebCore::MemoizedDOMResultBase::createFromEncodedResult):
     10        Add a default nullptr return in order to avoid a gcc warning.
     11        The warning is because of a non-void method that has a case which doesn't return.
     12        * replay/ReplayController.cpp:
     13        (WebCore::ReplayController::setForceDeterministicSettings):
     14        Guard the ScrollingCoordinator with the appropriate #ifdef.
     15        * replay/SerializationMethods.cpp:
     16        Guard the KeypressCommand with COCOA as it is only present there.
     17
    1182014-06-02  Jer Noble  <jer.noble@apple.com>
    219
  • trunk/Source/WebCore/replay/MemoizedDOMResult.cpp

    r165521 r169544  
    5656#undef CREATE_DECODE_SWITCH_CASE
    5757    }
     58
     59    RELEASE_ASSERT_NOT_REACHED();
     60    return nullptr;
    5861}
    5962
  • trunk/Source/WebCore/replay/ReplayController.cpp

    r166880 r169544  
    114114    }
    115115
     116#if ENABLE(ASYNC_SCROLLING)
    116117    if (ScrollingCoordinator* scrollingCoordinator = m_page.scrollingCoordinator())
    117118        scrollingCoordinator->replaySessionStateDidChange();
     119#endif
    118120}
    119121
  • trunk/Source/WebCore/replay/SerializationMethods.cpp

    r167173 r169544  
    4646#include <wtf/text/Base64.h>
    4747
    48 using WebCore::KeypressCommand;
    4948using WebCore::IntPoint;
    5049using WebCore::MimeClassInfo;
     
    6261
    6362#if PLATFORM(COCOA)
     63using WebCore::KeypressCommand;
    6464using WebCore::PlatformWheelEventPhase;
    6565#endif
Note: See TracChangeset for help on using the changeset viewer.