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

Unified Diff: chrome/test/automation/tab_proxy.cc

Issue 8806030: Add commands to Chrome WebDriver for installing and manipulating extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years 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: 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)

Powered by Google App Engine
This is Rietveld 408576698