Index: chrome/browser/automation/testing_automation_provider.cc |
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc |
index f29dc9441531866b8bcde8f23c0b93887f4a729a..9d98e525d98d729553d161d72c41425a6e084782 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -97,7 +97,7 @@ |
#include "chrome/common/pref_names.h" |
#include "chrome/common/render_messages.h" |
#include "chrome/common/url_constants.h" |
-#include "content/browser/debugger/devtools_manager.h" |
+#include "content/browser/debugger/devtools_window.h" |
#include "content/browser/renderer_host/render_process_host.h" |
#include "content/browser/renderer_host/render_view_host.h" |
#include "content/browser/tab_contents/interstitial_page.h" |
@@ -1306,8 +1306,7 @@ void TestingAutomationProvider::HandleInspectElementRequest( |
DCHECK(!reply_message_); |
reply_message_ = reply_message; |
- DevToolsManager::GetInstance()->InspectElement( |
- tab_contents->render_view_host(), x, y); |
+ DevToolsWindow::InspectElement(tab_contents->render_view_host(), x, y); |
} else { |
AutomationMsg_InspectElement::WriteReplyParams(reply_message, -1); |
Send(reply_message); |