Index: third_party/WebKit/LayoutTests/battery-status/multiple-promises.html |
diff --git a/third_party/WebKit/LayoutTests/battery-status/multiple-promises.html b/third_party/WebKit/LayoutTests/battery-status/multiple-promises.html |
index 68e58003e39e8cb4d0bdb46da998cd138835bdd3..5b3c8500b67fa7f8ed5b6eee4116b2d99ce48135 100644 |
--- a/third_party/WebKit/LayoutTests/battery-status/multiple-promises.html |
+++ b/third_party/WebKit/LayoutTests/battery-status/multiple-promises.html |
@@ -7,8 +7,6 @@ |
if (!window.testRunner) |
debug('This test cannot be run without the TestRunner'); |
-if (!window.internals) |
- debug('This test cannot be run without the window.internals'); |
// Clean-up any unused battery manager objects from previous tests. |
gc(); |
@@ -23,7 +21,7 @@ |
chargingTime: chargingTime, |
dischargingTime: dischargingTime, |
level: level }; |
- window.internals.updateBatteryStatus(charging, chargingTime, dischargingTime, level); |
+ testRunner.didChangeBatteryStatus(charging, chargingTime, dischargingTime, level); |
} |
// compare obtained battery values with the mock values |