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

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

Issue 2036403002: Always use the WebFrameWidget when attaching the root graphics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding comments 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.h » ('j') | third_party/WebKit/Source/web/WebViewImpl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/printing/renderer/print_web_view_helper.cc
diff --git a/components/printing/renderer/print_web_view_helper.cc b/components/printing/renderer/print_web_view_helper.cc
index fa79d1a2714353a0a665ff0e7f4c77d78738f0ea..53286f5ca69859f76f36a11f712d866ca2157d94 100644
--- a/components/printing/renderer/print_web_view_helper.cc
+++ b/components/printing/renderer/print_web_view_helper.cc
@@ -622,7 +622,7 @@ class PrepareFrameAndViewForPrint : public blink::WebViewClient,
const blink::WebString& unique_name,
blink::WebSandboxFlags sandbox_flags,
const blink::WebFrameOwnerProperties& frame_owner_properties) override;
- void frameDetached(blink::WebFrame* frame, DetachType type) override;
+ void frameDetached(blink::WebLocalFrame* frame, DetachType type) override;
void CallOnReady();
void ResizeForPrinting();
@@ -777,7 +777,7 @@ blink::WebFrame* PrepareFrameAndViewForPrint::createChildFrame(
return frame;
}
-void PrepareFrameAndViewForPrint::frameDetached(blink::WebFrame* frame,
+void PrepareFrameAndViewForPrint::frameDetached(blink::WebLocalFrame* frame,
DetachType type) {
DCHECK(type == DetachType::Remove);
if (frame->parent())
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.h » ('j') | third_party/WebKit/Source/web/WebViewImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698