summaryrefslogtreecommitdiffstats
path: root/webkit/glue/npruntime_util.cc
diff options
context:
space:
mode:
authorjaphet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-29 21:59:17 +0000
committerjaphet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-29 21:59:17 +0000
commite9a61aca2a7fb1c0caa8ca95fcab4684e4c8dd52 (patch)
tree33759fb5f22e9d4525c181b31778fa06f60ad646 /webkit/glue/npruntime_util.cc
parent422ab69bd6c9e059378e52d941ba18a0f6002cbc (diff)
downloadchromium_src-e9a61aca2a7fb1c0caa8ca95fcab4684e4c8dd52.zip
chromium_src-e9a61aca2a7fb1c0caa8ca95fcab4684e4c8dd52.tar.gz
chromium_src-e9a61aca2a7fb1c0caa8ca95fcab4684e4c8dd52.tar.bz2
Delete V8Proxy and V8Utilities and use upstreamed versions.
Review URL: http://codereview.chromium.org/150056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/npruntime_util.cc')
-rw-r--r--webkit/glue/npruntime_util.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/npruntime_util.cc b/webkit/glue/npruntime_util.cc
index f1c23eb..687afb1 100644
--- a/webkit/glue/npruntime_util.cc
+++ b/webkit/glue/npruntime_util.cc
@@ -13,7 +13,7 @@
#include "MouseEvent.h"
#include "NPV8Object.h" // for PrivateIdentifier
#include "V8Helpers.h"
-#include "v8_proxy.h"
+#include "V8Proxy.h"
#elif USE(JAVASCRIPTCORE_BINDINGS)
#include "bridge/c/c_utility.h"
#endif
@@ -102,20 +102,20 @@ 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::ToNativeEvent(current_event);
+ WebCore::Event* event = V8Proxy::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::ToNativeEvent(object->v8Object);
+ WebCore::Event* given = V8Proxy::convertToNativeEvent(object->v8Object);
if (given != event)
return false;
// Check the execution frames are same origin.
V8Proxy* current = V8Proxy::retrieve(V8Proxy::retrieveFrame());
WebCore::Frame* frame = V8Proxy::retrieveFrame(context);
- if (!current || !current->CanAccessFrame(frame, false))
+ if (!current || !current->canAccessFrame(frame, false))
return false;
const WebCore::EventNames& event_names(WebCore::eventNames());