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

Unified Diff: Source/core/clipboard/Clipboard.h

Issue 302133002: Fix a document memory leak in drag-and-drop. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed the comment Created 6 years, 7 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 | « LayoutTests/fast/events/drag-leak-document-expected.txt ('k') | Source/core/clipboard/Clipboard.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/Clipboard.h
diff --git a/Source/core/clipboard/Clipboard.h b/Source/core/clipboard/Clipboard.h
index 3d25d291462721323f6bb946816d252e93e1582e..edfbd3c2a7276151c32afcfd1bc2c83aa0a4f850 100644
--- a/Source/core/clipboard/Clipboard.h
+++ b/Source/core/clipboard/Clipboard.h
@@ -79,6 +79,7 @@ public:
IntPoint dragLocation() const { return m_dragLoc; }
void setDragImage(Element*, int x, int y, ExceptionState&);
+ void clearDragImage();
ImageResource* dragImageResource() const { return m_dragImage.get(); }
void setDragImageResource(ImageResource*, const IntPoint&);
Node* dragImageElement() const { return m_dragImageElement.get(); }
« no previous file with comments | « LayoutTests/fast/events/drag-leak-document-expected.txt ('k') | Source/core/clipboard/Clipboard.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698