| Index: mojo/services/public/cpp/view_manager/lib/view.cc
|
| diff --git a/mojo/services/public/cpp/view_manager/lib/view.cc b/mojo/services/public/cpp/view_manager/lib/view.cc
|
| index b371000ee798c25e46bd83667c09743b52a1dec6..84a0455a9dfeab31aae0d1b27483a9ae21fb7e58 100644
|
| --- a/mojo/services/public/cpp/view_manager/lib/view.cc
|
| +++ b/mojo/services/public/cpp/view_manager/lib/view.cc
|
| @@ -311,10 +311,6 @@
|
| }
|
|
|
| bool View::Contains(View* child) const {
|
| - if (!child)
|
| - return false;
|
| - if (child == this)
|
| - return true;
|
| if (manager_)
|
| CHECK_EQ(ViewPrivate(child).view_manager(), manager_);
|
| for (View* p = child->parent(); p; p = p->parent()) {
|
|
|