| Index: mojo/services/native_viewport/native_viewport_service.cc
|
| diff --git a/mojo/services/native_viewport/native_viewport_service.cc b/mojo/services/native_viewport/native_viewport_service.cc
|
| index 97bc9090f68ed07c53480a5b04af4b6c2681f60b..409a342717243c79bbf741c6b46f82350b59d5a6 100644
|
| --- a/mojo/services/native_viewport/native_viewport_service.cc
|
| +++ b/mojo/services/native_viewport/native_viewport_service.cc
|
| @@ -51,6 +51,10 @@ class NativeViewportService::NativeViewportImpl
|
| native_viewport_->Show();
|
| }
|
|
|
| + virtual void Hide() MOJO_OVERRIDE {
|
| + native_viewport_->Hide();
|
| + }
|
| +
|
| virtual void Close() MOJO_OVERRIDE {
|
| gles2_.reset();
|
| DCHECK(native_viewport_);
|
| @@ -147,7 +151,7 @@ class NativeViewportService::NativeViewportImpl
|
|
|
| virtual void OnBoundsChanged(const gfx::Rect& bounds) MOJO_OVERRIDE {
|
| CreateGLES2ContextIfNeeded();
|
| - AllocationScope allocation;
|
| + AllocationScope scope;
|
| client_->OnBoundsChanged(bounds);
|
| }
|
|
|
|
|