| Index: mojo/examples/sample_app/sample_app.cc
|
| diff --git a/mojo/examples/sample_app/sample_app.cc b/mojo/examples/sample_app/sample_app.cc
|
| index 810ea270e73b89e1620ed6ae2debd5cf91344e1e..aa3bdf245925de88282818bca3e9490657061668 100644
|
| --- a/mojo/examples/sample_app/sample_app.cc
|
| +++ b/mojo/examples/sample_app/sample_app.cc
|
| @@ -57,7 +57,8 @@ class SampleApp : public ShellClient {
|
|
|
| virtual ~NativeViewportClientImpl() {}
|
|
|
| - virtual void OnCreated() MOJO_OVERRIDE {
|
| + virtual void OnCreated(uint32_t width, uint32_t height) MOJO_OVERRIDE {
|
| + gles2_client_->SetSize(gfx::Size(width, height));
|
| }
|
|
|
| virtual void OnDestroyed() MOJO_OVERRIDE {
|
|
|