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

Unified Diff: mojo/services/html_viewer/html_document_view.cc

Issue 549273002: Various mojom cleanup from ContentHandler changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 6 years, 3 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 | « mojo/services/BUILD.gn ('k') | mojo/services/launcher/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/html_document_view.cc
diff --git a/mojo/services/html_viewer/html_document_view.cc b/mojo/services/html_viewer/html_document_view.cc
index 6b640122389bcdc684cd940b025063a567dd7edf..d0c48f8b8466c0cb301417d2a17c50220de3dcee 100644
--- a/mojo/services/html_viewer/html_document_view.cc
+++ b/mojo/services/html_viewer/html_document_view.cc
@@ -191,12 +191,9 @@ blink::WebNavigationPolicy HTMLDocumentView::decidePolicyForNavigation(
if (CanNavigateLocally(frame, request))
return default_policy;
- NavigationDetailsPtr nav_details(NavigationDetails::New());
- nav_details->request = URLRequest::From(request);
-
navigator_host_->RequestNavigate(
WebNavigationPolicyToNavigationTarget(default_policy),
- nav_details.Pass());
+ URLRequest::From(request).Pass());
return blink::WebNavigationPolicyIgnore;
}
« no previous file with comments | « mojo/services/BUILD.gn ('k') | mojo/services/launcher/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698