Changeset 181519 in webkit


Ignore:
Timestamp:
Mar 15, 2015, 7:24:10 PM (11 years ago)
Author:
Simon Fraser
Message:

Fix the touch-event build.

  • dom/Document.cpp:

(WebCore::Document::didAddTouchEventHandler):
(WebCore::Document::didRemoveTouchEventHandler):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r181515 r181519  
     12015-03-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Fix the touch-event build.
     4
     5        * dom/Document.cpp:
     6        (WebCore::Document::didAddTouchEventHandler):
     7        (WebCore::Document::didRemoveTouchEventHandler):
     8
    192015-03-15  Simon Fraser  <simon.fraser@apple.com>
    210
  • trunk/Source/WebCore/dom/Document.cpp

    r181514 r181519  
    60166016    m_touchEventTargets->add(&handler);
    60176017    if (Document* parent = parentDocument()) {
    6018         parent->didAddTouchEventHandler(this);
     6018        parent->didAddTouchEventHandler(*this);
    60196019        return;
    60206020    }
     
    60336033    if (!m_touchEventTargets.get())
    60346034        return;
    6035     ASSERT(m_touchEventTargets->contains(handler));
     6035    ASSERT(m_touchEventTargets->contains(&handler));
    60366036    m_touchEventTargets->remove(&handler);
    60376037    if (Document* parent = parentDocument()) {
    6038         parent->didRemoveTouchEventHandler(this);
     6038        parent->didRemoveTouchEventHandler(*this);
    60396039        return;
    60406040    }
Note: See TracChangeset for help on using the changeset viewer.