Title: [107146] trunk/Source/WebCore
Revision
107146
Author
leo.y...@torchmobile.com.cn
Date
2012-02-08 16:04:09 -0800 (Wed, 08 Feb 2012)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (107145 => 107146)


--- trunk/Source/WebCore/ChangeLog	2012-02-08 23:59:04 UTC (rev 107145)
+++ trunk/Source/WebCore/ChangeLog	2012-02-09 00:04:09 UTC (rev 107146)
@@ -1,3 +1,20 @@
+2012-02-08  Leo Yang  <leo.y...@torchmobile.com.cn>
+
+        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):
+
 2012-02-08  Dana Jansens  <dan...@chromium.org>
 
         [Chromium] Fix opaque tracking for box shadows and non-composited child elements

Modified: trunk/Source/WebCore/bindings/js/JSEntryCustom.cpp (107145 => 107146)


--- trunk/Source/WebCore/bindings/js/JSEntryCustom.cpp	2012-02-08 23:59:04 UTC (rev 107145)
+++ trunk/Source/WebCore/bindings/js/JSEntryCustom.cpp	2012-02-09 00:04:09 UTC (rev 107146)
@@ -50,10 +50,10 @@
         return jsNull();
 
     if (entry->isFile())
-        return getDOMObjectWrapper<JSFileEntry>(exec, globalObject, static_cast<FileEntry*>(entry));
+        return wrap<JSFileEntry>(exec, globalObject, static_cast<FileEntry*>(entry));
 
     ASSERT(entry->isDirectory());
-    return getDOMObjectWrapper<JSDirectoryEntry>(exec, globalObject, static_cast<DirectoryEntry*>(entry));
+    return wrap<JSDirectoryEntry>(exec, globalObject, static_cast<DirectoryEntry*>(entry));
 }
 
 } // namespace WebCore

Modified: trunk/Source/WebCore/bindings/js/JSEntrySyncCustom.cpp (107145 => 107146)


--- trunk/Source/WebCore/bindings/js/JSEntrySyncCustom.cpp	2012-02-08 23:59:04 UTC (rev 107145)
+++ trunk/Source/WebCore/bindings/js/JSEntrySyncCustom.cpp	2012-02-09 00:04:09 UTC (rev 107146)
@@ -50,10 +50,10 @@
         return jsNull();
 
     if (entry->isFile())
-        return getDOMObjectWrapper<JSFileEntrySync>(exec, globalObject, static_cast<FileEntrySync*>(entry));
+        return wrap<JSFileEntrySync>(exec, globalObject, static_cast<FileEntrySync*>(entry));
 
     ASSERT(entry->isDirectory());
-    return getDOMObjectWrapper<JSDirectoryEntrySync>(exec, globalObject, static_cast<DirectoryEntrySync*>(entry));
+    return wrap<JSDirectoryEntrySync>(exec, globalObject, static_cast<DirectoryEntrySync*>(entry));
 }
 
 } // namespace WebCore
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to