| Index: chrome/browser/extensions/platform_app_browsertest_util.cc
|
| diff --git a/chrome/browser/extensions/platform_app_browsertest_util.cc b/chrome/browser/extensions/platform_app_browsertest_util.cc
|
| index c108028a80e35a77b9e63673b7ba5a989818c2db..0e0e7cb1b92ece99c1ed9c1fb6c702d2d4939ddd 100644
|
| --- a/chrome/browser/extensions/platform_app_browsertest_util.cc
|
| +++ b/chrome/browser/extensions/platform_app_browsertest_util.cc
|
| @@ -116,6 +116,6 @@ void PlatformAppBrowserTest::CloseShellWindow(ShellWindow* window) {
|
| content::WindowedNotificationObserver destroyed_observer(
|
| content::NOTIFICATION_WEB_CONTENTS_DESTROYED,
|
| content::NotificationService::AllSources());
|
| - window->Close();
|
| + window->GetBaseWindow()->Close();
|
| destroyed_observer.Wait();
|
| }
|
|
|