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

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

Issue 696703005: Remove RenderSelectionInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated after Kouhei's comment. Created 6 years, 1 month 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/RenderSelectionInfo.h ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderText.cpp
diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
index 7831ec08d7c743f4c926bca09d0ece6c070c5aa2..631e04185047b57b04b0d775b6a4522706392dd9 100644
--- a/Source/core/rendering/RenderText.cpp
+++ b/Source/core/rendering/RenderText.cpp
@@ -1629,6 +1629,9 @@ LayoutRect RenderText::selectionRectForPaintInvalidation(const RenderLayerModelO
}
mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, 0);
+ // FIXME: groupedMapping() leaks the squashing abstraction.
+ if (paintInvalidationContainer->layer()->groupedMapping())
+ RenderLayer::mapRectToPaintBackingCoordinates(paintInvalidationContainer, rect);
return rect;
}
« no previous file with comments | « Source/core/rendering/RenderSelectionInfo.h ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698