| Index: ui/platform_window/stub/stub_window.cc
|
| diff --git a/ui/platform_window/stub/stub_window.cc b/ui/platform_window/stub/stub_window.cc
|
| index a46f89d656dfe7a41f49fe855782c92ee0ea5b8f..78a7fde6663b4abb074621bccadabb2e63ee3f9f 100644
|
| --- a/ui/platform_window/stub/stub_window.cc
|
| +++ b/ui/platform_window/stub/stub_window.cc
|
| @@ -8,6 +8,13 @@
|
|
|
| namespace ui {
|
|
|
| +// static
|
| +scoped_ptr<PlatformWindow> PlatformWindow::Create(
|
| + PlatformWindowDelegate* delegate,
|
| + const gfx::Rect& bounds) {
|
| + return new StubWindow(delegate);
|
| +}
|
| +
|
| StubWindow::StubWindow(PlatformWindowDelegate* delegate) : delegate_(delegate) {
|
| delegate_->OnAcceleratedWidgetAvailable(gfx::kNullAcceleratedWidget, 1.f);
|
| }
|
|
|