summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger
diff options
context:
space:
mode:
authorkasperl@google.com <kasperl@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-23 13:00:34 +0000
committerkasperl@google.com <kasperl@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-23 13:00:34 +0000
commitd72f2e5759215eb28c9092e3fe4a09a838f82b49 (patch)
treef5a5f67ee58bdf43e886a814f65b3fd05f1b7f20 /chrome/browser/debugger
parent8f2a3626345ac9c0d686d85e12aa5918bd5ad842 (diff)
downloadchromium_src-d72f2e5759215eb28c9092e3fe4a09a838f82b49.zip
chromium_src-d72f2e5759215eb28c9092e3fe4a09a838f82b49.tar.gz
chromium_src-d72f2e5759215eb28c9092e3fe4a09a838f82b49.tar.bz2
Update V8 in Chromium and fix compilation errors
resulting from API changes. NOTE: I'll probably submit this with a slightly later V8; I'm still waiting for the try-finally issue to be resolved. Review URL: http://codereview.chromium.org/7913 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger')
-rw-r--r--chrome/browser/debugger/debugger_shell.cc2
-rw-r--r--chrome/browser/debugger/debugger_shell.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/debugger_shell.cc b/chrome/browser/debugger/debugger_shell.cc
index eae5687..9858613 100644
--- a/chrome/browser/debugger/debugger_shell.cc
+++ b/chrome/browser/debugger/debugger_shell.cc
@@ -75,7 +75,7 @@ void DebuggerShell::Start() {
CompileAndRun(debugger_shell_js, "chrome.dll/debugger_shell.js");
}
-void DebuggerShell::HandleWeakReference(v8::Persistent<v8::Object> obj, void* data) {
+void DebuggerShell::HandleWeakReference(v8::Persistent<v8::Value> obj, void* data) {
DebuggerNodeWrapper* node = static_cast<DebuggerNodeWrapper*>(data);
node->Release();
}
diff --git a/chrome/browser/debugger/debugger_shell.h b/chrome/browser/debugger/debugger_shell.h
index ad59417..6068393 100644
--- a/chrome/browser/debugger/debugger_shell.h
+++ b/chrome/browser/debugger/debugger_shell.h
@@ -78,7 +78,7 @@ class DebuggerShell : public base::RefCountedThreadSafe<DebuggerShell> {
// For C++ objects which are tied to JS objects (e.g. DebuggerNode),
// we need to know when the underlying JS objects have been collected
// so that we can clean up the C++ object as well.
- static void HandleWeakReference(v8::Persistent<v8::Object> obj, void* data);
+ static void HandleWeakReference(v8::Persistent<v8::Value> obj, void* data);
// populates str with the ascii string value of result
static void ObjectToString(v8::Handle<v8::Value> result, std::string* str);