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) { |