Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: chrome/test/data/gpu/webgl_teapot/teapot_files/demo.js

Issue 8523022: Change snasphotting API to take in a bounds Rect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/chrome_browser.gypi ('K') | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/gpu/webgl_teapot/teapot_files/demo.js
diff --git a/chrome/test/data/gpu/webgl_teapot/teapot_files/demo.js b/chrome/test/data/gpu/webgl_teapot/teapot_files/demo.js
index fd45ee9c4d7508ae7a91099dc4a3407e6e292d54..7a982e76cee13e655e4a7548804ab55b0a4b662f 100644
--- a/chrome/test/data/gpu/webgl_teapot/teapot_files/demo.js
+++ b/chrome/test/data/gpu/webgl_teapot/teapot_files/demo.js
@@ -386,7 +386,12 @@ function loadCubeMap(base, suffix) {
function waitForFinish() {
if (g_pendingTextureLoads == 0) {
- domAutomationController.setAutomationId(1);
- domAutomationController.send("ok");
+ var epilogue = document.createElement("script");
+ epilogue.onload = function() {
+ domAutomationController.setAutomationId(1);
+ domAutomationController.send("ok");
+ }
+ epilogue.src = "./teapot_files/epilogue.js";
jonathan.backer 2011/11/11 14:41:20 Are we missing this in chrome/test/data/gpu/webgl_
+ document.body.appendChild(epilogue);
}
}
« chrome/chrome_browser.gypi ('K') | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698