Title: [135012] branches/safari-536.28-branch/Source/WebCore
Revision
135012
Author
aes...@apple.com
Date
2012-11-16 15:47:35 -0800 (Fri, 16 Nov 2012)

Log Message

Fix the Mountain Lion build after r135007.

* bindings/js/JSDesktopNotificationsCustom.cpp:
(WebCore::JSNotificationCenter::requestPermission):

Modified Paths

Diff

Modified: branches/safari-536.28-branch/Source/WebCore/ChangeLog (135011 => 135012)


--- branches/safari-536.28-branch/Source/WebCore/ChangeLog	2012-11-16 23:39:58 UTC (rev 135011)
+++ branches/safari-536.28-branch/Source/WebCore/ChangeLog	2012-11-16 23:47:35 UTC (rev 135012)
@@ -1,3 +1,10 @@
+2012-11-16  Andy Estes  <aes...@apple.com>
+
+        Fix the Mountain Lion build after r135007.
+
+        * bindings/js/JSDesktopNotificationsCustom.cpp:
+        (WebCore::JSNotificationCenter::requestPermission):
+
 2012-11-16  Lucas Forschler  <lforsch...@apple.com>
 
         Merge r131779

Modified: branches/safari-536.28-branch/Source/WebCore/bindings/js/JSDesktopNotificationsCustom.cpp (135011 => 135012)


--- branches/safari-536.28-branch/Source/WebCore/bindings/js/JSDesktopNotificationsCustom.cpp	2012-11-16 23:39:58 UTC (rev 135011)
+++ branches/safari-536.28-branch/Source/WebCore/bindings/js/JSDesktopNotificationsCustom.cpp	2012-11-16 23:47:35 UTC (rev 135012)
@@ -59,9 +59,9 @@
         return throwSyntaxError(exec);
 
     // If a callback function is provided as first argument, convert to a VoidCallback.
-    RefPtr<JSVoidCallback> callback;
+    RefPtr<JSCustomVoidCallback> callback;
     if (exec->argument(0).isObject()) {
-        callback = JSVoidCallback::create(exec->argument(0).getObject(), toJSDOMGlobalObject(static_cast<Document*>(context), exec));
+        callback = JSCustomVoidCallback::create(exec->argument(0).getObject(), toJSDOMGlobalObject(static_cast<Document*>(context), exec));
         if (exec->hadException())
             return jsUndefined();
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to