Index: ash/host/ash_window_tree_host_unified.cc |
diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc |
index 550a13d6098a5b9f8e18eeb0550408d8db1f5e2d..d0a10b924a28410adec6731c0ff008cf5b69746b 100644 |
--- a/ash/host/ash_window_tree_host_unified.cc |
+++ b/ash/host/ash_window_tree_host_unified.cc |
@@ -80,7 +80,7 @@ void AshWindowTreeHostUnified::RegisterMirroringHost( |
void AshWindowTreeHostUnified::SetBounds(const gfx::Rect& bounds) { |
AshWindowTreeHostPlatform::SetBounds(bounds); |
- OnHostResized(bounds.size()); |
+ OnHostResizedInPixel(bounds.size()); |
} |
void AshWindowTreeHostUnified::SetCursorNative(gfx::NativeCursor cursor) { |
@@ -95,7 +95,7 @@ void AshWindowTreeHostUnified::OnCursorVisibilityChangedNative(bool show) { |
void AshWindowTreeHostUnified::OnBoundsChanged(const gfx::Rect& bounds) { |
if (platform_window()) |
- OnHostResized(bounds.size()); |
+ OnHostResizedInPixel(bounds.size()); |
} |
void AshWindowTreeHostUnified::OnWindowDestroying(aura::Window* window) { |