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

Unified Diff: Source/core/dom/Text.h

Issue 422463002: Hide isXXX() type checking methods in subclasses (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
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | Source/core/dom/shadow/InsertionPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Text.h
diff --git a/Source/core/dom/Text.h b/Source/core/dom/Text.h
index c66d66bbaaf839d21c593c76d5beda2f2762f6a0..5acdaa3d8852e934383f9003fbdfbcdc070222a7 100644
--- a/Source/core/dom/Text.h
+++ b/Source/core/dom/Text.h
@@ -68,6 +68,8 @@ private:
virtual String nodeName() const OVERRIDE;
virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) OVERRIDE FINAL;
+ bool isTextNode() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
+
bool needsWhitespaceRenderer();
virtual PassRefPtrWillBeRawPtr<Text> cloneWithData(const String&);
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | Source/core/dom/shadow/InsertionPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698