Index: third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html |
diff --git a/third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html b/third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html |
index 57a563073b438133689e14fbd9eed192bdf58b18..5df417bc0aa45281cf058557fd78381121fdcb5e 100644 |
--- a/third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html |
+++ b/third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html |
@@ -45,7 +45,7 @@ var createTestForImageData = function(createDetector, mockReady, |
}; |
function FaceDetectorDetectionResultTest(detectionResult, mock) { |
- const imageReceivedByMock = mock.getFrameData(); |
+ const imageReceivedByMock = mock.getFrameData(0); |
assert_equals(imageReceivedByMock.byteLength, 180000,"Image length"); |
const GREEN_PIXEL = 0xFF00FF00; |
assert_equals(imageReceivedByMock[0], GREEN_PIXEL, "Pixel color"); |