summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 01:15:54 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 01:15:54 +0000
commitd827e31ac945501e970f8ce1c974a5654d8f53c2 (patch)
tree001a85176f64655e2d8402b3b032e2d133cb7227 /webkit
parentef332b7e7cc4f2b4f25c2f2937d6e67ff165987f (diff)
downloadchromium_src-d827e31ac945501e970f8ce1c974a5654d8f53c2.zip
chromium_src-d827e31ac945501e970f8ce1c974a5654d8f53c2.tar.gz
chromium_src-d827e31ac945501e970f8ce1c974a5654d8f53c2.tar.bz2
Fix build bustage
TBR=jorlow, abarth Review URL: http://codereview.chromium.org/149376 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/port/bindings/v8/NPV8Object.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/port/bindings/v8/NPV8Object.cpp b/webkit/port/bindings/v8/NPV8Object.cpp
index 5238ceb..1e147a9 100644
--- a/webkit/port/bindings/v8/NPV8Object.cpp
+++ b/webkit/port/bindings/v8/NPV8Object.cpp
@@ -39,6 +39,7 @@
#include "PlatformString.h"
#include "ScriptController.h"
#include "V8CustomBinding.h"
+#include "V8GCController.h"
#include "V8Helpers.h"
#include "V8NPUtils.h"
#include "V8Proxy.h"
@@ -60,7 +61,7 @@ static void FreeV8NPObject(NPObject* npobj)
{
V8NPObject *object = reinterpret_cast<V8NPObject*>(npobj);
#ifndef NDEBUG
- V8Proxy::unregisterGlobalHandle(object, object->v8Object);
+ V8GCController::unregisterGlobalHandle(object, object->v8Object);
#endif
object->v8Object.Dispose();
free(object);
@@ -113,7 +114,7 @@ NPObject* npCreateV8ScriptObject(NPP npp, v8::Handle<v8::Object> object, WebCore
V8NPObject* obj = reinterpret_cast<V8NPObject*>(NPN_CreateObject(npp, &V8NPObjectClass));
obj->v8Object = v8::Persistent<v8::Object>::New(object);
#ifndef NDEBUG
- V8Proxy::registerGlobalHandle(WebCore::NPOBJECT, obj, obj->v8Object);
+ V8GCController::registerGlobalHandle(WebCore::NPOBJECT, obj, obj->v8Object);
#endif
obj->rootObject = root;
return reinterpret_cast<NPObject*>(obj);