| Index: chrome/browser/prerender/prerender_manager.cc
|
| diff --git a/chrome/browser/prerender/prerender_manager.cc b/chrome/browser/prerender/prerender_manager.cc
|
| index 8306bfbf1b712e386f6d3c5247222c4b5e6c51d2..323d20248f7bb7a27e54b42743942a3f2fc31add 100644
|
| --- a/chrome/browser/prerender/prerender_manager.cc
|
| +++ b/chrome/browser/prerender/prerender_manager.cc
|
| @@ -35,7 +35,6 @@
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/render_messages.h"
|
| #include "content/browser/cancelable_request.h"
|
| -#include "content/browser/debugger/render_view_devtools_agent_host.h"
|
| #include "content/browser/in_process_webkit/session_storage_namespace.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| #include "content/browser/renderer_host/resource_dispatcher_host.h"
|
| @@ -43,6 +42,7 @@
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| #include "content/browser/tab_contents/tab_contents_delegate.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/devtools_agent_host_registry.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/notification_source.h"
|
| @@ -595,7 +595,7 @@ bool PrerenderManager::MaybeUsePrerenderedPage(TabContents* tab_contents,
|
|
|
| // Don't use prerendered pages if debugger is attached to the tab.
|
| // See http://crbug.com/98541
|
| - if (RenderViewDevToolsAgentHost::IsDebuggerAttached(tab_contents)) {
|
| + if (content::DevToolsAgentHostRegistry::IsDebuggerAttached(tab_contents)) {
|
| prerender_contents.release()->Destroy(FINAL_STATUS_DEVTOOLS_ATTACHED);
|
| return false;
|
| }
|
|
|