| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index f9deee32068853e46ea86714282d2dee0eaac67c..88f30bd2c1fddc94d4be0ff7c4abc1a7f114b0a3 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -1082,13 +1082,17 @@ void* HTMLInputElement::preDispatchEventHandler(Event* event)
|
| return 0;
|
| if (!event->isMouseEvent() || toMouseEvent(event)->button() != LeftButton)
|
| return 0;
|
| +#if ENABLE(OILPAN)
|
| + return m_inputTypeView->willDispatchClick();
|
| +#else
|
| // FIXME: Check whether there are any cases where this actually ends up leaking.
|
| return m_inputTypeView->willDispatchClick().leakPtr();
|
| +#endif
|
| }
|
|
|
| void HTMLInputElement::postDispatchEventHandler(Event* event, void* dataFromPreDispatch)
|
| {
|
| - OwnPtr<ClickHandlingState> state = adoptPtr(static_cast<ClickHandlingState*>(dataFromPreDispatch));
|
| + OwnPtrWillBeRawPtr<ClickHandlingState> state = adoptPtrWillBeNoop(static_cast<ClickHandlingState*>(dataFromPreDispatch));
|
| if (!state)
|
| return;
|
| m_inputTypeView->didDispatchClick(event, *state);
|
|
|