Index: extensions/test/data/platform_app/background.js |
diff --git a/extensions/test/data/platform_app/background.js b/extensions/test/data/platform_app/background.js |
index f8f9e9f353527530ae2583820e5cc4aea67fb79e..dccb52cbc8aedb6b5b5a4231b923b5726a40aa21 100644 |
--- a/extensions/test/data/platform_app/background.js |
+++ b/extensions/test/data/platform_app/background.js |
@@ -2,12 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Stub for app_shell. |
-var createWindow = |
- chrome.shell ? chrome.shell.createWindow : chrome.app.window.create; |
- |
chrome.app.runtime.onLaunched.addListener(function() { |
- createWindow('hello.html', { |
+ chrome.app.window.create('hello.html', { |
'innerBounds': { |
'width': 400, |
'height': 300 |