| Index: chrome/test/automation/tab_proxy.cc
|
| diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc
|
| index 3babb9c3dbd6a106db9cae4051f0eaa585d60644..b24c23c98e0c9023a688db5dac3521f33387aef6 100644
|
| --- a/chrome/test/automation/tab_proxy.cc
|
| +++ b/chrome/test/automation/tab_proxy.cc
|
| @@ -729,8 +729,9 @@ bool TabProxy::CaptureEntirePageAsPNG(const FilePath& path) {
|
| return false;
|
| }
|
|
|
| - return SendCaptureEntirePageJSONRequest(sender_, browser_index,
|
| - tab_index, path, &error_msg);
|
| + return SendCaptureEntirePageJSONRequest(
|
| + sender_, WebViewLocator::ForIndexPair(browser_index, tab_index),
|
| + path, &error_msg);
|
| }
|
|
|
| #if defined(OS_WIN) && !defined(USE_AURA)
|
|
|