Index: third_party/WebKit/Source/core/input/EventHandler.cpp |
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp |
index ae2dd983b48968685bf13af7b6a02b9a18abed67..b403fece842dd9db1936cd69c995f145a588a97b 100644 |
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp |
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp |
@@ -301,8 +301,8 @@ |
DragState& EventHandler::dragState() |
{ |
- DEFINE_STATIC_LOCAL(DragState, state, (new DragState)); |
- return state; |
+ DEFINE_STATIC_LOCAL(Persistent<DragState>, state, (new DragState())); |
+ return *state; |
} |
void EventHandler::clear() |