Changeset 117381 in webkit


Ignore:
Timestamp:
May 16, 2012 7:21:10 PM (12 years ago)
Author:
haraken@chromium.org
Message:

[V8] Pass Isolate to remaining toV8()
https://bugs.webkit.org/show_bug.cgi?id=86570

Reviewed by Nate Chapin.

The objective is to pass Isolate around in V8 bindings.
This patch passes Isolate to toV8(). I've landed a bunch of
patches to pass Isolate to toV8(), and this would be the last
patch for passing Isolate to toV8().

No tests. No change in behavior.

  • bindings/v8/custom/V8HTMLCollectionCustom.cpp:

(WebCore::getNamedItems):

  • bindings/v8/custom/V8IDBAnyCustom.cpp:

(WebCore::toV8):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117379 r117381  
     12012-05-16  Kentaro Hara  <haraken@chromium.org>
     2
     3        [V8] Pass Isolate to remaining toV8()
     4        https://bugs.webkit.org/show_bug.cgi?id=86570
     5
     6        Reviewed by Nate Chapin.
     7
     8        The objective is to pass Isolate around in V8 bindings.
     9        This patch passes Isolate to toV8(). I've landed a bunch of
     10        patches to pass Isolate to toV8(), and this would be the last
     11        patch for passing Isolate to toV8().
     12
     13        No tests. No change in behavior.
     14
     15        * bindings/v8/custom/V8HTMLCollectionCustom.cpp:
     16        (WebCore::getNamedItems):
     17        * bindings/v8/custom/V8IDBAnyCustom.cpp:
     18        (WebCore::toV8):
     19
    1202012-05-16  James Robinson  <jamesr@chromium.org>
    221
  • trunk/Source/WebCore/bindings/v8/custom/V8HTMLCollectionCustom.cpp

    r116487 r117381  
    5656
    5757    if (collection->type() == FormControls)
    58         return toV8(collection->base()->radioNodeList(name).get());
     58        return toV8(collection->base()->radioNodeList(name).get(), isolate);
    5959
    6060    return toV8(V8NamedNodesCollection::create(namedItems), isolate);
  • trunk/Source/WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp

    r115234 r117381  
    5656        return v8::Null();
    5757    case IDBAny::DOMStringListType:
    58         return toV8(impl->domStringList());
     58        return toV8(impl->domStringList(), isolate);
    5959    case IDBAny::IDBCursorType:
    60         return toV8(impl->idbCursor());
     60        return toV8(impl->idbCursor(), isolate);
    6161    case IDBAny::IDBCursorWithValueType:
    62         return toV8(impl->idbCursorWithValue());
     62        return toV8(impl->idbCursorWithValue(), isolate);
    6363    case IDBAny::IDBDatabaseType:
    64         return toV8(impl->idbDatabase());
     64        return toV8(impl->idbDatabase(), isolate);
    6565    case IDBAny::IDBFactoryType:
    66         return toV8(impl->idbFactory());
     66        return toV8(impl->idbFactory(), isolate);
    6767    case IDBAny::IDBIndexType:
    68         return toV8(impl->idbIndex());
     68        return toV8(impl->idbIndex(), isolate);
    6969    case IDBAny::IDBKeyType:
    70         return toV8(impl->idbKey());
     70        return toV8(impl->idbKey(), isolate);
    7171    case IDBAny::IDBObjectStoreType:
    72         return toV8(impl->idbObjectStore());
     72        return toV8(impl->idbObjectStore(), isolate);
    7373    case IDBAny::IDBTransactionType:
    74         return toV8(impl->idbTransaction());
     74        return toV8(impl->idbTransaction(), isolate);
    7575    case IDBAny::SerializedScriptValueType:
    7676        return impl->serializedScriptValue()->deserialize(0, isolate);
Note: See TracChangeset for help on using the changeset viewer.