Changeset 135012 in webkit
- Timestamp:
- Nov 16, 2012, 3:47:35 PM (13 years ago)
- 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 1 2012-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 1 8 2012-11-16 Lucas Forschler <lforschler@apple.com> 2 9 -
branches/safari-536.28-branch/Source/WebCore/bindings/js/JSDesktopNotificationsCustom.cpp
r135007 r135012 60 60 61 61 // If a callback function is provided as first argument, convert to a VoidCallback. 62 RefPtr<JS VoidCallback> callback;62 RefPtr<JSCustomVoidCallback> callback; 63 63 if (exec->argument(0).isObject()) { 64 callback = JS VoidCallback::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)); 65 65 if (exec->hadException()) 66 66 return jsUndefined();
Note:
See TracChangeset
for help on using the changeset viewer.