summaryrefslogtreecommitdiffstats
path: root/mojo/examples/window_manager/window_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/examples/window_manager/window_manager.cc')
-rw-r--r--mojo/examples/window_manager/window_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mojo/examples/window_manager/window_manager.cc b/mojo/examples/window_manager/window_manager.cc
index f672c5f..e1cb54d 100644
--- a/mojo/examples/window_manager/window_manager.cc
+++ b/mojo/examples/window_manager/window_manager.cc
@@ -464,7 +464,7 @@ class WindowManager : public ApplicationDelegate,
navigation::NavigationDetailsPtr nav_details,
navigation::ResponseDetailsPtr response) {
node->Embed(app_url);
- if (nav_details.get()) {
+ if (nav_details) {
navigation::NavigatorPtr navigator;
app_->ConnectToService(app_url, &navigator);
navigator->Navigate(node->id(), nav_details.Pass(), response.Pass());