| Index: components/test_runner/pixel_dump.cc
|
| diff --git a/components/test_runner/pixel_dump.cc b/components/test_runner/pixel_dump.cc
|
| index fc859d782c521dfe0b3f6e5ad5301692ce8874ad..12f0d7a1e756703ebbad11ff6f3d95642a6a6b66 100644
|
| --- a/components/test_runner/pixel_dump.cc
|
| +++ b/components/test_runner/pixel_dump.cc
|
| @@ -185,7 +185,9 @@ void CopyImageAtAndCapturePixels(
|
| uint64_t sequence_number =
|
| blink::Platform::current()->clipboard()->sequenceNumber(
|
| blink::WebClipboard::Buffer());
|
| - web_view->copyImageAt(blink::WebPoint(x, y));
|
| + // TODO(lukasza): Support image capture in OOPIFs for
|
| + // https://crbug.com/477150.
|
| + web_view->mainFrame()->copyImageAt(blink::WebPoint(x, y));
|
| if (sequence_number ==
|
| blink::Platform::current()->clipboard()->sequenceNumber(
|
| blink::WebClipboard::Buffer())) {
|
|
|