| Index: Source/core/page/EventHandler.cpp
|
| diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
|
| index 43d96fa010d3d273a657f943bb249de7923a33aa..827f3b5d0490a7643876466a29142f3cb7bc8f67 100644
|
| --- a/Source/core/page/EventHandler.cpp
|
| +++ b/Source/core/page/EventHandler.cpp
|
| @@ -306,10 +306,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()
|
| @@ -3995,7 +3997,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());
|
| }
|
|
|