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

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

Issue 2608513002: Remove mojo::String. (Closed)
Patch Set: Created 3 years, 12 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: ios/web/webui/mojo_facade.mm
diff --git a/ios/web/webui/mojo_facade.mm b/ios/web/webui/mojo_facade.mm
index 780c84637016a763e5abd9886aedacca4ee6a68f..bc9b59e031c2fcde9e4a435161377f1c902ad5d8 100644
--- a/ios/web/webui/mojo_facade.mm
+++ b/ios/web/webui/mojo_facade.mm
@@ -115,8 +115,8 @@ std::unique_ptr<base::Value> MojoFacade::HandleInterfaceProviderGetInterface(
interface_name_as_value->GetAsString(&interface_name_as_string);
mojo::MessagePipe pipe;
- interface_provider_->GetInterface(
- mojo::String::From(interface_name_as_string), std::move(pipe.handle0));
+ interface_provider_->GetInterface(interface_name_as_string,
+ std::move(pipe.handle0));
return ValueFromInteger(pipe.handle1.release().value());
}

Powered by Google App Engine
This is Rietveld 408576698