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

Unified Diff: android_webview/renderer/aw_content_renderer_client.cc

Issue 2608513002: Remove mojo::String. (Closed)
Patch Set: rebase 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/policy/arc_policy_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/renderer/aw_content_renderer_client.cc
diff --git a/android_webview/renderer/aw_content_renderer_client.cc b/android_webview/renderer/aw_content_renderer_client.cc
index 5ed7dcd516ff980b00a2da79835b592c9b702736..c991f66c9746c8d0eea0b659670be0db08ded6aa 100644
--- a/android_webview/renderer/aw_content_renderer_client.cc
+++ b/android_webview/renderer/aw_content_renderer_client.cc
@@ -231,7 +231,7 @@ void AwContentRendererClient::GetNavigationErrorStrings(
render_frame->GetRemoteInterfaces()->GetInterface(
&web_restrictions_service_);
web_restrictions::mojom::ClientResultPtr result;
- if (web_restrictions_service_->GetResult(mojo::String(url), &result)) {
+ if (web_restrictions_service_->GetResult(url, &result)) {
std::string detailed_error_html =
supervised_user_error_page::BuildHtmlFromWebRestrictionsResult(
result, RenderThread::Get()->GetLocale());
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/policy/arc_policy_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698