Index: third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement.html |
diff --git a/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement.html b/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement.html |
index 82dee8140a3e4ad80149e7ef6f4a2c9d2e4c8bc0..3c4110d9d847bbeb4482e155ac191d6c0c57a5a0 100644 |
--- a/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement.html |
+++ b/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement.html |
@@ -43,7 +43,7 @@ var createTestForVideoElement = function(createDetector, mockReady, |
}; |
function FaceDetectorDetectionResultTest(detectionResult, mock) { |
- const imageReceivedByMock = mock.getFrameData(); |
+ const imageReceivedByMock = mock.getFrameData(0); |
assert_equals(imageReceivedByMock.byteLength, 307200, |
"Image length"); |
const WHITE_PIXEL = 0xFFFFFFFF; |