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

Unified Diff: components/html_viewer/html_document_application_delegate.cc

Issue 1294473008: Makes OOPIFs the default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 5 years, 4 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/html_viewer/html_document_application_delegate.cc
diff --git a/components/html_viewer/html_document_application_delegate.cc b/components/html_viewer/html_document_application_delegate.cc
index c97ce2de6d7b958cd1baeee9d57e33c161f2edd5..1182fe21689a266b97e824d75ab8a961192f2946 100644
--- a/components/html_viewer/html_document_application_delegate.cc
+++ b/components/html_viewer/html_document_application_delegate.cc
@@ -19,7 +19,11 @@ namespace html_viewer {
namespace {
bool EnableOOPIFs() {
- return base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kOOPIF);
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableOOPIF)) {
+ return false;
Fady Samuel 2015/08/14 21:32:36 return !base::CommandLine::ForCurrentProcess()->Ha
+ }
+ return true;
}
HTMLFrame* CreateHTMLFrame(HTMLFrame::CreateParams* params) {

Powered by Google App Engine
This is Rietveld 408576698