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

Unified Diff: Source/core/rendering/RenderText.h

Issue 425503002: Hide RenderBox::isBox() / RenderText::isText() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix comment Created 6 years, 5 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/RenderBox.h ('k') | Source/core/rendering/line/TrailingObjects.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderText.h
diff --git a/Source/core/rendering/RenderText.h b/Source/core/rendering/RenderText.h
index fcb4ca838246269c5bac5e546eb619078bc63c72..97ab8febe31dd1530d9753d0f1a1ddb26a58c64f 100644
--- a/Source/core/rendering/RenderText.h
+++ b/Source/core/rendering/RenderText.h
@@ -182,6 +182,8 @@ private:
void secureText(UChar mask);
+ bool isText() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
+
// We put the bitfield first to minimize padding on 64-bit.
bool m_hasBreakableChar : 1; // Whether or not we can be broken into multiple lines.
bool m_hasBreak : 1; // Whether or not we have a hard break (e.g., <pre> with '\n').
« no previous file with comments | « Source/core/rendering/RenderBox.h ('k') | Source/core/rendering/line/TrailingObjects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698