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

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

Issue 144313014: Remove NodeList's anonymous named getter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Another clang build fix Created 6 years, 11 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/NodeList.h ('k') | Source/core/dom/NodeList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeList.cpp
diff --git a/Source/core/dom/NodeList.cpp b/Source/core/dom/NodeList.cpp
index e86640a810c23f69c30ced276e410ec93810ea76..689b06fe47c33422dd66b4136855b0d03f62d114 100644
--- a/Source/core/dom/NodeList.cpp
+++ b/Source/core/dom/NodeList.cpp
@@ -37,24 +37,6 @@
namespace WebCore {
-void NodeList::anonymousNamedGetter(const AtomicString& name, bool& returnValue0Enabled, RefPtr<Node>& returnValue0, bool& returnValue1Enabled, unsigned& returnValue1)
-{
- // Length property cannot be overridden.
- DEFINE_STATIC_LOCAL(const AtomicString, length, ("length", AtomicString::ConstructFromLiteral));
- if (name == length) {
- returnValue1Enabled = true;
- returnValue1 = this->length();
- return;
- }
-
- Node* result = namedItem(name);
- if (!result)
- return;
-
- returnValue0Enabled = true;
- returnValue0 = result;
-}
-
Node* NodeList::ownerNode() const
{
if (isLiveNodeList())
« no previous file with comments | « Source/core/dom/NodeList.h ('k') | Source/core/dom/NodeList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698