| Index: Source/core/page/EventHandler.cpp
|
| diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
|
| index 256427fdb0c1e180aef1ec7d212c77937c52833f..2aab1b88d4191c8fb759d9dc6eb8436572060e7f 100644
|
| --- a/Source/core/page/EventHandler.cpp
|
| +++ b/Source/core/page/EventHandler.cpp
|
| @@ -306,10 +306,17 @@ EventHandler::~EventHandler()
|
| ASSERT(!m_fakeMouseMoveEventTimer.isActive());
|
| }
|
|
|
| +DEFINE_GC_INFO(DragState);
|
| +
|
| DragState& EventHandler::dragState()
|
| {
|
| +#if ENABLE(OILPAN)
|
| + DEFINE_STATIC_LOCAL(Persistent<DragState>, state, (new DragState()));
|
| + return *state;
|
| +#else
|
| DEFINE_STATIC_LOCAL(DragState, state, ());
|
| return state;
|
| +#endif
|
| }
|
|
|
| void EventHandler::clear()
|
| @@ -3993,7 +4000,7 @@ bool EventHandler::passWidgetMouseDownEventToWidget(const MouseEventWithHitTestR
|
| return false;
|
| }
|
|
|
| -PassRefPtr<Clipboard> EventHandler::createDraggingClipboard() const
|
| +PassRefPtrWillBeRawPtr<Clipboard> EventHandler::createDraggingClipboard() const
|
| {
|
| return Clipboard::create(Clipboard::DragAndDrop, ClipboardWritable, DataObject::create());
|
| }
|
|
|