Index: ui/v2/src/layout.cc |
diff --git a/ui/v2/src/layout.cc b/ui/v2/src/layout.cc |
index 567060c5be781b752c5e117e283ac1445921e063..9b213bdb77438d7abae9dc09151e985a6db7ae9f 100644 |
--- a/ui/v2/src/layout.cc |
+++ b/ui/v2/src/layout.cc |
@@ -5,6 +5,7 @@ |
#include "ui/v2/public/layout.h" |
#include "ui/v2/public/view.h" |
+#include "ui/v2/src/view_private.h" |
namespace v2 { |
@@ -22,7 +23,7 @@ void Layout::SetChildBounds(View* child, |
// Layout, protected: |
void Layout::SetChildBoundsDirect(View* child, const gfx::Rect& bounds) { |
- child->SetBoundsInternal(bounds); |
+ ViewPrivate(child).set_bounds(bounds); |
} |
} // namespace v2 |