Index: components/html_viewer/ax_provider_apptest.cc |
diff --git a/components/html_viewer/ax_provider_apptest.cc b/components/html_viewer/ax_provider_apptest.cc |
index 073926c30c0319d21a98f089885f464ccd33d980..11b4cf21c405061436620b697b79cc1af50561f5 100644 |
--- a/components/html_viewer/ax_provider_apptest.cc |
+++ b/components/html_viewer/ax_provider_apptest.cc |
@@ -30,11 +30,13 @@ bool AxTreeContainsText(const Array<AxNodePtr>& tree, const String& text) { |
return false; |
} |
-// Switch to enable out of process iframes. |
-const char kOOPIF[] = "oopifs"; |
+// Switch to disable out of process iframes. |
+const char kDisableOOPIF[] = "disable--oopifs"; |
bool EnableOOPIFs() { |
- return base::CommandLine::ForCurrentProcess()->HasSwitch(kOOPIF); |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableOOPIF)) |
+ return false; |
+ return true; |
} |
class TestFrameTreeServer : public mandoline::FrameTreeServer { |