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

Unified Diff: third_party/WebKit/Source/core/dom/DOMStringMap.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/DOMStringMap.h
diff --git a/third_party/WebKit/Source/core/dom/DOMStringMap.h b/third_party/WebKit/Source/core/dom/DOMStringMap.h
index 81e1731fbc61deff5b07c3178bdabdeb0efa5c31..d26345fb799c77495956a1810459bbbe17d56d13 100644
--- a/third_party/WebKit/Source/core/dom/DOMStringMap.h
+++ b/third_party/WebKit/Source/core/dom/DOMStringMap.h
@@ -81,7 +81,7 @@ public:
return anonymousNamedDeleter(AtomicString::number(index));
}
- virtual Element* element() = 0;
+ virtual Element* element() const = 0;
DEFINE_INLINE_VIRTUAL_TRACE() { }
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleSheetList.cpp ('k') | third_party/WebKit/Source/core/dom/DOMTokenList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698