Index: components/mus/public/cpp/lib/scoped_view_ptr.cc |
diff --git a/components/view_manager/public/cpp/lib/scoped_view_ptr.cc b/components/mus/public/cpp/lib/scoped_view_ptr.cc |
similarity index 70% |
rename from components/view_manager/public/cpp/lib/scoped_view_ptr.cc |
rename to components/mus/public/cpp/lib/scoped_view_ptr.cc |
index 93e231ab7a94f3438e48a75a36c39addf672ae80..79401fa223d3b8bd1510988076cc9af0941e34d8 100644 |
--- a/components/view_manager/public/cpp/lib/scoped_view_ptr.cc |
+++ b/components/mus/public/cpp/lib/scoped_view_ptr.cc |
@@ -2,16 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "components/view_manager/public/cpp/scoped_view_ptr.h" |
+#include "components/mus/public/cpp/scoped_view_ptr.h" |
-#include "components/view_manager/public/cpp/view.h" |
-#include "components/view_manager/public/cpp/view_observer.h" |
-#include "components/view_manager/public/cpp/view_tree_connection.h" |
+#include "components/mus/public/cpp/view.h" |
+#include "components/mus/public/cpp/view_observer.h" |
+#include "components/mus/public/cpp/view_tree_connection.h" |
namespace mojo { |
-ScopedViewPtr::ScopedViewPtr(View* view) |
- : view_(view) { |
+ScopedViewPtr::ScopedViewPtr(View* view) : view_(view) { |
view_->AddObserver(this); |
} |