Index: third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html |
diff --git a/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html b/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html |
index 25636bb392b10611eaf5348482e858c5d9611fca..db9b78a5d6d8afa49a7aa6327ece83f8883abf72 100644 |
--- a/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html |
+++ b/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html |
@@ -40,7 +40,7 @@ var createTestForImageElement = function(createDetector, mockReady, |
}; |
function FaceDetectorDetectionResultTest(detectionResult, mock) { |
- const imageReceivedByMock = mock.getFrameData(); |
+ const imageReceivedByMock = mock.getFrameData(0); |
assert_equals(imageReceivedByMock.byteLength, 2500, "Image length"); |
const GREEN_PIXEL = 0xFF00FF00; |
assert_equals(imageReceivedByMock[0], GREEN_PIXEL, "Pixel color"); |