Chromium Code Reviews| Index: ui/android/view_android.cc |
| diff --git a/ui/android/view_android.cc b/ui/android/view_android.cc |
| index 3771c37282d3359e8febec8ebcbb99db1b53a260..6334526014b0a0450834a4ab4b2ce0189d5342f3 100644 |
| --- a/ui/android/view_android.cc |
| +++ b/ui/android/view_android.cc |
| @@ -40,7 +40,7 @@ void ViewAndroid::AddChild(ViewAndroid* child) { |
| children_.push_back(child); |
| if (child->parent_) |
| - parent_->RemoveChild(child); |
| + child->parent_->RemoveChild(child); |
| child->parent_ = this; |
| } |