Index: chrome/test/data/gpu/canvas_popup.html |
diff --git a/chrome/test/data/gpu/canvas_popup.html b/chrome/test/data/gpu/canvas_popup.html |
index 80e0db324edce222c005bc601881a337445ab8ec..3655b679df1dd56a4bfa370b88ed4ba7397800bf 100644 |
--- a/chrome/test/data/gpu/canvas_popup.html |
+++ b/chrome/test/data/gpu/canvas_popup.html |
@@ -18,13 +18,13 @@ function popup() { |
imageData.data[1] + ", " + |
imageData.data[2]; |
- window.domAutomationController.setAutomationId(1); |
if (imageData.data[0] == 255 && |
imageData.data[1] == 165 && |
- imageData.data[2] == 0) |
+ imageData.data[2] == 0) { |
window.domAutomationController.send("SUCCESS"); |
- else |
+ } else { |
window.domAutomationController.send("FAILED"); |
+ } |
} |
</script> |
</head> |