Index: Source/bindings/core/v8/ModuleProxy.cpp |
diff --git a/Source/bindings/core/v8/ModuleProxy.cpp b/Source/bindings/core/v8/ModuleProxy.cpp |
index dd969a800ce9c096c6f09ecd4934c48ccfaf213c..cb74e1199610deaa053c2b7956621ba8e13ac62b 100644 |
--- a/Source/bindings/core/v8/ModuleProxy.cpp |
+++ b/Source/bindings/core/v8/ModuleProxy.cpp |
@@ -5,7 +5,7 @@ |
#include "config.h" |
#include "bindings/core/v8/ModuleProxy.h" |
-#include "bindings/core/v8/V8Binding.h" |
+#include "wtf/StdLibExtras.h" |
namespace blink { |
@@ -15,28 +15,6 @@ ModuleProxy& ModuleProxy::moduleProxy() |
return moduleProxy; |
} |
-v8::Handle<v8::Object> ModuleProxy::wrapForEvent(Event* event, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
-{ |
- RELEASE_ASSERT(m_wrapForEvent); |
- return (*m_wrapForEvent)(event, creationContext, isolate); |
-} |
- |
-void ModuleProxy::registerWrapForEvent(v8::Handle<v8::Object> (*wrapForEvent)(Event*, v8::Handle<v8::Object>, v8::Isolate*)) |
-{ |
- m_wrapForEvent = wrapForEvent; |
-} |
- |
-v8::Handle<v8::Value> ModuleProxy::toV8ForEventTarget(EventTarget* eventTarget, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
-{ |
- RELEASE_ASSERT(m_toV8ForEventTarget); |
- return (*m_toV8ForEventTarget)(eventTarget, creationContext, isolate); |
-} |
- |
-void ModuleProxy::registerToV8ForEventTarget(v8::Handle<v8::Value> (*toV8ForEventTarget)(EventTarget*, v8::Handle<v8::Object>, v8::Isolate*)) |
-{ |
- m_toV8ForEventTarget = toV8ForEventTarget; |
-} |
- |
void ModuleProxy::didLeaveScriptContextForRecursionScope(ExecutionContext& executionContext) |
{ |
RELEASE_ASSERT(m_didLeaveScriptContextForRecursionScope); |