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

Unified Diff: third_party/WebKit/Source/core/paint/TextPainter.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
Index: third_party/WebKit/Source/core/paint/TextPainter.h
diff --git a/third_party/WebKit/Source/core/paint/TextPainter.h b/third_party/WebKit/Source/core/paint/TextPainter.h
index a3d1de2ba5473b27d3d3da17de202d5bd3f67385..6be2ad1ee971fe1bedcdd9c3105a75b81f3b7b8a 100644
--- a/third_party/WebKit/Source/core/paint/TextPainter.h
+++ b/third_party/WebKit/Source/core/paint/TextPainter.h
@@ -7,7 +7,6 @@
#include "core/CoreExport.h"
#include "core/style/ComputedStyleConstants.h"
-#include "platform/fonts/TextBlob.h"
#include "platform/geometry/FloatPoint.h"
#include "platform/geometry/FloatRect.h"
#include "platform/geometry/LayoutRect.h"
@@ -58,8 +57,7 @@ class CORE_EXPORT TextPainter {
void paint(unsigned startOffset,
unsigned endOffset,
unsigned length,
- const Style&,
- TextBlobPtr* cachedTextBlob = 0);
+ const Style&);
struct Style {
STACK_ALLOCATED();
@@ -104,8 +102,7 @@ class CORE_EXPORT TextPainter {
template <PaintInternalStep step>
void paintInternal(unsigned startOffset,
unsigned endOffset,
- unsigned truncationPoint,
- TextBlobPtr* cachedTextBlob = 0);
+ unsigned truncationPoint);
void paintEmphasisMarkForCombinedText();
« no previous file with comments | « third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp ('k') | third_party/WebKit/Source/core/paint/TextPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698