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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp

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 | « no previous file | third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
index 4b12c77613e553b002acb1d6ba8d41e8a3933fcc..f6775522c9e68f010bc5fdbca954b3706d3fe3d2 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
@@ -57,20 +57,15 @@ void InlineTextBox::destroy() {
if (!knownToHaveNoOverflow() && gTextBoxesWithOverflow)
gTextBoxesWithOverflow->erase(this);
- InlineTextBoxPainter::removeFromTextBlobCache(*this);
InlineBox::destroy();
}
void InlineTextBox::offsetRun(int delta) {
ASSERT(!isDirty());
- InlineTextBoxPainter::removeFromTextBlobCache(*this);
m_start += delta;
}
void InlineTextBox::markDirty() {
- // FIXME: Is it actually possible to try and paint a dirty InlineTextBox?
- InlineTextBoxPainter::removeFromTextBlobCache(*this);
-
m_len = 0;
m_start = 0;
InlineBox::markDirty();
@@ -305,7 +300,6 @@ void InlineTextBox::setTruncation(unsigned truncation) {
return;
m_truncation = truncation;
- InlineTextBoxPainter::removeFromTextBlobCache(*this);
}
void InlineTextBox::clearTruncation() {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698