Index: third_party/WebKit/LayoutTests/shapedetection/detection-ImageBitmap.html |
diff --git a/third_party/WebKit/LayoutTests/shapedetection/detection-ImageBitmap.html b/third_party/WebKit/LayoutTests/shapedetection/detection-ImageBitmap.html |
index 6a568616c8b7488a06bf6c570a62b02def132d63..669f487fa6a3dce4d2bdbd5d53b78e0c1edb8d56 100644 |
--- a/third_party/WebKit/LayoutTests/shapedetection/detection-ImageBitmap.html |
+++ b/third_party/WebKit/LayoutTests/shapedetection/detection-ImageBitmap.html |
@@ -48,7 +48,7 @@ var createTestForImageBitmap = 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"); |