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

Unified Diff: mojo/examples/window_manager/debug_panel.cc

Issue 549273002: Various mojom cleanup from ContentHandler changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: mojo/examples/window_manager/debug_panel.cc
diff --git a/mojo/examples/window_manager/debug_panel.cc b/mojo/examples/window_manager/debug_panel.cc
index 1290017b761d43861c6406433bab58082f3d784c..c65785c7be7e1f1ec4ee0bac76fa63e27dac05ce 100644
--- a/mojo/examples/window_manager/debug_panel.cc
+++ b/mojo/examples/window_manager/debug_panel.cc
@@ -125,9 +125,9 @@ void DebugPanel::ButtonPressed(views::Button* sender, const ui::Event& event) {
}
void DebugPanel::Navigate(const std::string& url) {
- NavigationDetailsPtr details(NavigationDetails::New());
- details->request->url = url;
- delegate_->RequestNavigate(view_->id(), TARGET_NEW_NODE, details.Pass());
+ URLRequestPtr request(URLRequest::New());
+ request->url = url;
+ delegate_->RequestNavigate(view_->id(), TARGET_NEW_NODE, request.Pass());
}
} // namespace examples

Powered by Google App Engine
This is Rietveld 408576698