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

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

Issue 27519002: Have Node::ensureRareData() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/Element.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index deec415fe62e49ffa69e3fc77adf57d4615667e6..6a13bb207342eb57dbe87f412dd811d453c42b5b 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -797,7 +797,7 @@ protected:
bool hasRareData() const { return getFlag(HasRareDataFlag); }
NodeRareData* rareData() const;
- NodeRareData* ensureRareData();
+ NodeRareData& ensureRareData();
void clearRareData();
void clearEventTargetData();
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698