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

Unified Diff: Source/core/dom/Document.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/ContainerNode.h ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index d53d3dbf246d877d9428c833585e3309679ed34b..d64d4827c6041ff765885dbd3db3ad9e6ccb061b 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1074,6 +1074,10 @@ private:
friend class Node;
friend class IgnoreDestructiveWriteCountIncrementer;
+ bool isDocumentFragment() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
+ bool isDocumentNode() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
+ bool isElementNode() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
+
ScriptedAnimationController& ensureScriptedAnimationController();
virtual SecurityContext& securityContext() OVERRIDE FINAL { return *this; }
virtual EventQueue* eventQueue() const OVERRIDE FINAL;
« no previous file with comments | « Source/core/dom/ContainerNode.h ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698