| Index: third_party/WebKit/LayoutTests/battery-status/restricted-level-precision.html | 
| diff --git a/third_party/WebKit/LayoutTests/battery-status/restricted-level-precision.html b/third_party/WebKit/LayoutTests/battery-status/restricted-level-precision.html | 
| index b2706a5d47da4bade21f01c6fe30219e330e3209..8561b46732184abcfa767798b0baefe0f13f12a4 100644 | 
| --- a/third_party/WebKit/LayoutTests/battery-status/restricted-level-precision.html | 
| +++ b/third_party/WebKit/LayoutTests/battery-status/restricted-level-precision.html | 
| @@ -7,6 +7,8 @@ description("Test to ensure level is reported with restricted precision."); | 
|  | 
| 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(); | 
| @@ -17,7 +19,7 @@ var levelFullPrecision = 0.556789; | 
| var levelRounded = 0.56; | 
|  | 
| function setAndFireMockBatteryInfo(charging, chargingTime, dischargingTime, level) { | 
| -    testRunner.didChangeBatteryStatus(charging, chargingTime, dischargingTime, level); | 
| +    window.internals.updateBatteryStatus(charging, chargingTime, dischargingTime, level); | 
| } | 
|  | 
| var battery; | 
| @@ -34,7 +36,7 @@ function batteryStatusFailure() { | 
| } | 
|  | 
| navigator.getBattery().then(batteryStatusSuccess, batteryStatusFailure); | 
| -setAndFireMockBatteryInfo(false, 10, 20, levelFullPrecision); | 
| +setAndFireMockBatteryInfo(false, 10, 20, levelFullPrecision); | 
| </script> | 
| </body> | 
| </html> | 
|  |