Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1328)

Unified Diff: Source/core/page/EventHandler.cpp

Issue 640303002: Enable Oilpan for core/clipboard/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove some slightly pointy edges Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/EventHandler.h ('k') | Source/modules/filesystem/DataTransferItemFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « Source/core/page/EventHandler.h ('k') | Source/modules/filesystem/DataTransferItemFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698