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

Unified Diff: third_party/WebKit/Source/platform/fonts/Font.cpp

Issue 2786043002: Remove unused TextRunPaintInfo in Font::selectionRectForText (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/Font.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/Font.cpp b/third_party/WebKit/Source/platform/fonts/Font.cpp
index 131e11cdbfb94c15be4f44401d50df74666462cc..2460885ceee6ece9a6b8301d1b162a5e8d0837cf 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.cpp
+++ b/third_party/WebKit/Source/platform/fonts/Font.cpp
@@ -296,10 +296,6 @@ FloatRect Font::selectionRectForText(const TextRun& run,
bool accountForGlyphBounds) const {
to = (to == -1 ? run.length() : to);
- TextRunPaintInfo runInfo(run);
- runInfo.from = from;
- runInfo.to = to;
-
FontCachePurgePreventer purgePreventer;
CachingWordShaper shaper(*this);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698