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

Unified Diff: Source/core/rendering/RenderText.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/RenderReplaced.cpp ('k') | no next file » | 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 29cd468eca8e8354b268c5e43f41eed70e26f4ff..231b291e47e27177996cb70afad0a4dda7b87f79 100644
--- a/Source/core/rendering/RenderText.cpp
+++ b/Source/core/rendering/RenderText.cpp
@@ -1621,10 +1621,8 @@ LayoutRect RenderText::selectionRectForPaintInvalidation(const RenderLayerModelO
rect.unite(ellipsisRectForBox(box, startPos, endPos));
}
- if (cb->hasColumns())
- cb->adjustRectForColumns(rect);
-
- return localToContainerQuad(FloatRect(rect), paintInvalidationContainer).enclosingBoundingBox();
+ mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, 0);
+ return rect;
}
int RenderText::caretMinOffset() const
« no previous file with comments | « Source/core/rendering/RenderReplaced.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698