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

Unified Diff: Source/core/dom/NameNodeList.cpp

Issue 180143003: Have LiveNodeListBase::ownerNode() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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/LiveNodeListBase.h ('k') | Source/core/dom/NodeRareData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NameNodeList.cpp
diff --git a/Source/core/dom/NameNodeList.cpp b/Source/core/dom/NameNodeList.cpp
index 6393eba9ecc37ed78c1cfbcc95018043eed9d93c..d01ca0d5e49cc111fca9fa9910748af02fda5aa2 100644
--- a/Source/core/dom/NameNodeList.cpp
+++ b/Source/core/dom/NameNodeList.cpp
@@ -39,7 +39,7 @@ NameNodeList::NameNodeList(PassRefPtr<ContainerNode> rootNode, const AtomicStrin
NameNodeList::~NameNodeList()
{
- ownerNode()->nodeLists()->removeCache(this, NameNodeListType, m_name);
+ ownerNode().nodeLists()->removeCache(this, NameNodeListType, m_name);
}
bool NameNodeList::nodeMatches(const Element& testNode) const
« no previous file with comments | « Source/core/dom/LiveNodeListBase.h ('k') | Source/core/dom/NodeRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698