Index: third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h |
index dd345df3a033686b8a8a49f20ed2d21f5974f2d0..5d0d8c2fcfeda3825f8a655e7a42ed4e2496a4bb 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h |
@@ -85,6 +85,11 @@ class CORE_EXPORT V8PerContextData final { |
: constructorForTypeSlowCase(type); |
} |
+ v8::Local<v8::Function> constructorForTypeFromCache( |
iclelland
2017/01/20 14:31:19
I'd document the return value, mostly for the case
chasej
2017/01/25 19:58:20
Done.
|
+ const WrapperTypeInfo* type) { |
+ return m_constructorMap.Get(type); |
+ } |
+ |
v8::Local<v8::Object> prototypeForType(const WrapperTypeInfo*); |
void addCustomElementBinding(std::unique_ptr<V0CustomElementBinding>); |