| Index: third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html
|
| diff --git a/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html b/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html
|
| index f5f692ce20589a1744e057d39713e62428878d4e..838c36cfc1754f8c53e5633973eca605d96e0c86 100644
|
| --- a/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html
|
| +++ b/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLCanvasElement.html
|
| @@ -46,7 +46,7 @@ var createTestForCanvasElement = function(createDetector,
|
| };
|
|
|
| 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");
|
|
|