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

Unified Diff: third_party/WebKit/Source/core/dom/DOMTokenList.h

Issue 1876843002: Introduce few const getters for dom classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/Source/core/dom/DOMTokenList.h
diff --git a/third_party/WebKit/Source/core/dom/DOMTokenList.h b/third_party/WebKit/Source/core/dom/DOMTokenList.h
index 714529664b7e121b575600711feeee753ada167e..4af6034037add434194f676c624b7b76782544e4 100644
--- a/third_party/WebKit/Source/core/dom/DOMTokenList.h
+++ b/third_party/WebKit/Source/core/dom/DOMTokenList.h
@@ -83,7 +83,7 @@ public:
const AtomicString& toString() const { return value(); }
- virtual Element* element() { return 0; }
+ virtual Element* element() const { return 0; }
DEFINE_INLINE_VIRTUAL_TRACE() {
visitor->trace(m_observer);
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMStringMap.h ('k') | third_party/WebKit/Source/core/dom/DatasetDOMStringMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698