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

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

Issue 16708002: Simplify Custom Element constructors to be functions, not wrappers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 6 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/bindings/v8/V8AdaptorFunction.cpp ('k') | Source/bindings/v8/V8DOMWrapper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8DOMWrapper.h
diff --git a/Source/bindings/v8/V8DOMWrapper.h b/Source/bindings/v8/V8DOMWrapper.h
index ab473342011c4a3bcd0df12b7f1a26ec32ac4eed..9e274d79303fa4313db8b04aa72407c3658b4460 100644
--- a/Source/bindings/v8/V8DOMWrapper.h
+++ b/Source/bindings/v8/V8DOMWrapper.h
@@ -56,11 +56,6 @@ struct WrapperTypeInfo;
static bool isDOMWrapper(v8::Handle<v8::Value>);
static bool isWrapperOfType(v8::Handle<v8::Value>, WrapperTypeInfo*);
-
- // Used for V8WrapAsFunction, which is used only by CUSTOM_ELEMENTS
- static v8::Handle<v8::Function> toFunction(v8::Handle<v8::Value>);
- static v8::Handle<v8::Function> toFunction(v8::Handle<v8::Object>, const AtomicString& name, v8::Isolate*);
- static v8::Handle<v8::Object> fromFunction(v8::Handle<v8::Object>);
};
inline void V8DOMWrapper::setNativeInfo(v8::Handle<v8::Object> wrapper, WrapperTypeInfo* type, void* object)
« no previous file with comments | « Source/bindings/v8/V8AdaptorFunction.cpp ('k') | Source/bindings/v8/V8DOMWrapper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698