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

Unified Diff: third_party/WebKit/Source/platform/text/TextRun.h

Issue 2707083002: Remove the text blob cache (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/WebKit/Source/platform/fonts/TextBlob.h ('k') | 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/text/TextRun.h
diff --git a/third_party/WebKit/Source/platform/text/TextRun.h b/third_party/WebKit/Source/platform/text/TextRun.h
index 2d4660a12286a5b5866c2e22aba68f3138ba6414..9c85b86083b8b246d09d3742d680b2683e8be139 100644
--- a/third_party/WebKit/Source/platform/text/TextRun.h
+++ b/third_party/WebKit/Source/platform/text/TextRun.h
@@ -37,8 +37,6 @@
#include <SkRefCnt.h>
#include <unicode/utf16.h>
-class SkTextBlob;
-
namespace blink {
enum TextJustify {
@@ -314,13 +312,12 @@ struct TextRunPaintInfo {
public:
explicit TextRunPaintInfo(const TextRun& r)
- : run(r), from(0), to(r.length()), cachedTextBlob(nullptr) {}
+ : run(r), from(0), to(r.length()) {}
const TextRun& run;
unsigned from;
unsigned to;
FloatRect bounds;
- sk_sp<SkTextBlob>* cachedTextBlob;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/TextBlob.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698