Changeset 142061 in webkit


Ignore:
Timestamp:
Feb 6, 2013 6:43:55 PM (11 years ago)
Author:
haraken@chromium.org
Message:

[V8] Make an Isolate parameter mandatory in GetTemplate() and GetRawTemplate()
https://bugs.webkit.org/show_bug.cgi?id=109026

Reviewed by Adam Barth.

Now it's time to kill an optional Isolate parameter.

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateHeader):
(GenerateNamedConstructorCallback):
(GenerateImplementation):

  • bindings/scripts/test/V8/V8Float64Array.cpp:

(WebCore::V8Float64Array::GetRawTemplate):
(WebCore::V8Float64Array::GetTemplate):

  • bindings/scripts/test/V8/V8Float64Array.h:

(V8Float64Array):
(WebCore::V8Float64Array::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:

(WebCore::V8TestActiveDOMObject::GetRawTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):

  • bindings/scripts/test/V8/V8TestActiveDOMObject.h:

(V8TestActiveDOMObject):
(WebCore::V8TestActiveDOMObject::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:

(WebCore::V8TestCustomNamedGetter::GetRawTemplate):
(WebCore::V8TestCustomNamedGetter::GetTemplate):

  • bindings/scripts/test/V8/V8TestCustomNamedGetter.h:

(V8TestCustomNamedGetter):
(WebCore::V8TestCustomNamedGetter::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestEventConstructor.cpp:

(WebCore::V8TestEventConstructor::GetRawTemplate):
(WebCore::V8TestEventConstructor::GetTemplate):

  • bindings/scripts/test/V8/V8TestEventConstructor.h:

(V8TestEventConstructor):
(WebCore::V8TestEventConstructor::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestEventTarget.cpp:

(WebCore::V8TestEventTarget::GetRawTemplate):
(WebCore::V8TestEventTarget::GetTemplate):

  • bindings/scripts/test/V8/V8TestEventTarget.h:

(V8TestEventTarget):
(WebCore::V8TestEventTarget::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestException.cpp:

(WebCore::V8TestException::GetRawTemplate):
(WebCore::V8TestException::GetTemplate):

  • bindings/scripts/test/V8/V8TestException.h:

(V8TestException):
(WebCore::V8TestException::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestInterface.cpp:

(WebCore::V8TestInterface::GetRawTemplate):
(WebCore::V8TestInterface::GetTemplate):

  • bindings/scripts/test/V8/V8TestInterface.h:

(V8TestInterface):
(WebCore::V8TestInterface::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:

(WebCore::V8TestMediaQueryListListener::GetRawTemplate):
(WebCore::V8TestMediaQueryListListener::GetTemplate):

  • bindings/scripts/test/V8/V8TestMediaQueryListListener.h:

(V8TestMediaQueryListListener):
(WebCore::V8TestMediaQueryListListener::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestNamedConstructor.cpp:

(WebCore::V8TestNamedConstructorConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::GetRawTemplate):
(WebCore::V8TestNamedConstructor::GetTemplate):

  • bindings/scripts/test/V8/V8TestNamedConstructor.h:

(V8TestNamedConstructor):
(WebCore::V8TestNamedConstructor::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestNode.cpp:

(WebCore::V8TestNode::GetRawTemplate):
(WebCore::V8TestNode::GetTemplate):

  • bindings/scripts/test/V8/V8TestNode.h:

(V8TestNode):
(WebCore::V8TestNode::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestObj.cpp:

(WebCore::V8TestObj::GetRawTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestObj.h:

(V8TestObj):

  • bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:

(WebCore::V8TestOverloadedConstructors::GetRawTemplate):
(WebCore::V8TestOverloadedConstructors::GetTemplate):

  • bindings/scripts/test/V8/V8TestOverloadedConstructors.h:

(V8TestOverloadedConstructors):
(WebCore::V8TestOverloadedConstructors::installPerContextPrototypeProperties):

  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:

(WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):

  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:

(V8TestSerializedScriptValueInterface):
(WebCore::V8TestSerializedScriptValueInterface::installPerContextPrototypeProperties):

  • bindings/v8/V8PerContextData.cpp:

(WebCore::V8PerContextData::constructorForTypeSlowCase):

  • bindings/v8/WrapperTypeInfo.h:

(WebCore):
(WebCore::WrapperTypeInfo::installPerContextPrototypeProperties):

Location:
trunk/Source/WebCore
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r142057 r142061  
     12013-02-06  Kentaro Hara  <haraken@chromium.org>
     2
     3        [V8] Make an Isolate parameter mandatory in GetTemplate() and GetRawTemplate()
     4        https://bugs.webkit.org/show_bug.cgi?id=109026
     5
     6        Reviewed by Adam Barth.
     7
     8        Now it's time to kill an optional Isolate parameter.
     9
     10        No tests. No change in behavior.
     11
     12        * bindings/scripts/CodeGeneratorV8.pm:
     13        (GenerateHeader):
     14        (GenerateNamedConstructorCallback):
     15        (GenerateImplementation):
     16        * bindings/scripts/test/V8/V8Float64Array.cpp:
     17        (WebCore::V8Float64Array::GetRawTemplate):
     18        (WebCore::V8Float64Array::GetTemplate):
     19        * bindings/scripts/test/V8/V8Float64Array.h:
     20        (V8Float64Array):
     21        (WebCore::V8Float64Array::installPerContextPrototypeProperties):
     22        * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
     23        (WebCore::V8TestActiveDOMObject::GetRawTemplate):
     24        (WebCore::V8TestActiveDOMObject::GetTemplate):
     25        * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
     26        (V8TestActiveDOMObject):
     27        (WebCore::V8TestActiveDOMObject::installPerContextPrototypeProperties):
     28        * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
     29        (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
     30        (WebCore::V8TestCustomNamedGetter::GetTemplate):
     31        * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
     32        (V8TestCustomNamedGetter):
     33        (WebCore::V8TestCustomNamedGetter::installPerContextPrototypeProperties):
     34        * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
     35        (WebCore::V8TestEventConstructor::GetRawTemplate):
     36        (WebCore::V8TestEventConstructor::GetTemplate):
     37        * bindings/scripts/test/V8/V8TestEventConstructor.h:
     38        (V8TestEventConstructor):
     39        (WebCore::V8TestEventConstructor::installPerContextPrototypeProperties):
     40        * bindings/scripts/test/V8/V8TestEventTarget.cpp:
     41        (WebCore::V8TestEventTarget::GetRawTemplate):
     42        (WebCore::V8TestEventTarget::GetTemplate):
     43        * bindings/scripts/test/V8/V8TestEventTarget.h:
     44        (V8TestEventTarget):
     45        (WebCore::V8TestEventTarget::installPerContextPrototypeProperties):
     46        * bindings/scripts/test/V8/V8TestException.cpp:
     47        (WebCore::V8TestException::GetRawTemplate):
     48        (WebCore::V8TestException::GetTemplate):
     49        * bindings/scripts/test/V8/V8TestException.h:
     50        (V8TestException):
     51        (WebCore::V8TestException::installPerContextPrototypeProperties):
     52        * bindings/scripts/test/V8/V8TestInterface.cpp:
     53        (WebCore::V8TestInterface::GetRawTemplate):
     54        (WebCore::V8TestInterface::GetTemplate):
     55        * bindings/scripts/test/V8/V8TestInterface.h:
     56        (V8TestInterface):
     57        (WebCore::V8TestInterface::installPerContextPrototypeProperties):
     58        * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
     59        (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
     60        (WebCore::V8TestMediaQueryListListener::GetTemplate):
     61        * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
     62        (V8TestMediaQueryListListener):
     63        (WebCore::V8TestMediaQueryListListener::installPerContextPrototypeProperties):
     64        * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
     65        (WebCore::V8TestNamedConstructorConstructor::GetTemplate):
     66        (WebCore::V8TestNamedConstructor::GetRawTemplate):
     67        (WebCore::V8TestNamedConstructor::GetTemplate):
     68        * bindings/scripts/test/V8/V8TestNamedConstructor.h:
     69        (V8TestNamedConstructor):
     70        (WebCore::V8TestNamedConstructor::installPerContextPrototypeProperties):
     71        * bindings/scripts/test/V8/V8TestNode.cpp:
     72        (WebCore::V8TestNode::GetRawTemplate):
     73        (WebCore::V8TestNode::GetTemplate):
     74        * bindings/scripts/test/V8/V8TestNode.h:
     75        (V8TestNode):
     76        (WebCore::V8TestNode::installPerContextPrototypeProperties):
     77        * bindings/scripts/test/V8/V8TestObj.cpp:
     78        (WebCore::V8TestObj::GetRawTemplate):
     79        (WebCore::V8TestObj::GetTemplate):
     80        (WebCore::V8TestObj::installPerContextPrototypeProperties):
     81        * bindings/scripts/test/V8/V8TestObj.h:
     82        (V8TestObj):
     83        * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
     84        (WebCore::V8TestOverloadedConstructors::GetRawTemplate):
     85        (WebCore::V8TestOverloadedConstructors::GetTemplate):
     86        * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
     87        (V8TestOverloadedConstructors):
     88        (WebCore::V8TestOverloadedConstructors::installPerContextPrototypeProperties):
     89        * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
     90        (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
     91        (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
     92        * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
     93        (V8TestSerializedScriptValueInterface):
     94        (WebCore::V8TestSerializedScriptValueInterface::installPerContextPrototypeProperties):
     95        * bindings/v8/V8PerContextData.cpp:
     96        (WebCore::V8PerContextData::constructorForTypeSlowCase):
     97        * bindings/v8/WrapperTypeInfo.h:
     98        (WebCore):
     99        (WebCore::WrapperTypeInfo::installPerContextPrototypeProperties):
     100
    11012013-02-06  Terry Anderson  <tdanderson@chromium.org>
    2102
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm

    r141977 r142061  
    355355    push(@headerContent, <<END);
    356356    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    357     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    358     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     357    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     358    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    359359    static ${nativeType}* toNative(v8::Handle<v8::Object> object)
    360360    {
     
    465465    if (@enabledPerContextFunctions) {
    466466        push(@headerContent, <<END);
    467     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>);
     467    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*);
    468468END
    469469    } else {
    470470        push(@headerContent, <<END);
    471     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     471    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    472472END
    473473    }
     
    21962196v8::Persistent<v8::FunctionTemplate> ${v8InterfaceName}Constructor::GetTemplate(v8::Isolate* isolate)
    21972197{
    2198     if (!isolate)
    2199         isolate = v8::Isolate::GetCurrent();
    22002198    static v8::Persistent<v8::FunctionTemplate> cachedTemplate;
    22012199    if (!cachedTemplate.IsEmpty())
     
    31013099v8::Persistent<v8::FunctionTemplate> ${v8InterfaceName}::GetRawTemplate(v8::Isolate* isolate)
    31023100{
    3103     if (!isolate)
    3104         isolate = v8::Isolate::GetCurrent();
    31053101    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    31063102    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    31163112v8::Persistent<v8::FunctionTemplate> ${v8InterfaceName}::GetTemplate(v8::Isolate* isolate)
    31173113{
    3118     if (!isolate)
    3119         isolate = v8::Isolate::GetCurrent();
    31203114    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    31213115    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
     
    31683162    if (@enabledPerContextFunctions) {
    31693163        push(@implContent, <<END);
    3170 void ${v8InterfaceName}::installPerContextPrototypeProperties(v8::Handle<v8::Object> proto)
     3164void ${v8InterfaceName}::installPerContextPrototypeProperties(v8::Handle<v8::Object> proto, v8::Isolate* isolate)
    31713165{
    31723166    UNUSED_PARAM(proto);
     
    31743168        # Setup the enable-by-settings functions if we have them
    31753169        push(@implContent,  <<END);
    3176     v8::Local<v8::Signature> defaultSignature = v8::Signature::New(GetTemplate());
     3170    v8::Local<v8::Signature> defaultSignature = v8::Signature::New(GetTemplate(isolate));
    31773171    UNUSED_PARAM(defaultSignature); // In some cases, it will not be used.
    31783172
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.cpp

    r141977 r142061  
    135135v8::Persistent<v8::FunctionTemplate> V8Float64Array::GetRawTemplate(v8::Isolate* isolate)
    136136{
    137     if (!isolate)
    138         isolate = v8::Isolate::GetCurrent();
    139137    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    140138    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    150148v8::Persistent<v8::FunctionTemplate> V8Float64Array::GetTemplate(v8::Isolate* isolate)
    151149{
    152     if (!isolate)
    153         isolate = v8::Isolate::GetCurrent();
    154150    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    155151    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8Float64Array.h

    r141945 r142061  
    3737    static const bool hasDependentLifetime = V8ArrayBufferView::hasDependentLifetime;
    3838    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    39     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    40     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     39    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     40    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4141    static Float64Array* toNative(v8::Handle<v8::Object> object)
    4242    {
     
    4848    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    4949    static void installPerContextProperties(v8::Handle<v8::Object>, Float64Array*, v8::Isolate*) { }
    50     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     50    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5151private:
    5252    friend v8::Handle<v8::Object> wrap(Float64Array*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.cpp

    r141977 r142061  
    163163v8::Persistent<v8::FunctionTemplate> V8TestActiveDOMObject::GetRawTemplate(v8::Isolate* isolate)
    164164{
    165     if (!isolate)
    166         isolate = v8::Isolate::GetCurrent();
    167165    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    168166    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    178176v8::Persistent<v8::FunctionTemplate> V8TestActiveDOMObject::GetTemplate(v8::Isolate* isolate)
    179177{
    180     if (!isolate)
    181         isolate = v8::Isolate::GetCurrent();
    182178    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    183179    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestActiveDOMObject.h

    r141945 r142061  
    3636    static const bool hasDependentLifetime = false;
    3737    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    38     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    39     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     38    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     39    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4040    static TestActiveDOMObject* toNative(v8::Handle<v8::Object> object)
    4141    {
     
    4848    static bool indexedSecurityCheck(v8::Local<v8::Object> host, uint32_t index, v8::AccessType, v8::Local<v8::Value> data);
    4949    static void installPerContextProperties(v8::Handle<v8::Object>, TestActiveDOMObject*, v8::Isolate*) { }
    50     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     50    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5151private:
    5252    friend v8::Handle<v8::Object> wrap(TestActiveDOMObject*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp

    r141977 r142061  
    101101v8::Persistent<v8::FunctionTemplate> V8TestCustomNamedGetter::GetRawTemplate(v8::Isolate* isolate)
    102102{
    103     if (!isolate)
    104         isolate = v8::Isolate::GetCurrent();
    105103    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    106104    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    116114v8::Persistent<v8::FunctionTemplate> V8TestCustomNamedGetter::GetTemplate(v8::Isolate* isolate)
    117115{
    118     if (!isolate)
    119         isolate = v8::Isolate::GetCurrent();
    120116    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    121117    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestCustomNamedGetter.h

    r141945 r142061  
    3636    static const bool hasDependentLifetime = false;
    3737    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    38     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    39     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     38    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     39    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4040    static TestCustomNamedGetter* toNative(v8::Handle<v8::Object> object)
    4141    {
     
    4747    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    4848    static void installPerContextProperties(v8::Handle<v8::Object>, TestCustomNamedGetter*, v8::Isolate*) { }
    49     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     49    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5050private:
    5151    friend v8::Handle<v8::Object> wrap(TestCustomNamedGetter*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.cpp

    r141977 r142061  
    133133v8::Persistent<v8::FunctionTemplate> V8TestEventConstructor::GetRawTemplate(v8::Isolate* isolate)
    134134{
    135     if (!isolate)
    136         isolate = v8::Isolate::GetCurrent();
    137135    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    138136    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    148146v8::Persistent<v8::FunctionTemplate> V8TestEventConstructor::GetTemplate(v8::Isolate* isolate)
    149147{
    150     if (!isolate)
    151         isolate = v8::Isolate::GetCurrent();
    152148    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    153149    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.h

    r141945 r142061  
    3737    static const bool hasDependentLifetime = false;
    3838    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    39     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    40     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     39    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     40    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4141    static TestEventConstructor* toNative(v8::Handle<v8::Object> object)
    4242    {
     
    4848    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    4949    static void installPerContextProperties(v8::Handle<v8::Object>, TestEventConstructor*, v8::Isolate*) { }
    50     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     50    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5151private:
    5252    friend v8::Handle<v8::Object> wrap(TestEventConstructor*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.cpp

    r141977 r142061  
    162162v8::Persistent<v8::FunctionTemplate> V8TestEventTarget::GetRawTemplate(v8::Isolate* isolate)
    163163{
    164     if (!isolate)
    165         isolate = v8::Isolate::GetCurrent();
    166164    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    167165    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    177175v8::Persistent<v8::FunctionTemplate> V8TestEventTarget::GetTemplate(v8::Isolate* isolate)
    178176{
    179     if (!isolate)
    180         isolate = v8::Isolate::GetCurrent();
    181177    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    182178    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventTarget.h

    r141945 r142061  
    3636    static const bool hasDependentLifetime = false;
    3737    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    38     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    39     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     38    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     39    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4040    static TestEventTarget* toNative(v8::Handle<v8::Object> object)
    4141    {
     
    5050    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;
    5151    static void installPerContextProperties(v8::Handle<v8::Object>, TestEventTarget*, v8::Isolate*) { }
    52     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     52    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5353private:
    5454    friend v8::Handle<v8::Object> wrap(TestEventTarget*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestException.cpp

    r141977 r142061  
    9292v8::Persistent<v8::FunctionTemplate> V8TestException::GetRawTemplate(v8::Isolate* isolate)
    9393{
    94     if (!isolate)
    95         isolate = v8::Isolate::GetCurrent();
    9694    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    9795    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    107105v8::Persistent<v8::FunctionTemplate> V8TestException::GetTemplate(v8::Isolate* isolate)
    108106{
    109     if (!isolate)
    110         isolate = v8::Isolate::GetCurrent();
    111107    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    112108    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestException.h

    r141945 r142061  
    3636    static const bool hasDependentLifetime = false;
    3737    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    38     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    39     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     38    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     39    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4040    static TestException* toNative(v8::Handle<v8::Object> object)
    4141    {
     
    4646    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    4747    static void installPerContextProperties(v8::Handle<v8::Object>, TestException*, v8::Isolate*) { }
    48     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     48    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    4949private:
    5050    friend v8::Handle<v8::Object> wrap(TestException*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.cpp

    r141977 r142061  
    317317v8::Persistent<v8::FunctionTemplate> V8TestInterface::GetRawTemplate(v8::Isolate* isolate)
    318318{
    319     if (!isolate)
    320         isolate = v8::Isolate::GetCurrent();
    321319    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    322320    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    332330v8::Persistent<v8::FunctionTemplate> V8TestInterface::GetTemplate(v8::Isolate* isolate)
    333331{
    334     if (!isolate)
    335         isolate = v8::Isolate::GetCurrent();
    336332    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    337333    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.h

    r141945 r142061  
    3838    static const bool hasDependentLifetime = true;
    3939    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    40     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    41     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     40    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     41    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4242    static TestInterface* toNative(v8::Handle<v8::Object> object)
    4343    {
     
    5151    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    5252    static void installPerContextProperties(v8::Handle<v8::Object>, TestInterface*, v8::Isolate*) { }
    53     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     53    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5454private:
    5555    friend v8::Handle<v8::Object> wrap(TestInterface*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp

    r141977 r142061  
    101101v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListener::GetRawTemplate(v8::Isolate* isolate)
    102102{
    103     if (!isolate)
    104         isolate = v8::Isolate::GetCurrent();
    105103    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    106104    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    116114v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListener::GetTemplate(v8::Isolate* isolate)
    117115{
    118     if (!isolate)
    119         isolate = v8::Isolate::GetCurrent();
    120116    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    121117    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.h

    r141945 r142061  
    3636    static const bool hasDependentLifetime = false;
    3737    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    38     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    39     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     38    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     39    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4040    static TestMediaQueryListListener* toNative(v8::Handle<v8::Object> object)
    4141    {
     
    4646    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    4747    static void installPerContextProperties(v8::Handle<v8::Object>, TestMediaQueryListListener*, v8::Isolate*) { }
    48     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     48    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    4949private:
    5050    friend v8::Handle<v8::Object> wrap(TestMediaQueryListListener*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.cpp

    r141977 r142061  
    101101v8::Persistent<v8::FunctionTemplate> V8TestNamedConstructorConstructor::GetTemplate(v8::Isolate* isolate)
    102102{
    103     if (!isolate)
    104         isolate = v8::Isolate::GetCurrent();
    105103    static v8::Persistent<v8::FunctionTemplate> cachedTemplate;
    106104    if (!cachedTemplate.IsEmpty())
     
    137135v8::Persistent<v8::FunctionTemplate> V8TestNamedConstructor::GetRawTemplate(v8::Isolate* isolate)
    138136{
    139     if (!isolate)
    140         isolate = v8::Isolate::GetCurrent();
    141137    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    142138    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    152148v8::Persistent<v8::FunctionTemplate> V8TestNamedConstructor::GetTemplate(v8::Isolate* isolate)
    153149{
    154     if (!isolate)
    155         isolate = v8::Isolate::GetCurrent();
    156150    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    157151    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.h

    r141945 r142061  
    4242    static const bool hasDependentLifetime = true;
    4343    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    44     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    45     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     44    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     45    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4646    static TestNamedConstructor* toNative(v8::Handle<v8::Object> object)
    4747    {
     
    5353    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    5454    static void installPerContextProperties(v8::Handle<v8::Object>, TestNamedConstructor*, v8::Isolate*) { }
    55     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     55    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5656private:
    5757    friend v8::Handle<v8::Object> wrap(TestNamedConstructor*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.cpp

    r141977 r142061  
    9999v8::Persistent<v8::FunctionTemplate> V8TestNode::GetRawTemplate(v8::Isolate* isolate)
    100100{
    101     if (!isolate)
    102         isolate = v8::Isolate::GetCurrent();
    103101    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    104102    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    114112v8::Persistent<v8::FunctionTemplate> V8TestNode::GetTemplate(v8::Isolate* isolate)
    115113{
    116     if (!isolate)
    117         isolate = v8::Isolate::GetCurrent();
    118114    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    119115    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNode.h

    r141945 r142061  
    3636    static const bool hasDependentLifetime = true;
    3737    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    38     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    39     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     38    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     39    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4040    static TestNode* toNative(v8::Handle<v8::Object> object)
    4141    {
     
    4848    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    4949    static void installPerContextProperties(v8::Handle<v8::Object>, TestNode*, v8::Isolate*) { }
    50     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     50    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5151private:
    5252    friend v8::Handle<v8::Object> wrap(TestNode*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp

    r141977 r142061  
    22132213v8::Persistent<v8::FunctionTemplate> V8TestObj::GetRawTemplate(v8::Isolate* isolate)
    22142214{
    2215     if (!isolate)
    2216         isolate = v8::Isolate::GetCurrent();
    22172215    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    22182216    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    22282226v8::Persistent<v8::FunctionTemplate> V8TestObj::GetTemplate(v8::Isolate* isolate)
    22292227{
    2230     if (!isolate)
    2231         isolate = v8::Isolate::GetCurrent();
    22322228    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    22332229    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
     
    22662262}
    22672263
    2268 void V8TestObj::installPerContextPrototypeProperties(v8::Handle<v8::Object> proto)
     2264void V8TestObj::installPerContextPrototypeProperties(v8::Handle<v8::Object> proto, v8::Isolate* isolate)
    22692265{
    22702266    UNUSED_PARAM(proto);
    2271     v8::Local<v8::Signature> defaultSignature = v8::Signature::New(GetTemplate());
     2267    v8::Local<v8::Signature> defaultSignature = v8::Signature::New(GetTemplate(isolate));
    22722268    UNUSED_PARAM(defaultSignature); // In some cases, it will not be used.
    22732269
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.h

    r141945 r142061  
    3636    static const bool hasDependentLifetime = false;
    3737    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    38     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    39     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     38    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     39    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4040    static TestObj* toNative(v8::Handle<v8::Object> object)
    4141    {
     
    5252    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    5353    static void installPerContextProperties(v8::Handle<v8::Object>, TestObj*, v8::Isolate*);
    54     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>);
     54    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*);
    5555private:
    5656    friend v8::Handle<v8::Object> wrap(TestObj*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp

    r141977 r142061  
    156156v8::Persistent<v8::FunctionTemplate> V8TestOverloadedConstructors::GetRawTemplate(v8::Isolate* isolate)
    157157{
    158     if (!isolate)
    159         isolate = v8::Isolate::GetCurrent();
    160158    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    161159    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    171169v8::Persistent<v8::FunctionTemplate> V8TestOverloadedConstructors::GetTemplate(v8::Isolate* isolate)
    172170{
    173     if (!isolate)
    174         isolate = v8::Isolate::GetCurrent();
    175171    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    176172    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestOverloadedConstructors.h

    r141945 r142061  
    3636    static const bool hasDependentLifetime = false;
    3737    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    38     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    39     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     38    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     39    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4040    static TestOverloadedConstructors* toNative(v8::Handle<v8::Object> object)
    4141    {
     
    4747    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    4848    static void installPerContextProperties(v8::Handle<v8::Object>, TestOverloadedConstructors*, v8::Isolate*) { }
    49     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     49    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5050private:
    5151    static v8::Handle<v8::Value> constructor1Callback(const v8::Arguments&);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp

    r141977 r142061  
    274274v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetRawTemplate(v8::Isolate* isolate)
    275275{
    276     if (!isolate)
    277         isolate = v8::Isolate::GetCurrent();
    278276    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    279277    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
     
    289287v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTemplate(v8::Isolate* isolate)
    290288{
    291     if (!isolate)
    292         isolate = v8::Isolate::GetCurrent();
    293289    V8PerIsolateData* data = V8PerIsolateData::from(isolate);
    294290    V8PerIsolateData::TemplateMap::iterator result = data->templateMap().find(&info);
  • trunk/Source/WebCore/bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h

    r141945 r142061  
    3838    static const bool hasDependentLifetime = false;
    3939    static bool HasInstance(v8::Handle<v8::Value>, v8::Isolate*);
    40     static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate* = 0);
    41     static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate* = 0);
     40    static v8::Persistent<v8::FunctionTemplate> GetRawTemplate(v8::Isolate*);
     41    static v8::Persistent<v8::FunctionTemplate> GetTemplate(v8::Isolate*);
    4242    static TestSerializedScriptValueInterface* toNative(v8::Handle<v8::Object> object)
    4343    {
     
    4949    static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
    5050    static void installPerContextProperties(v8::Handle<v8::Object>, TestSerializedScriptValueInterface*, v8::Isolate*) { }
    51     static void installPerContextPrototypeProperties(v8::Handle<v8::Object>) { }
     51    static void installPerContextPrototypeProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
    5252private:
    5353    friend v8::Handle<v8::Object> wrap(TestSerializedScriptValueInterface*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
  • trunk/Source/WebCore/bindings/v8/V8DOMWrapper.cpp

    r141977 r142061  
    8585
    8686    V8PerContextData* perContextData = V8PerContextData::from(scope.context());
    87     v8::Local<v8::Object> wrapper = perContextData ? perContextData->createWrapperFromCache(type) : V8ObjectConstructor::newInstance(type->getTemplate()->GetFunction());
     87    v8::Local<v8::Object> wrapper = perContextData ? perContextData->createWrapperFromCache(type) : V8ObjectConstructor::newInstance(type->getTemplate(isolate)->GetFunction());
    8888
    8989    if (type == &V8HTMLDocument::info && !wrapper.IsEmpty())
  • trunk/Source/WebCore/bindings/v8/V8PerContextData.cpp

    r134351 r142061  
    115115
    116116    v8::Context::Scope scope(m_context);
    117     v8::Handle<v8::FunctionTemplate> functionTemplate = type->getTemplate();
     117    v8::Handle<v8::FunctionTemplate> functionTemplate = type->getTemplate(m_context->GetIsolate());
    118118    // Getting the function might fail if we're running out of stack or memory.
    119119    v8::TryCatch tryCatch;
     
    126126    if (!prototypeValue.IsEmpty() && prototypeValue->IsObject()) {
    127127        v8::Local<v8::Object> prototypeObject = v8::Local<v8::Object>::Cast(prototypeValue);
    128         type->installPerContextPrototypeProperties(prototypeObject);
     128        type->installPerContextPrototypeProperties(prototypeObject, m_context->GetIsolate());
    129129        if (type->wrapperTypePrototype == WrapperTypeErrorPrototype)
    130130            prototypeObject->SetPrototype(m_errorPrototype.get());
  • trunk/Source/WebCore/bindings/v8/WrapperTypeInfo.h

    r141857 r142061  
    5252    typedef EventTarget* (*ToEventTargetFunction)(v8::Handle<v8::Object>);
    5353    typedef void* (*OpaqueRootForGC)(void*, v8::Persistent<v8::Object>, v8::Isolate*);
    54     typedef void (*InstallPerContextPrototypePropertiesFunction)(v8::Handle<v8::Object>);
     54    typedef void (*InstallPerContextPrototypePropertiesFunction)(v8::Handle<v8::Object>, v8::Isolate*);
    5555
    5656    enum WrapperTypePrototype {
     
    8585        }
    8686       
    87         v8::Persistent<v8::FunctionTemplate> getTemplate(v8::Isolate* isolate = 0) { return getTemplateFunction(isolate); }
     87        v8::Persistent<v8::FunctionTemplate> getTemplate(v8::Isolate* isolate) { return getTemplateFunction(isolate); }
    8888       
    8989        void derefObject(void* object)
     
    9393        }
    9494       
    95         void installPerContextPrototypeProperties(v8::Handle<v8::Object> proto)
     95        void installPerContextPrototypeProperties(v8::Handle<v8::Object> proto, v8::Isolate* isolate)
    9696        {
    9797            if (installPerContextPrototypePropertiesFunction)
    98                 installPerContextPrototypePropertiesFunction(proto);
     98                installPerContextPrototypePropertiesFunction(proto, isolate);
    9999        }
    100100
Note: See TracChangeset for help on using the changeset viewer.