Index: chrome/test/chromedriver/chrome/chrome_impl.cc |
diff --git a/chrome/test/chromedriver/chrome/chrome_impl.cc b/chrome/test/chromedriver/chrome/chrome_impl.cc |
index f0b87d653af8bf53d3b3f224e91f8bf8e1afbcee..7f796d2e653c0c415e2d472d9b6e088587028b00 100644 |
--- a/chrome/test/chromedriver/chrome/chrome_impl.cc |
+++ b/chrome/test/chromedriver/chrome/chrome_impl.cc |
@@ -83,7 +83,10 @@ Status ChromeImpl::GetWebViewIds(std::list<std::string>* web_view_ids) { |
// OnConnected will fire when DevToolsClient connects later. |
} |
web_views_.push_back(make_linked_ptr(new WebViewImpl( |
- view.id, devtools_http_client_->browser_info(), client.Pass()))); |
+ view.id, |
+ devtools_http_client_->browser_info(), |
+ client.Pass(), |
+ devtools_http_client_->device_metrics()))); |
} |
} |
@@ -125,6 +128,10 @@ Status ChromeImpl::ActivateWebView(const std::string& id) { |
return devtools_http_client_->ActivateWebView(id); |
} |
+bool ChromeImpl::IsMobileEmulationEnabled() const { |
+ return false; |
+} |
+ |
Status ChromeImpl::Quit() { |
Status status = QuitImpl(); |
if (status.IsOk()) |