summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 17:15:02 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 17:15:02 +0000
commit4c05473207a61a7f776062c5fec0900f821e8e45 (patch)
tree10e3fa717a2517f5a59f14578e10892a6ab969dc
parent208aacf4f94ff25d961a770b55fa76aa47eb1644 (diff)
downloadchromium_src-4c05473207a61a7f776062c5fec0900f821e8e45.zip
chromium_src-4c05473207a61a7f776062c5fec0900f821e8e45.tar.gz
chromium_src-4c05473207a61a7f776062c5fec0900f821e8e45.tar.bz2
Roll to WebKit 46490. DevTools: Migrate to the new ScriptObject API.
BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21853 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--DEPS2
-rw-r--r--webkit/glue/webdevtoolsagent_impl.cc7
2 files changed, 6 insertions, 3 deletions
diff --git a/DEPS b/DEPS
index c5f849b..1df6d6c 100644
--- a/DEPS
+++ b/DEPS
@@ -1,7 +1,7 @@
vars = {
"webkit_trunk":
"http://svn.webkit.org/repository/webkit/trunk",
- "webkit_revision": "46489",
+ "webkit_revision": "46490",
}
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc
index 3cbfca2..b6ca3ca 100644
--- a/webkit/glue/webdevtoolsagent_impl.cc
+++ b/webkit/glue/webdevtoolsagent_impl.cc
@@ -41,6 +41,8 @@ using WebCore::InspectorFrontend;
using WebCore::InspectorResource;
using WebCore::Node;
using WebCore::Page;
+using WebCore::ScriptObject;
+using WebCore::ScriptState;
using WebCore::ScriptValue;
using WebCore::String;
using WebCore::V8ClassIndex;
@@ -103,9 +105,10 @@ void WebDevToolsAgentImpl::Attach() {
tools_agent_delegate_stub_->SetResourcesPanelEnabled(
ic->resourceTrackingEnabled());
v8::HandleScope scope;
+ ScriptState* state = scriptStateFromPage(web_view_impl_->page());
ic->setFrontendProxyObject(
- scriptStateFromPage(web_view_impl_->page()),
- utility_context_->Global());
+ state,
+ ScriptObject(state, utility_context_->Global()));
// Allow controller to send messages to the frontend.
ic->setWindowVisible(true, false);
}