Index: components/exo/surface.cc |
diff --git a/components/exo/surface.cc b/components/exo/surface.cc |
index 66784aebb22e03dc2573c159810fd03bab8fd187..5c52ad8e266624944ec1b330a9a86a68105bf4eb 100644 |
--- a/components/exo/surface.cc |
+++ b/components/exo/surface.cc |
@@ -772,6 +772,7 @@ void Surface::UpdateSurface(bool full_damage) { |
} |
content_size_ = layer_size; |
+ window_->SetBounds(gfx::Rect(window_->bounds().origin(), content_size_)); |
// TODO(jbauman): Figure out how this interacts with the pixel size of |
// CopyOutputRequests on the layer. |
gfx::Size contents_surface_size = layer_size; |