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

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

Issue 214053003: Don't use stale compositing state in LocalFrame::nodeImage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/compositing/drag-opacity-crash-expected.txt ('k') | Source/core/frame/LocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/Clipboard.cpp
diff --git a/Source/core/clipboard/Clipboard.cpp b/Source/core/clipboard/Clipboard.cpp
index e042e86af8ab4c5ac62d9ae94a4db85b982982d6..a05a87fa062678402b3cee6e91eb7a2a9dfa155d 100644
--- a/Source/core/clipboard/Clipboard.cpp
+++ b/Source/core/clipboard/Clipboard.cpp
@@ -243,9 +243,7 @@ PassOwnPtr<DragImage> Clipboard::createDragImage(IntPoint& loc, LocalFrame* fram
if (m_dragImageElement) {
loc = m_dragLoc;
- // https://code.google.com/p/chromium/issues/detail?id=354373
- DisableCompositingQueryAsserts disabler;
- return frame->nodeImage(m_dragImageElement.get());
+ return frame->nodeImage(*m_dragImageElement);
}
if (m_dragImage) {
loc = m_dragLoc;
« no previous file with comments | « LayoutTests/compositing/drag-opacity-crash-expected.txt ('k') | Source/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698