| Index: mojo/examples/compositor_app/compositor_app.cc
|
| diff --git a/mojo/examples/compositor_app/compositor_app.cc b/mojo/examples/compositor_app/compositor_app.cc
|
| index a4e11825119366f3473da7c009039fa138abf8ef..e81ca1ed96dca833b24390e247c96fa86569bd6b 100644
|
| --- a/mojo/examples/compositor_app/compositor_app.cc
|
| +++ b/mojo/examples/compositor_app/compositor_app.cc
|
| @@ -62,13 +62,14 @@ class SampleApp : public ShellClient {
|
| host_.reset(new CompositorHost(gles2_client_.get()));
|
| }
|
|
|
| - void DidCreateContext(gfx::Size viewport_size) {
|
| - host_->DidCreateContext(viewport_size);
|
| + void DidCreateContext() {
|
| + host_->DidCreateContext();
|
| }
|
|
|
| virtual ~NativeViewportClientImpl() {}
|
|
|
| - virtual void OnCreated() MOJO_OVERRIDE {
|
| + virtual void OnCreated(uint32_t width, uint32_t height) MOJO_OVERRIDE {
|
| + host_->SetSize(gfx::Size(width, height));
|
| }
|
|
|
| virtual void OnDestroyed() MOJO_OVERRIDE {
|
|
|