Index: chrome/test/chromedriver/commands.cc |
diff --git a/chrome/test/chromedriver/commands.cc b/chrome/test/chromedriver/commands.cc |
index 8a4061b347d019f5467fece45fdbecae22abc112..eaf3b8e229c684d236187e8a60ba993198c12693 100644 |
--- a/chrome/test/chromedriver/commands.cc |
+++ b/chrome/test/chromedriver/commands.cc |
@@ -253,7 +253,8 @@ void ExecuteSessionCommandOnSessionThread( |
// Some commands, like clicking a button or link which closes the |
// window, may result in a kDisconnected error code. |
std::list<std::string> web_view_ids; |
- Status status_tmp = session->chrome->GetWebViewIds(&web_view_ids); |
+ Status status_tmp = session->chrome->GetWebViewIds( |
+ &web_view_ids, session->w3c_compliant); |
if (status_tmp.IsError() && status_tmp.code() != kChromeNotReachable) { |
status.AddDetails( |
"failed to check if window was closed: " + status_tmp.message()); |