Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: ui/aura/window_tree_host_ozone.cc

Issue 205433002: ozone: Add OzoneSurface object that is owned by compositor, GLSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing InitializeCanvas to FileSurface Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}

Powered by Google App Engine
This is Rietveld 408576698