Title: [126915] trunk/Source/WebKit/mac
- Revision
- 126915
- Author
- [email protected]
- Date
- 2012-08-28 12:50:28 -0700 (Tue, 28 Aug 2012)
Log Message
Build fix to r126909.
Needed ENABLE(NOTIFICATIONS) guards.
* WebView/WebView.mm:
(-[WebView _notificationIDForTesting:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (126914 => 126915)
--- trunk/Source/WebKit/mac/ChangeLog 2012-08-28 19:41:50 UTC (rev 126914)
+++ trunk/Source/WebKit/mac/ChangeLog 2012-08-28 19:50:28 UTC (rev 126915)
@@ -1,3 +1,12 @@
+2012-08-28 Jon Lee <[email protected]>
+
+ Build fix to r126909.
+
+ Needed ENABLE(NOTIFICATIONS) guards.
+
+ * WebView/WebView.mm:
+ (-[WebView _notificationIDForTesting:]):
+
2012-08-28 Caio Marcelo de Oliveira Filho <[email protected]>
Rename first/second to key/value in HashMap iterators
Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (126914 => 126915)
--- trunk/Source/WebKit/mac/WebView/WebView.mm 2012-08-28 19:41:50 UTC (rev 126914)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm 2012-08-28 19:50:28 UTC (rev 126915)
@@ -6552,9 +6552,11 @@
- (uint64_t)_notificationIDForTesting:(JSValueRef)jsNotification
{
+#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
JSContextRef context = [[self mainFrame] globalContext];
WebCore::Notification* notification = toNotification(toJS(toJS(context), jsNotification));
return static_cast<WebNotificationClient*>(NotificationController::clientFrom(_private->page))->notificationIDForTesting(notification);
+#endif
}
@end
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes