Changeset 135012 in webkit


Ignore:
Timestamp:
Nov 16, 2012, 3:47:35 PM (13 years ago)
Author:
aestes@apple.com
Message:

Fix the Mountain Lion build after r135007.

  • bindings/js/JSDesktopNotificationsCustom.cpp:

(WebCore::JSNotificationCenter::requestPermission):

Location:
branches/safari-536.28-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-536.28-branch/Source/WebCore/ChangeLog

    r135011 r135012  
     12012-11-16  Andy Estes  <aestes@apple.com>
     2
     3        Fix the Mountain Lion build after r135007.
     4
     5        * bindings/js/JSDesktopNotificationsCustom.cpp:
     6        (WebCore::JSNotificationCenter::requestPermission):
     7
    182012-11-16  Lucas Forschler  <lforschler@apple.com>
    29
  • branches/safari-536.28-branch/Source/WebCore/bindings/js/JSDesktopNotificationsCustom.cpp

    r135007 r135012  
    6060
    6161    // If a callback function is provided as first argument, convert to a VoidCallback.
    62     RefPtr<JSVoidCallback> callback;
     62    RefPtr<JSCustomVoidCallback> callback;
    6363    if (exec->argument(0).isObject()) {
    64         callback = JSVoidCallback::create(exec->argument(0).getObject(), toJSDOMGlobalObject(static_cast<Document*>(context), exec));
     64        callback = JSCustomVoidCallback::create(exec->argument(0).getObject(), toJSDOMGlobalObject(static_cast<Document*>(context), exec));
    6565        if (exec->hadException())
    6666            return jsUndefined();
Note: See TracChangeset for help on using the changeset viewer.