diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-27 19:29:37 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-27 19:29:37 +0000 |
commit | 9abc1b14a6042d4575d2817b275acb6c241ec543 (patch) | |
tree | 4edb1a070afa8c8a66057a78bfdd49c9f1f17374 /webkit/glue/webdevtoolsagent_impl.cc | |
parent | 51d5e16054c2e9c64e9357c171166f8bda6f5af5 (diff) | |
download | chromium_src-9abc1b14a6042d4575d2817b275acb6c241ec543.zip chromium_src-9abc1b14a6042d4575d2817b275acb6c241ec543.tar.gz chromium_src-9abc1b14a6042d4575d2817b275acb6c241ec543.tar.bz2 |
Roll to WebKit 46417. DevTools: Migrate from InspectorController to InspectorBackend.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webdevtoolsagent_impl.cc')
-rw-r--r-- | webkit/glue/webdevtoolsagent_impl.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc index d61f3b7..3cbfca2 100644 --- a/webkit/glue/webdevtoolsagent_impl.cc +++ b/webkit/glue/webdevtoolsagent_impl.cc @@ -317,15 +317,10 @@ void WebDevToolsAgentImpl::InitDevToolsAgentHost() { v8::HandleScope scope; v8::Context::Scope utility_scope(utility_context_); InspectorController* ic = web_view_impl_->page()->inspectorController(); - // There is a breaking change pending upstream. INSPECTORCONTROLLER was - // replaced with INSPECTORBACKEND. Following code should be replaced with: - // utility_context_->Global()->Set( - // v8::String::New("InspectorController"), - // V8DOMWrapper::convertToV8Object(V8ClassIndex::INSPECTORBACKEND, - // ic->inspectorBackend())); utility_context_->Global()->Set( v8::String::New("InspectorController"), - V8DOMWrapper::convertToV8Object(V8ClassIndex::INSPECTORCONTROLLER, ic)); + V8DOMWrapper::convertToV8Object(V8ClassIndex::INSPECTORBACKEND, + ic->inspectorBackend())); } // static |