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

Changeset 126915 in webkit


Ignore:
Timestamp:
Aug 28, 2012, 12:50:28 PM (14 years ago)
Author:
jonlee@apple.com
Message:

Build fix to r126909.

Needed ENABLE(NOTIFICATIONS) guards.

  • WebView/WebView.mm:

(-[WebView _notificationIDForTesting:]):

Location:
trunk/Source/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/mac/ChangeLog

    r126914 r126915  
     12012-08-28  Jon Lee  <jonlee@apple.com>
     2
     3        Build fix to r126909.
     4
     5        Needed ENABLE(NOTIFICATIONS) guards.
     6
     7        * WebView/WebView.mm:
     8        (-[WebView _notificationIDForTesting:]):
     9
    1102012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
    211
  • trunk/Source/WebKit/mac/WebView/WebView.mm

    r126909 r126915  
    65536553- (uint64_t)_notificationIDForTesting:(JSValueRef)jsNotification
    65546554{
     6555#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
    65556556    JSContextRef context = [[self mainFrame] globalContext];
    65566557    WebCore::Notification* notification = toNotification(toJS(toJS(context), jsNotification));
    65576558    return static_cast<WebNotificationClient*>(NotificationController::clientFrom(_private->page))->notificationIDForTesting(notification);
     6559#endif
    65586560}
    65596561@end
Note: See TracChangeset for help on using the changeset viewer.