diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-20 21:53:15 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-20 21:53:15 +0000 |
commit | 497edf843b74a3a3f61c498b3a7dff7dbddacde2 (patch) | |
tree | 54bae299df9b7a7703cc91eaf5592f487323bf34 /mojo/examples/compositor_app | |
parent | 582507170e6f19ead4447a8e098fc58f79ddbfa9 (diff) | |
download | chromium_src-497edf843b74a3a3f61c498b3a7dff7dbddacde2.zip chromium_src-497edf843b74a3a3f61c498b3a7dff7dbddacde2.tar.gz chromium_src-497edf843b74a3a3f61c498b3a7dff7dbddacde2.tar.bz2 |
cc: Remove CreateAndInitializeOutputSurface from the Proxy interface.
Move it to be non-virtual methods on SingleThreadProxy and ThreadProxy.
LayerTreeHost only needs to call it on the SingleThreadProxy, and make
it do that before calling Composite() instead of having Composite()
early out.
Merge LTH::InitializeOutputSurfaceIfNeeded into LTH::Composite.
NOTRY=true
R=enne
BUG=374287
Review URL: https://codereview.chromium.org/286293002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271769 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/compositor_app')
-rw-r--r-- | mojo/examples/compositor_app/compositor_host.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mojo/examples/compositor_app/compositor_host.cc b/mojo/examples/compositor_app/compositor_host.cc index 7c7e701..9820d55 100644 --- a/mojo/examples/compositor_app/compositor_host.cc +++ b/mojo/examples/compositor_app/compositor_host.cc @@ -31,7 +31,6 @@ CompositorHost::~CompositorHost() {} void CompositorHost::SetSize(gfx::Size viewport_size) { tree_->SetViewportSize(viewport_size); tree_->SetLayerTreeHostClientReady(); - tree_->InitializeOutputSurfaceIfNeeded(); } void CompositorHost::SetupScene() { |