Title: [210248] trunk/Source/WebCore
Revision
210248
Author
[email protected]
Date
2017-01-03 14:03:33 -0800 (Tue, 03 Jan 2017)

Log Message

Check for the existence of AVSampleBufferAudioRenderer.h before redeclaring AVSampleBufferAudioRenderer
https://bugs.webkit.org/show_bug.cgi?id=166421
<rdar://problem/29782862>

Reviewed by Dan Bernstein.

Follow up after r210099; fix the __has_include directive to include the framework and fix the #import inside #if.

* platform/spi/mac/AVFoundationSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (210247 => 210248)


--- trunk/Source/WebCore/ChangeLog	2017-01-03 20:53:22 UTC (rev 210247)
+++ trunk/Source/WebCore/ChangeLog	2017-01-03 22:03:33 UTC (rev 210248)
@@ -1,3 +1,15 @@
+2017-01-03  Jer Noble  <[email protected]>
+
+        Check for the existence of AVSampleBufferAudioRenderer.h before redeclaring AVSampleBufferAudioRenderer
+        https://bugs.webkit.org/show_bug.cgi?id=166421
+        <rdar://problem/29782862>
+
+        Reviewed by Dan Bernstein.
+
+        Follow up after r210099; fix the __has_include directive to include the framework and fix the #import inside #if.
+
+        * platform/spi/mac/AVFoundationSPI.h:
+
 2017-01-03  Andreas Kling  <[email protected]>
 
         REGRESSION(r210226): fast/history/back-from-page-with-focused-iframe.html crashes under GuardMalloc

Modified: trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h (210247 => 210248)


--- trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h	2017-01-03 20:53:22 UTC (rev 210247)
+++ trunk/Source/WebCore/platform/spi/mac/AVFoundationSPI.h	2017-01-03 22:03:33 UTC (rev 210248)
@@ -180,8 +180,8 @@
 
 NS_ASSUME_NONNULL_END
 
-#if __has_include("AVSampleBufferAudioRenderer.h")
-#import ("AVSampleBufferAudioRenderer")
+#if __has_include(<AVFoundation/AVSampleBufferAudioRenderer.h>)
+#import <AVFoundation/AVSampleBufferAudioRenderer.h>
 #else
 
 NS_ASSUME_NONNULL_BEGIN
@@ -199,6 +199,6 @@
 @property (nonatomic, copy) NSString *audioTimePitchAlgorithm;
 @end
 
-#endif // __has_include("AVSampleBufferAudioRenderer.h")
+NS_ASSUME_NONNULL_END
 
-NS_ASSUME_NONNULL_END
+#endif // __has_include(<AVFoundation/AVSampleBufferAudioRenderer.h>)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to