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

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 952273006: Make the constructor of a LayoutRect from an IntRect explicit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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: Source/core/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index 8efc64c9ca65fcc1e2fd4900fea17bc4b598f680..c82fd34baf9122ef32c2461e1367a3296886d9fa 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -672,7 +672,7 @@ PassOwnPtr<DragImage> LocalFrame::nodeImage(Node& node)
IntRect rect;
return paintIntoDragImage(renderer->displayItemClient(), DisplayItem::ClipNodeImage, renderer->shouldRespectImageOrientation(),
- pixelSnappedIntRect(renderer->paintingRootRect(rect)));
+ renderer->paintingRootRect(rect));
chrishtr 2015/02/26 18:26:47 No need to pixel-snap an IntRect.
}
PassOwnPtr<DragImage> LocalFrame::dragImageForSelection()

Powered by Google App Engine
This is Rietveld 408576698