| Index: ui/views/examples/examples_window.cc
|
| diff --git a/ui/views/examples/examples_window.cc b/ui/views/examples/examples_window.cc
|
| index 5f869477c3e8beb5deaa04c7136ae4e6e62325ac..356a5315cd72da897e0fa4471b13fd514b391fb8 100644
|
| --- a/ui/views/examples/examples_window.cc
|
| +++ b/ui/views/examples/examples_window.cc
|
| @@ -219,9 +219,9 @@ class ExamplesWindowContents : public WidgetDelegateView,
|
| // static
|
| ExamplesWindowContents* ExamplesWindowContents::instance_ = NULL;
|
|
|
| -void ShowExamplesWindow(Operation operation,
|
| - gfx::NativeWindow window_context,
|
| - ExampleVector extra_examples) {
|
| +Widget* ShowExamplesWindow(Operation operation,
|
| + gfx::NativeWindow window_context,
|
| + ExampleVector extra_examples) {
|
| if (ExamplesWindowContents::instance()) {
|
| ExamplesWindowContents::instance()->GetWidget()->Activate();
|
| } else {
|
| @@ -234,6 +234,7 @@ void ShowExamplesWindow(Operation operation,
|
| widget->Init(params);
|
| widget->Show();
|
| }
|
| + return ExamplesWindowContents::instance()->GetWidget();
|
| }
|
|
|
| void LogStatus(const std::string& string) {
|
|
|