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 cb3ddb9a3012264e72a1006c2e856c1277c81730..b5dc6662b077bbf5715ed5c783b4a069cbabee00 100644 |
--- a/ui/aura/window_tree_host_ozone.cc |
+++ b/ui/aura/window_tree_host_ozone.cc |
@@ -26,8 +26,6 @@ WindowTreeHostOzone::WindowTreeHostOzone(const gfx::Rect& bounds) |
gfx::SurfaceFactoryOzone::GetInstance(); |
widget_ = surface_factory->GetAcceleratedWidget(); |
- surface_factory->AttemptToResizeAcceleratedWidget(widget_, bounds_); |
rjkroege
2014/03/24 16:07:04
I see that this change is necessary to compile but
spang
2014/03/24 16:42:11
This is redundant. The surface gets its size from
rjkroege
2014/03/24 20:23:15
in implementations where it matters, how does the
spang
2014/03/24 21:58:28
Sizing upon initialization goes this way:
1. Wi
|
- |
base::MessagePumpOzone::Current()->AddDispatcherForRootWindow(this); |
CreateCompositor(GetAcceleratedWidget()); |
} |