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

Unified Diff: Source/core/rendering/InlineTextBox.cpp

Issue 257763004: Removed parameter that is always true. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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/InlineTextBox.h ('k') | Source/core/rendering/svg/SVGRootInlineBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/InlineTextBox.cpp
diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp
index a28b0d4d71c23401efd9c990bf81fd919f4ac800..147733f6e5e9c2866b1972466acd9e7d7a515d74 100644
--- a/Source/core/rendering/InlineTextBox.cpp
+++ b/Source/core/rendering/InlineTextBox.cpp
@@ -78,13 +78,11 @@ void InlineTextBox::destroy()
InlineBox::destroy();
}
-void InlineTextBox::markDirty(bool dirty)
+void InlineTextBox::markDirty()
{
- if (dirty) {
- m_len = 0;
- m_start = 0;
- }
- InlineBox::markDirty(dirty);
+ m_len = 0;
+ m_start = 0;
+ InlineBox::markDirty();
}
LayoutRect InlineTextBox::logicalOverflowRect() const
« no previous file with comments | « Source/core/rendering/InlineTextBox.h ('k') | Source/core/rendering/svg/SVGRootInlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698