| Index: mojo/examples/image_viewer/image_viewer.cc
|
| diff --git a/mojo/examples/image_viewer/image_viewer.cc b/mojo/examples/image_viewer/image_viewer.cc
|
| index 73c4c1264249ae7f6bc2f0e73705286cf4225d70..51afd8f657172b9f49162b15128c93c76423438e 100644
|
| --- a/mojo/examples/image_viewer/image_viewer.cc
|
| +++ b/mojo/examples/image_viewer/image_viewer.cc
|
| @@ -6,11 +6,11 @@
|
|
|
| #include "base/strings/string_tokenizer.h"
|
| #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"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| #include "ui/gfx/codec/png_codec.h"
|
| @@ -103,7 +103,7 @@ class ImageViewer : 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);
|
|
|