Title: [126920] trunk/Source/WebKit/mac
- Revision
- 126920
- Author
- [email protected]
- Date
- 2012-08-28 13:12:28 -0700 (Tue, 28 Aug 2012)
Log Message
Second build fix to r126909.
Added needed #else clause.
* WebView/WebView.mm:
(-[WebView _notificationIDForTesting:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (126919 => 126920)
--- trunk/Source/WebKit/mac/ChangeLog 2012-08-28 20:10:49 UTC (rev 126919)
+++ trunk/Source/WebKit/mac/ChangeLog 2012-08-28 20:12:28 UTC (rev 126920)
@@ -1,5 +1,14 @@
2012-08-28 Jon Lee <[email protected]>
+ Second build fix to r126909.
+
+ Added needed #else clause.
+
+ * WebView/WebView.mm:
+ (-[WebView _notificationIDForTesting:]):
+
+2012-08-28 Jon Lee <[email protected]>
+
Build fix to r126909.
Needed ENABLE(NOTIFICATIONS) guards.
Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (126919 => 126920)
--- trunk/Source/WebKit/mac/WebView/WebView.mm 2012-08-28 20:10:49 UTC (rev 126919)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm 2012-08-28 20:12:28 UTC (rev 126920)
@@ -6556,6 +6556,8 @@
JSContextRef context = [[self mainFrame] globalContext];
WebCore::Notification* notification = toNotification(toJS(toJS(context), jsNotification));
return static_cast<WebNotificationClient*>(NotificationController::clientFrom(_private->page))->notificationIDForTesting(notification);
+#else
+ return 0;
#endif
}
@end
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes