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

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

Issue 797813006: Replicate sandbox flags for OOPIF (Chromium part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iframe-sandbox-flags-part1
Patch Set: Rebase Created 5 years, 11 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/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 2027778795efa58f728938b8d7efe93ca14001f5..f2d87bdde6022a856d76c01fc07bee12c2e1ded2 100644
--- a/components/printing/renderer/print_web_view_helper.cc
+++ b/components/printing/renderer/print_web_view_helper.cc
@@ -571,10 +571,6 @@ class PrepareFrameAndViewForPrint : public blink::WebViewClient,
virtual void didStopLoading();
// blink::WebFrameClient override:
- // TODO(alexmos): Remove once Blink is updated to use sandbox flags.
- virtual blink::WebFrame* createChildFrame(
- blink::WebLocalFrame* parent,
- const blink::WebString& name);
virtual blink::WebFrame* createChildFrame(
blink::WebLocalFrame* parent,
const blink::WebString& name,
@@ -721,13 +717,6 @@ void PrepareFrameAndViewForPrint::didStopLoading() {
weak_ptr_factory_.GetWeakPtr()));
}
-// TODO(alexmos): Remove once Blink is updated to use sandbox flags.
-blink::WebFrame* PrepareFrameAndViewForPrint::createChildFrame(
- blink::WebLocalFrame* parent,
- const blink::WebString& name) {
- return createChildFrame(parent, name, blink::WebSandboxFlags::None);
-}
-
blink::WebFrame* PrepareFrameAndViewForPrint::createChildFrame(
blink::WebLocalFrame* parent,
const blink::WebString& name,
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_browsertest.cc » ('j') | content/browser/site_per_process_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698