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

Unified Diff: chrome/renderer/printing/print_web_view_helper.cc

Issue 175543005: Use the single argument overload of WebFrame::create(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « android_webview/renderer/print_web_view_helper.cc ('k') | components/plugins/renderer/webview_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/printing/print_web_view_helper.cc
diff --git a/chrome/renderer/printing/print_web_view_helper.cc b/chrome/renderer/printing/print_web_view_helper.cc
index c4ee72abf3d3450c4a8fa24a5763fc30693d48fb..63e36dd08645d3cf16ebf42f6839eb9cadbfa0cf 100644
--- a/chrome/renderer/printing/print_web_view_helper.cc
+++ b/chrome/renderer/printing/print_web_view_helper.cc
@@ -465,8 +465,7 @@ void PrintWebViewHelper::PrintHeaderAndFooter(
blink::WebView* web_view = blink::WebView::create(NULL);
web_view->settings()->setJavaScriptEnabled(true);
- // We don't need to use the frame ID for this frame, so we pass 0 for it.
- blink::WebFrame* frame = blink::WebFrame::create(NULL, 0);
+ blink::WebFrame* frame = blink::WebFrame::create(NULL);
web_view->setMainFrame(frame);
base::StringValue html(
« no previous file with comments | « android_webview/renderer/print_web_view_helper.cc ('k') | components/plugins/renderer/webview_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698