Index: mojo/examples/html_viewer/html_viewer.cc |
diff --git a/mojo/examples/html_viewer/html_viewer.cc b/mojo/examples/html_viewer/html_viewer.cc |
index de37c516312bf3f5d33438a27b2419a612028ebb..a1a44d2bebc4a76ddd5a781a4b6b2bb78548bef6 100644 |
--- a/mojo/examples/html_viewer/html_viewer.cc |
+++ b/mojo/examples/html_viewer/html_viewer.cc |
@@ -3,11 +3,11 @@ |
// found in the LICENSE file. |
#include "mojo/public/cpp/application/application.h" |
+#include "mojo/services/public/cpp/view_manager/node.h" |
+#include "mojo/services/public/cpp/view_manager/types.h" |
#include "mojo/services/public/cpp/view_manager/view.h" |
#include "mojo/services/public/cpp/view_manager/view_manager.h" |
#include "mojo/services/public/cpp/view_manager/view_manager_delegate.h" |
-#include "mojo/services/public/cpp/view_manager/view_manager_types.h" |
-#include "mojo/services/public/cpp/view_manager/view_tree_node.h" |
#include "mojo/services/public/interfaces/launcher/launcher.mojom.h" |
namespace mojo { |
@@ -75,7 +75,7 @@ class HTMLViewer : public Application, |
// Overridden from view_manager::ViewManagerDelegate: |
virtual void OnRootAdded(view_manager::ViewManager* view_manager, |
- view_manager::ViewTreeNode* root) OVERRIDE { |
+ view_manager::Node* root) OVERRIDE { |
content_view_ = view_manager::View::Create(view_manager); |
root->SetActiveView(content_view_); |
content_view_->SetColor(SK_ColorRED); |