Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1520)

Unified Diff: components/test_runner/pixel_dump.cc

Issue 1836973003: Move download messages from Renderer to Frame filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: RenderViewHostTest Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..22aca110ea828963550a8371c25fb5d2e0f7f8ad 100644
--- a/components/test_runner/pixel_dump.cc
+++ b/components/test_runner/pixel_dump.cc
@@ -185,7 +185,7 @@ void CopyImageAtAndCapturePixels(
uint64_t sequence_number =
blink::Platform::current()->clipboard()->sequenceNumber(
blink::WebClipboard::Buffer());
- web_view->copyImageAt(blink::WebPoint(x, y));
+ web_view->mainFrame()->copyImageAt(blink::WebPoint(x, y));
Charlie Reis 2016/06/07 22:51:25 Let's add: // TODO(lukasza): Support image capture
if (sequence_number ==
blink::Platform::current()->clipboard()->sequenceNumber(
blink::WebClipboard::Buffer())) {

Powered by Google App Engine
This is Rietveld 408576698