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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransfer.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: third_party/WebKit/Source/core/clipboard/DataTransfer.h
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.h b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
index cf068534d0ddccec625d159f5aeb0e7132b75a6d..99e53aa5997aa005b630e306b5eeccaa48e94d69 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.h
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
@@ -32,7 +32,6 @@
#include "platform/geometry/IntPoint.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
-#include <memory>
namespace blink {
@@ -84,7 +83,7 @@ public:
void setDragImageResource(ImageResource*, const IntPoint&);
void setDragImageElement(Node*, const IntPoint&);
- std::unique_ptr<DragImage> createDragImage(IntPoint& dragLocation, LocalFrame*) const;
+ PassOwnPtr<DragImage> createDragImage(IntPoint& dragLocation, LocalFrame*) const;
void declareAndWriteDragImage(Element*, const KURL&, const String& title);
void writeURL(Node*, const KURL&, const String&);
void writeSelection(const FrameSelection&);

Powered by Google App Engine
This is Rietveld 408576698