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

Unified Diff: Source/bindings/v8/CustomElementWrapper.h

Issue 290333008: Oilpan: add [WillBeGarbageCollected] for Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + remove WebNode FIXME Created 6 years, 7 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
Index: Source/bindings/v8/CustomElementWrapper.h
diff --git a/Source/bindings/v8/CustomElementWrapper.h b/Source/bindings/v8/CustomElementWrapper.h
index c3cbbe8e58d65cf0395677490c8ba0f825c51be0..bf3ba6e8dce411cb25f7a9be6ea43e1f65465ad2 100644
--- a/Source/bindings/v8/CustomElementWrapper.h
+++ b/Source/bindings/v8/CustomElementWrapper.h
@@ -31,6 +31,7 @@
#ifndef CustomElementWrapper_h
#define CustomElementWrapper_h
+#include "platform/heap/Handle.h"
#include "wtf/PassRefPtr.h"
#include <v8.h>
@@ -47,7 +48,7 @@ private:
friend v8::Handle<v8::Object> createV8HTMLWrapper(HTMLElement*, v8::Handle<v8::Object>, v8::Isolate*);
friend v8::Handle<v8::Object> createV8SVGWrapper(SVGElement*, v8::Handle<v8::Object>, v8::Isolate*);
- static v8::Handle<v8::Object> wrap(PassRefPtr<ElementType>, v8::Handle<v8::Object> creationContext, v8::Isolate*, v8::Handle<v8::Object> (*createSpecificWrapper)(ElementType* element, v8::Handle<v8::Object> creationContext, v8::Isolate*));
+ static v8::Handle<v8::Object> wrap(PassRefPtrWillBeRawPtr<ElementType>, v8::Handle<v8::Object> creationContext, v8::Isolate*, v8::Handle<v8::Object> (*createSpecificWrapper)(ElementType* element, v8::Handle<v8::Object> creationContext, v8::Isolate*));
};
} // namespace WebCore
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.cpp ('k') | Source/bindings/v8/CustomElementWrapper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698