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

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: 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
Index: Source/core/rendering/RenderText.h
diff --git a/Source/core/rendering/RenderText.h b/Source/core/rendering/RenderText.h
index bcaba48bdb803ef97a61a09243563eb1f0c5d4cb..4b32e4b0456ee792d5675db630193da1df47f72a 100644
--- a/Source/core/rendering/RenderText.h
+++ b/Source/core/rendering/RenderText.h
@@ -181,6 +181,8 @@ private:
void secureText(UChar mask);
+ bool isText() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
pdr. 2014/07/27 20:55:23 A small nit that should have been in my previous r
Inactive 2014/07/28 13:16:29 Done. No worries, I will submit a clean up patch t
+
// 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').

Powered by Google App Engine
This is Rietveld 408576698