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 71c308026a3f61643752183c8334896cf8e5e6cb..d066d302faf1de6c62feb0727c65df1442c4fa14 100644 |
--- a/chrome/browser/extensions/platform_app_browsertest_util.cc |
+++ b/chrome/browser/extensions/platform_app_browsertest_util.cc |
@@ -116,7 +116,7 @@ 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(); |
} |