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

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

Issue 177213010: Move LiveNodeListBase class to its own header (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/html/HTMLCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LiveNodeListBase.cpp
diff --git a/Source/core/dom/LiveNodeList.cpp b/Source/core/dom/LiveNodeListBase.cpp
similarity index 87%
copy from Source/core/dom/LiveNodeList.cpp
copy to Source/core/dom/LiveNodeListBase.cpp
index d43ce2f541815711ce5d4b231688acc7fa8415be..a4b120205760058afa1853005fb5efffc7935c59 100644
--- a/Source/core/dom/LiveNodeList.cpp
+++ b/Source/core/dom/LiveNodeListBase.cpp
@@ -3,6 +3,7 @@
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2006, 2007, 2008, 2010 Apple Inc. All rights reserved.
+ * Copyright (C) 2014 Samsung Electronics. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -21,9 +22,8 @@
*/
#include "config.h"
-#include "core/dom/LiveNodeList.h"
+#include "core/dom/LiveNodeListBase.h"
-#include "core/dom/Element.h"
#include "core/html/HTMLCollection.h"
namespace WebCore {
@@ -48,14 +48,4 @@ void LiveNodeListBase::invalidateIdNameCacheMaps() const
static_cast<const HTMLCollection*>(this)->invalidateIdNameCacheMaps();
}
-Node* LiveNodeList::virtualOwnerNode() const
-{
- return ownerNode();
-}
-
-void LiveNodeList::invalidateCache(Document*) const
-{
- m_collectionIndexCache.invalidate();
-}
-
} // namespace WebCore
« no previous file with comments | « Source/core/dom/LiveNodeListBase.h ('k') | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698