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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 122993002: Make calls to AtomicString(const String&) explicit in web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use AtomicString type for frameName and target Created 6 years, 12 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
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index ea1ce2432f9fad4e869b3aff770812fb8218f4a1..5e9cc5f98a7957c30943fad376ed59bb5be08855 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -577,12 +577,12 @@ void FrameLoaderClientImpl::transitionToCommittedForNewPage()
PassRefPtr<Frame> FrameLoaderClientImpl::createFrame(
const KURL& url,
- const String& name,
+ const AtomicString& name,
const String& referrer,
HTMLFrameOwnerElement* ownerElement)
{
FrameLoadRequest frameRequest(m_webFrame->frame()->document(),
- ResourceRequest(url, referrer), name);
+ ResourceRequest(url, AtomicString(referrer)), name);
return m_webFrame->createChildFrame(frameRequest, ownerElement);
}
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698