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

Unified Diff: Source/core/dom/Document.h

Issue 102103002: Have HashMap<KeyType, AtomicString>::get() return a const reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use AtomicString::ConstructFromLiteral Created 7 years 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/css/StyleSheetContents.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index b1209b26e8de32d467c34ff397d6cf36e1e187cb..cc3da6f92a991541715d2217d5a188243759a873 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -726,7 +726,7 @@ public:
String cookie(ExceptionState&) const;
void setCookie(const String&, ExceptionState&);
- AtomicString referrer() const;
+ const AtomicString& referrer() const;
String domain() const;
void setDomain(const String& newDomain, ExceptionState&);
« no previous file with comments | « Source/core/css/StyleSheetContents.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698