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

Unified Diff: Source/core/rendering/RenderText.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/RenderText.cpp
diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
index f86f43977330a247d07353072aa690bc5982f095..e2a0e509490a0dcdae83bacb543897303cea2689 100644
--- a/Source/core/rendering/RenderText.cpp
+++ b/Source/core/rendering/RenderText.cpp
@@ -1620,7 +1620,7 @@ LayoutRect RenderText::selectionRectForRepaint(const RenderLayerModelObject* rep
}
if (clipToVisibleContent)
- computeRectForRepaint(repaintContainer, rect);
+ adjustRectToRepaintBackingCoords(repaintContainer, rect);
else {
if (cb->hasColumns())
cb->adjustRectForColumns(rect);

Powered by Google App Engine
This is Rietveld 408576698