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

Unified Diff: components/plugins/renderer/mobile_youtube_plugin.cc

Issue 2140523002: Remove WebURLRequest::initialize() and simplify WebURLRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: components/plugins/renderer/mobile_youtube_plugin.cc
diff --git a/components/plugins/renderer/mobile_youtube_plugin.cc b/components/plugins/renderer/mobile_youtube_plugin.cc
index 4b77abd52a68d61fedb04a6eddbc5197b614d905..455640b0fbc07b849cb2638b8751cd698a4bb162 100644
--- a/components/plugins/renderer/mobile_youtube_plugin.cc
+++ b/components/plugins/renderer/mobile_youtube_plugin.cc
@@ -106,7 +106,6 @@ void MobileYouTubePlugin::OpenYoutubeUrlCallback() {
std::string youtube("vnd.youtube:");
GURL url(youtube.append(GetYoutubeVideoId(GetPluginParams())));
WebURLRequest request;
- request.initialize();
request.setURL(url);
render_frame()->LoadURLExternally(request,
blink::WebNavigationPolicyNewForegroundTab);
« no previous file with comments | « no previous file | content/child/web_url_loader_impl.cc » ('j') | content/renderer/fetchers/resource_fetcher_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698