| Index: mojo/services/native_viewport/native_viewport_x11.cc
|
| diff --git a/mojo/services/native_viewport/native_viewport_x11.cc b/mojo/services/native_viewport/native_viewport_x11.cc
|
| index 7b7e808b9406e698e222a25b9b8b3c23fc5048e6..9c72876c7eca4e4c46b0738a9aca7aab12e83eef 100644
|
| --- a/mojo/services/native_viewport/native_viewport_x11.cc
|
| +++ b/mojo/services/native_viewport/native_viewport_x11.cc
|
| @@ -59,6 +59,10 @@ class NativeViewportX11 : public NativeViewport,
|
| XFlush(display);
|
| }
|
|
|
| + virtual void Hide() OVERRIDE {
|
| + XWithdrawWindow(gfx::GetXDisplay(), window_, 0);
|
| + }
|
| +
|
| virtual void Close() OVERRIDE {
|
| // TODO(beng): perform this in response to XWindow destruction.
|
| delegate_->OnDestroyed();
|
|
|