| Index: chrome/test/chromedriver/element_commands.cc
|
| diff --git a/chrome/test/chromedriver/element_commands.cc b/chrome/test/chromedriver/element_commands.cc
|
| index 3eb07a2b8979e0f6ce6fc2b7b1289ee5741ba1fc..0dcf7b3f114068acd81fad326c6c21de204565ab 100644
|
| --- a/chrome/test/chromedriver/element_commands.cc
|
| +++ b/chrome/test/chromedriver/element_commands.cc
|
| @@ -443,9 +443,10 @@ Status ExecuteGetElementLocationOnceScrolledIntoView(
|
| const std::string& element_id,
|
| const base::DictionaryValue& params,
|
| scoped_ptr<base::Value>* value) {
|
| + WebPoint offset(0, 0);
|
| WebPoint location;
|
| Status status = ScrollElementIntoView(
|
| - session, web_view, element_id, nullptr, &location);
|
| + session, web_view, element_id, &offset, &location);
|
| if (status.IsError())
|
| return status;
|
| value->reset(CreateValueFrom(location));
|
|
|