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

Unified Diff: Source/core/dom/CharacterData.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/Attr.h ('k') | Source/core/dom/ContainerNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CharacterData.h
diff --git a/Source/core/dom/CharacterData.h b/Source/core/dom/CharacterData.h
index 3867309de25106cfcb185441025a4f66bf63f1c6..c28e9320d4f168b3e77e5045594a092670cd9082 100644
--- a/Source/core/dom/CharacterData.h
+++ b/Source/core/dom/CharacterData.h
@@ -76,8 +76,8 @@ private:
virtual bool offsetInCharacters() const OVERRIDE FINAL;
void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, RecalcStyleBehavior = DoNotRecalcStyle);
- bool isContainerNode() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
- bool isElementNode() const WTF_DELETED_FUNCTION; // Hide to catch useless calls.
+ bool isContainerNode() 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.
};
DEFINE_NODE_TYPE_CASTS(CharacterData, isCharacterDataNode());
« no previous file with comments | « Source/core/dom/Attr.h ('k') | Source/core/dom/ContainerNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698