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

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

Issue 2934233002: In-place modification of drag related functionality present in LocalFrame (Closed)
Patch Set: updatedPS Created 3 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.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp
index c0e335f7a7f8234807ffbe243a70ea060dab7a1f..8aed56e7fa3c901f9ffe1ac96774b170f4086270 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp
@@ -261,7 +261,7 @@ std::unique_ptr<DragImage> DataTransfer::CreateDragImage(
if (drag_image_element_) {
loc = drag_loc_;
- return frame->NodeImage(*drag_image_element_);
+ return NodeImage(*frame, *drag_image_element_);
}
if (drag_image_) {
loc = drag_loc_;
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataTransfer.h ('k') | third_party/WebKit/Source/core/clipboard/DataTransferTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698