| Index: Source/core/page/EventHandler.cpp
|
| diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
|
| index cf16660a6b045b4a2b1d4b08e4effbe9b3232974..92c04d1f29fa8b7f5c42d5f4e6a7bf1caa288659 100644
|
| --- a/Source/core/page/EventHandler.cpp
|
| +++ b/Source/core/page/EventHandler.cpp
|
| @@ -307,10 +307,12 @@ EventHandler::~EventHandler()
|
| ASSERT(!m_fakeMouseMoveEventTimer.isActive());
|
| }
|
|
|
| +DEFINE_GC_INFO(DragState);
|
| +
|
| DragState& EventHandler::dragState()
|
| {
|
| - DEFINE_STATIC_LOCAL(DragState, state, ());
|
| - return state;
|
| + DEFINE_STATIC_LOCAL(Persistent<DragState>, state, ());
|
| + return *state;
|
| }
|
|
|
| void EventHandler::clear()
|
| @@ -4000,7 +4002,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());
|
| }
|
|
|