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

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: 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
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index f880858598fd8d455418a186105c6550ae0362f8..c2eaaadc975fc1fd97e8e9d346c19d1700eafc3f 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&);

Powered by Google App Engine
This is Rietveld 408576698