| Index: chrome/test/data/extensions/platform_apps/active_test/test.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/active_test/test.js b/chrome/test/data/extensions/platform_apps/active_test/test.js
|
| index b2671c5661710277fd376016d12238d57dfb76be..984c49748ec695674bacb9db61f2fde0d47daea7 100644
|
| --- a/chrome/test/data/extensions/platform_apps/active_test/test.js
|
| +++ b/chrome/test/data/extensions/platform_apps/active_test/test.js
|
| @@ -33,16 +33,9 @@ function processNextCommand() {
|
|
|
| chrome.app.window.create('empty.html', createOptions,
|
| function(createdWindow) {
|
| - handleWindowReady = function() {
|
| - createdWindow.onClosed.addListener(windowClosed);
|
| - windows.push(createdWindow);
|
| - processNextCommand();
|
| - }
|
| -
|
| - if (createOptions.hidden)
|
| - handleWindowReady();
|
| - else
|
| - createdWindow.handleWindowFirstShownForTests(handleWindowReady);
|
| + createdWindow.onClosed.addListener(windowClosed);
|
| + windows.push(createdWindow);
|
| + processNextCommand();
|
| });
|
| });
|
| }
|
|
|