Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Unified Diff: Source/core/events/MessageEvent.cpp

Issue 567063003: bindings: Fixes custom versions of associateWithWrapper. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/events/MessageEvent.h ('k') | Source/core/html/ImageData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/MessageEvent.cpp
diff --git a/Source/core/events/MessageEvent.cpp b/Source/core/events/MessageEvent.cpp
index 370f20741ca57304a0e0868791085474d4faab84..fb8f83af900af3e03bde79fccc9c8d86fdd9c0d8 100644
--- a/Source/core/events/MessageEvent.cpp
+++ b/Source/core/events/MessageEvent.cpp
@@ -187,20 +187,10 @@ void MessageEvent::trace(Visitor* visitor)
Event::trace(visitor);
}
-v8::Handle<v8::Object> MessageEvent::wrap(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
-{
- v8::Handle<v8::Object> wrapper = Event::wrap(creationContext, isolate);
- return associateWithWrapperInternal(wrapper, isolate);
-}
-
v8::Handle<v8::Object> MessageEvent::associateWithWrapper(const WrapperTypeInfo* wrapperType, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate)
{
Event::associateWithWrapper(wrapperType, wrapper, isolate);
- return associateWithWrapperInternal(wrapper, isolate);
-}
-v8::Handle<v8::Object> MessageEvent::associateWithWrapperInternal(v8::Handle<v8::Object> wrapper, v8::Isolate* isolate)
-{
// Ensures a wrapper is created for the data to return now so that V8 knows how
// much memory is used via the wrapper. To keep the wrapper alive, it's set to
// the wrapper of the MessageEvent as a hidden value.
« no previous file with comments | « Source/core/events/MessageEvent.h ('k') | Source/core/html/ImageData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698