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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrame.cpp

Issue 1738613002: Rename enums/functions that collide in chromium style in core/dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-3
Patch Set: get-names-4: Created 4 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
Index: third_party/WebKit/Source/core/frame/RemoteFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
index 7c2e6635b532f91eb57d62f1a6afbad1f2de28cb..92d0d137150a5242d58597f9927c7b965f722796 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
@@ -70,7 +70,7 @@ void RemoteFrame::navigate(Document& originDocument, const KURL& url, bool repla
// The process where this frame actually lives won't have sufficient information to determine
// correct referrer, since it won't have access to the originDocument. Set it now.
ResourceRequest request(url);
- request.setHTTPReferrer(SecurityPolicy::generateReferrer(originDocument.referrerPolicy(), url, originDocument.outgoingReferrer()));
+ request.setHTTPReferrer(SecurityPolicy::generateReferrer(originDocument.getReferrerPolicy(), url, originDocument.outgoingReferrer()));
request.setHasUserGesture(userGestureStatus == UserGestureStatus::Active);
remoteFrameClient()->navigate(request, replaceCurrentItem);
}

Powered by Google App Engine
This is Rietveld 408576698