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

Unified Diff: ios/web/webui/web_ui_mojo_inttest.mm

Issue 2027733003: [ios Mojo] Enabled Mojo WebUI by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/web_ui_mojo_inttest.mm
diff --git a/ios/web/webui/web_ui_mojo_inttest.mm b/ios/web/webui/web_ui_mojo_inttest.mm
index b7fa5450f0723ac3af507bc44ef4807c9182bf58..afc5681ed552f8ab54fcb134913f3ddd7af39fc1 100644
--- a/ios/web/webui/web_ui_mojo_inttest.mm
+++ b/ios/web/webui/web_ui_mojo_inttest.mm
@@ -148,7 +148,6 @@ class WebUIMojoTest : public WebIntTest {
// |TestUIHandler| sucessfully receives "ack" message from WebUI page.
TEST_F(WebUIMojoTest, MessageExchange) {
web_state()->SetWebUsageEnabled(true);
- web_state()->GetWebController().useMojoForWebUI = YES;
web_state()->GetView(); // WebState won't load URL without view.
NavigationManager::WebLoadParams load_params(GURL(
url::SchemeHostPort(kTestWebUIScheme, kTestWebUIURLHost, 0).Serialize()));
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698