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

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

Issue 423823005: Clarify comments for methods added in r178921 (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/DocumentFragment.h » ('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 dc44eb7ec4660f037339855976e4169f8b3c264a..412cc3af9934731bd65ad6b62bd5ecbe04d44e67 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1073,9 +1073,9 @@ 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.
+ bool isDocumentFragment() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
+ bool isDocumentNode() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
+ bool isElementNode() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
ScriptedAnimationController& ensureScriptedAnimationController();
virtual SecurityContext& securityContext() OVERRIDE FINAL { return *this; }
« no previous file with comments | « Source/core/dom/ContainerNode.h ('k') | Source/core/dom/DocumentFragment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698