Index: ui/aura/window_tree_host_ozone.cc |
diff --git a/ui/aura/window_tree_host_ozone.cc b/ui/aura/window_tree_host_ozone.cc |
index 790ba91377725099102991156127e9c8a19a36a5..2fe6a9fffdc25da9ea97acb564bee91958bcf5ac 100644 |
--- a/ui/aura/window_tree_host_ozone.cc |
+++ b/ui/aura/window_tree_host_ozone.cc |
@@ -21,6 +21,10 @@ WindowTreeHostOzone::~WindowTreeHostOzone() { |
DestroyDispatcher(); |
} |
+gfx::Rect WindowTreeHostOzone::GetBounds() const { |
+ return platform_window_->GetBounds(); |
+} |
+ |
void WindowTreeHostOzone::OnBoundsChanged(const gfx::Rect& new_bounds) { |
// TOOD(spang): Should we determine which parts changed? |
OnHostResized(new_bounds.size()); |
@@ -73,10 +77,6 @@ void WindowTreeHostOzone::Hide() { |
platform_window_->Hide(); |
} |
-gfx::Rect WindowTreeHostOzone::GetBounds() const { |
- return platform_window_->GetBounds(); |
-} |
- |
void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) { |
platform_window_->SetBounds(bounds); |
} |