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

Unified Diff: Source/core/rendering/RenderListMarker.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
Index: Source/core/rendering/RenderListMarker.cpp
diff --git a/Source/core/rendering/RenderListMarker.cpp b/Source/core/rendering/RenderListMarker.cpp
index db3d58dfbe150de23c1d450db7898b45c1b2baa3..5ddb1f9e7aee337b5a4834bb6ec9535b07e7c7f7 100644
--- a/Source/core/rendering/RenderListMarker.cpp
+++ b/Source/core/rendering/RenderListMarker.cpp
@@ -1629,8 +1629,8 @@ LayoutRect RenderListMarker::selectionRectForPaintInvalidation(const RenderLayer
RootInlineBox& root = inlineBoxWrapper()->root();
LayoutRect rect(0, root.selectionTop() - y(), width(), root.selectionHeight());
-
- return localToContainerQuad(FloatRect(rect), paintInvalidationContainer).enclosingBoundingBox();
+ mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, 0);
+ return rect;
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698