Chromium Code Reviews| Index: components/html_viewer/html_frame_apptest.cc |
| diff --git a/components/html_viewer/html_frame_apptest.cc b/components/html_viewer/html_frame_apptest.cc |
| index 55688fc7c3870d43a6c430ea32025b0789699e1d..d220dea362dd7d6718e91af7d9701678bed55423 100644 |
| --- a/components/html_viewer/html_frame_apptest.cc |
| +++ b/components/html_viewer/html_frame_apptest.cc |
| @@ -32,7 +32,7 @@ namespace mojo { |
| namespace { |
| // Switch to enable out of process iframes. |
| -const char kOOPIF[] = "oopifs"; |
| +const char kDisableOOPIF[] = "disable--oopifs"; |
| const char kAddFrameWithEmptyPageScript[] = |
| "var iframe = document.createElement(\"iframe\");" |
| @@ -40,7 +40,9 @@ const char kAddFrameWithEmptyPageScript[] = |
| "document.body.appendChild(iframe);"; |
| bool EnableOOPIFs() { |
| - return base::CommandLine::ForCurrentProcess()->HasSwitch(kOOPIF); |
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableOOPIF)) |
|
Fady Samuel
2015/08/14 21:32:36
like previous comment, simply return !this express
|
| + return false; |
| + return true; |
| } |
| mojo::ApplicationConnection* ApplicationConnectionForFrame(Frame* frame) { |