Index: chrome/common/extensions/docs/build/generator.html |
diff --git a/chrome/common/extensions/docs/build/generator.html b/chrome/common/extensions/docs/build/generator.html |
index d5f09bf5e88be11756b42654b0161020631a7c70..f7c4a8c45c53addcd02d338b086f9c8beb5f0c30 100644 |
--- a/chrome/common/extensions/docs/build/generator.html |
+++ b/chrome/common/extensions/docs/build/generator.html |
@@ -8,9 +8,9 @@ var currentPage; |
var result = {}; |
function init() { |
- if (window.layoutTestController) { |
- layoutTestController.dumpAsText(); |
- layoutTestController.waitUntilDone(); |
+ if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
} else { |
console.error("No layout test controller"); |
} |
@@ -47,8 +47,8 @@ function done() { |
"#BEGIN" + JSON.stringify(result) + "#END"); |
preNode.appendChild(textNode); |
document.getElementsByTagName("body")[0].appendChild(preNode); |
- if (window.layoutTestController) |
- layoutTestController.notifyDone(); |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
} |
} |
</script> |