Index: chrome/test/chromedriver/window_commands.cc |
diff --git a/chrome/test/chromedriver/window_commands.cc b/chrome/test/chromedriver/window_commands.cc |
index 6fd252408a35e500d54cd2b5cf73df98ef1bc343..81a6fa1e4040e0ac400339da0d635b871a9a10c5 100644 |
--- a/chrome/test/chromedriver/window_commands.cc |
+++ b/chrome/test/chromedriver/window_commands.cc |
@@ -857,7 +857,8 @@ Status ExecuteScreenshot(Session* session, |
status = session->chrome->GetAsDesktop(&desktop); |
if (status.IsOk() && !session->force_devtools_screenshot) { |
AutomationExtension* extension = NULL; |
- status = desktop->GetAutomationExtension(&extension); |
+ status = desktop->GetAutomationExtension(&extension, |
+ session->w3c_compliant); |
if (status.IsError()) |
return status; |
status = extension->CaptureScreenshot(&screenshot); |