Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index e7801665ae533a6005eb58e5b9092470430378a2..99fb9a1b95f9fd010922b2056aa63c3ab60a3168 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -278,7 +278,7 @@ DEFINE_TRACE(EventHandler) |
DragState& EventHandler::dragState() |
{ |
- DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<DragState>, state, (adoptPtrWillBeNoop(new DragState()))); |
+ DEFINE_STATIC_LOCAL(Persistent<DragState>, state, (new DragState())); |
return *state; |
} |
@@ -4065,7 +4065,7 @@ bool EventHandler::passWheelEventToWidget(const PlatformWheelEvent& wheelEvent, |
return toFrameView(&widget)->frame().eventHandler().handleWheelEvent(wheelEvent); |
} |
-PassRefPtrWillBeRawPtr<DataTransfer> EventHandler::createDraggingDataTransfer() const |
+DataTransfer* EventHandler::createDraggingDataTransfer() const |
{ |
return DataTransfer::create(DataTransfer::DragAndDrop, DataTransferWritable, DataObject::create()); |
} |