Title: [191801] trunk/Source/WebKit/mac
- Revision
- 191801
- Author
- [email protected]
- Date
- 2015-10-30 11:42:39 -0700 (Fri, 30 Oct 2015)
Log Message
Fixed the build.
* Plugins/WebPluginController.mm:
(WebKit_TSUpdateCheck_alertDidEnd_returnCode_contextInfo_):
(WebKit_NSAlert_beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_):
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (191800 => 191801)
--- trunk/Source/WebKit/mac/ChangeLog 2015-10-30 18:21:28 UTC (rev 191800)
+++ trunk/Source/WebKit/mac/ChangeLog 2015-10-30 18:42:39 UTC (rev 191801)
@@ -1,3 +1,11 @@
+2015-10-30 Dan Bernstein <[email protected]>
+
+ Fixed the build.
+
+ * Plugins/WebPluginController.mm:
+ (WebKit_TSUpdateCheck_alertDidEnd_returnCode_contextInfo_):
+ (WebKit_NSAlert_beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_):
+
2015-10-29 Anders Carlsson <[email protected]>
Remove a never used SPI delegate method
Modified: trunk/Source/WebKit/mac/Plugins/WebPluginController.mm (191800 => 191801)
--- trunk/Source/WebKit/mac/Plugins/WebPluginController.mm 2015-10-30 18:21:28 UTC (rev 191800)
+++ trunk/Source/WebKit/mac/Plugins/WebPluginController.mm 2015-10-30 18:42:39 UTC (rev 191801)
@@ -653,15 +653,21 @@
static void WebKit_TSUpdateCheck_alertDidEnd_returnCode_contextInfo_(id object, SEL selector, NSAlert *alert, NSInteger returnCode, void* contextInfo)
{
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
[[(TSUpdateCheck *)object delegate] autorelease];
+#pragma clang diagnostic pop
original_TSUpdateCheck_alertDidEnd_returnCode_contextInfo_(object, selector, alert, returnCode, contextInfo);
}
static void WebKit_NSAlert_beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_(id object, SEL selector, NSWindow *window, id modalDelegate, SEL didEndSelector, void* contextInfo)
{
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
if (isKindOfClass(modalDelegate, @"TSUpdateCheck"))
[[(TSUpdateCheck *)modalDelegate delegate] retain];
+#pragma clang diagnostic pop
original_NSAlert_beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_(object, selector, window, modalDelegate, didEndSelector, contextInfo);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes