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

Unified Diff: Source/core/rendering/RenderReplaced.cpp

Issue 598113003: [Regression] Selections are incorrectly invalidated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed the test to be cross-platform Created 6 years, 3 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 | « Source/core/rendering/RenderListMarker.cpp ('k') | Source/core/rendering/RenderText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderReplaced.cpp
diff --git a/Source/core/rendering/RenderReplaced.cpp b/Source/core/rendering/RenderReplaced.cpp
index 9cb4e117711f65a88b7dd046d316aaafdfd5c51e..2cace69ed6f1756ba8d77fd27144171efbdf37b4 100644
--- a/Source/core/rendering/RenderReplaced.cpp
+++ b/Source/core/rendering/RenderReplaced.cpp
@@ -498,7 +498,8 @@ LayoutRect RenderReplaced::selectionRectForPaintInvalidation(const RenderLayerMo
return LayoutRect();
LayoutRect rect = localSelectionRect();
- return localToContainerQuad(FloatRect(rect), paintInvalidationContainer).enclosingBoundingBox();
+ mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, 0);
+ return rect;
}
LayoutRect RenderReplaced::localSelectionRect(bool checkWhetherSelected) const
« no previous file with comments | « Source/core/rendering/RenderListMarker.cpp ('k') | Source/core/rendering/RenderText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698