summaryrefslogtreecommitdiffstats
path: root/webkit/glue/npruntime_util.cc
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 08:07:55 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 08:07:55 +0000
commit059b52b73634798b54b27e215a134b53b5f04313 (patch)
tree349af5e298e253cce10e72effcb6a530e20ac7e0 /webkit/glue/npruntime_util.cc
parentddb4e216cc5f84386d64b1f2be11c75f03a01c29 (diff)
downloadchromium_src-059b52b73634798b54b27e215a134b53b5f04313.zip
chromium_src-059b52b73634798b54b27e215a134b53b5f04313.tar.gz
chromium_src-059b52b73634798b54b27e215a134b53b5f04313.tar.bz2
Roll WebKit DEPS
TBR=dglazkov Review URL: http://codereview.chromium.org/155278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/npruntime_util.cc')
-rw-r--r--webkit/glue/npruntime_util.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/glue/npruntime_util.cc b/webkit/glue/npruntime_util.cc
index 687afb1..681f621 100644
--- a/webkit/glue/npruntime_util.cc
+++ b/webkit/glue/npruntime_util.cc
@@ -88,6 +88,7 @@ inline v8::Local<v8::Value> GetEvent(const v8::Handle<v8::Context>& context) {
}
static bool DragEventData(NPObject* npobj, int* event_id, WebDragData* data) {
+ using WebCore::V8DOMWrapper;
using WebCore::V8Proxy;
if (npobj == NULL)
@@ -102,13 +103,13 @@ static bool DragEventData(NPObject* npobj, int* event_id, WebDragData* data) {
// Get the current WebCore event.
v8::Handle<v8::Value> current_event(GetEvent(context));
- WebCore::Event* event = V8Proxy::convertToNativeEvent(current_event);
+ WebCore::Event* event = V8DOMWrapper::convertToNativeEvent(current_event);
if (event == NULL)
return false;
// Check that the given npobj is that event.
V8NPObject* object = reinterpret_cast<V8NPObject*>(npobj);
- WebCore::Event* given = V8Proxy::convertToNativeEvent(object->v8Object);
+ WebCore::Event* given = V8DOMWrapper::convertToNativeEvent(object->v8Object);
if (given != event)
return false;