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

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

Issue 301843002: Store repaint rects in the coordinate space of their backing GraphicsLayer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more fix. 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
Index: Source/core/rendering/RenderListMarker.cpp
diff --git a/Source/core/rendering/RenderListMarker.cpp b/Source/core/rendering/RenderListMarker.cpp
index a1d99b96f77e0f82c63f628edd7aff4ffb53a5e5..e879fb4247de9bbd7dacc39400ea716e4c013d12 100644
--- a/Source/core/rendering/RenderListMarker.cpp
+++ b/Source/core/rendering/RenderListMarker.cpp
@@ -1838,7 +1838,7 @@ LayoutRect RenderListMarker::selectionRectForRepaint(const RenderLayerModelObjec
LayoutRect rect(0, root.selectionTop() - y(), width(), root.selectionHeight());
if (clipToVisibleContent)
- computeRectForRepaint(repaintContainer, rect);
+ adjustRectToRepaintBackingCoords(repaintContainer, rect);
else
rect = localToContainerQuad(FloatRect(rect), repaintContainer).enclosingBoundingBox();

Powered by Google App Engine
This is Rietveld 408576698