⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 107146 in webkit


Ignore:
Timestamp:
Feb 8, 2012, 4:04:09 PM (15 years ago)
Author:
leo.yang@torchmobile.com.cn
Message:

REGRESSION(r84194): Build fails when turning on ENABLE_FILE_SYSTEM
https://bugs.webkit.org/show_bug.cgi?id=78088

Reviewed by Antonio Gomes.

WebCore::getDOMObjectWrapper was changed to WebCore::wrap in r84194.
Adapt to this change in JSEntryCustom.cpp and JSEntrySyncCustom.cpp.

Build fix, no new tests.

  • bindings/js/JSEntryCustom.cpp:

(WebCore::toJS):

  • bindings/js/JSEntrySyncCustom.cpp:

(WebCore::toJS):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r107143 r107146  
     12012-02-08  Leo Yang  <leo.yang@torchmobile.com.cn>
     2
     3        REGRESSION(r84194): Build fails when turning on ENABLE_FILE_SYSTEM
     4        https://bugs.webkit.org/show_bug.cgi?id=78088
     5
     6        Reviewed by Antonio Gomes.
     7
     8        WebCore::getDOMObjectWrapper was changed to WebCore::wrap in r84194.
     9        Adapt to this change in JSEntryCustom.cpp and JSEntrySyncCustom.cpp.
     10
     11        Build fix, no new tests.
     12
     13        * bindings/js/JSEntryCustom.cpp:
     14        (WebCore::toJS):
     15        * bindings/js/JSEntrySyncCustom.cpp:
     16        (WebCore::toJS):
     17
    1182012-02-08  Dana Jansens  <danakj@chromium.org>
    219
  • trunk/Source/WebCore/bindings/js/JSEntryCustom.cpp

    r95901 r107146  
    5151
    5252    if (entry->isFile())
    53         return getDOMObjectWrapper<JSFileEntry>(exec, globalObject, static_cast<FileEntry*>(entry));
     53        return wrap<JSFileEntry>(exec, globalObject, static_cast<FileEntry*>(entry));
    5454
    5555    ASSERT(entry->isDirectory());
    56     return getDOMObjectWrapper<JSDirectoryEntry>(exec, globalObject, static_cast<DirectoryEntry*>(entry));
     56    return wrap<JSDirectoryEntry>(exec, globalObject, static_cast<DirectoryEntry*>(entry));
    5757}
    5858
  • trunk/Source/WebCore/bindings/js/JSEntrySyncCustom.cpp

    r95901 r107146  
    5151
    5252    if (entry->isFile())
    53         return getDOMObjectWrapper<JSFileEntrySync>(exec, globalObject, static_cast<FileEntrySync*>(entry));
     53        return wrap<JSFileEntrySync>(exec, globalObject, static_cast<FileEntrySync*>(entry));
    5454
    5555    ASSERT(entry->isDirectory());
    56     return getDOMObjectWrapper<JSDirectoryEntrySync>(exec, globalObject, static_cast<DirectoryEntrySync*>(entry));
     56    return wrap<JSDirectoryEntrySync>(exec, globalObject, static_cast<DirectoryEntrySync*>(entry));
    5757}
    5858
Note: See TracChangeset for help on using the changeset viewer.