Title: [254465] trunk/Source/WebCore
Revision
254465
Author
[email protected]
Date
2020-01-13 15:57:50 -0800 (Mon, 13 Jan 2020)

Log Message

Clean-up MediaPlayerPrivateMediaStreamAVFObjC.h/.mm
https://bugs.webkit.org/show_bug.cgi?id=206060

Reviewed by Eric Carlson.

No change of behavior.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (254464 => 254465)


--- trunk/Source/WebCore/ChangeLog	2020-01-13 23:55:57 UTC (rev 254464)
+++ trunk/Source/WebCore/ChangeLog	2020-01-13 23:57:50 UTC (rev 254465)
@@ -1,3 +1,15 @@
+2020-01-13  youenn fablet  <[email protected]>
+
+        Clean-up MediaPlayerPrivateMediaStreamAVFObjC.h/.mm
+        https://bugs.webkit.org/show_bug.cgi?id=206060
+
+        Reviewed by Eric Carlson.
+
+        No change of behavior.
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h:
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:
+
 2020-01-13  Mark Lam  <[email protected]>
 
         Replace uses of Box<Identifier> with a new CacheableIdentifier class.

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h (254464 => 254465)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h	2020-01-13 23:55:57 UTC (rev 254464)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.h	2020-01-13 23:57:50 UTC (rev 254465)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015-2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2020 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef MediaPlayerPrivateMediaStreamAVFObjC_h
-#define MediaPlayerPrivateMediaStreamAVFObjC_h
+#pragma once
 
 #if ENABLE(MEDIA_STREAM) && USE(AVFOUNDATION)
 
@@ -31,18 +30,12 @@
 #include "MediaPlayerPrivate.h"
 #include "MediaSample.h"
 #include "MediaStreamPrivate.h"
-#include <CoreGraphics/CGAffineTransform.h>
 #include <wtf/Deque.h>
-#include <wtf/Function.h>
+#include <wtf/Forward.h>
 #include <wtf/LoggerHelper.h>
-#include <wtf/MediaTime.h>
 #include <wtf/WeakPtr.h>
 
-OBJC_CLASS AVSampleBufferAudioRenderer;
 OBJC_CLASS AVSampleBufferDisplayLayer;
-OBJC_CLASS AVSampleBufferRenderSynchronizer;
-OBJC_CLASS AVStreamSession;
-OBJC_CLASS NSNumber;
 OBJC_CLASS WebAVSampleBufferStatusChangeListener;
 
 namespace PAL {
@@ -283,5 +276,3 @@
 }
 
 #endif // ENABLE(MEDIA_STREAM) && USE(AVFOUNDATION)
-
-#endif // MediaPlayerPrivateMediaStreamAVFObjC_h

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm (254464 => 254465)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm	2020-01-13 23:55:57 UTC (rev 254464)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm	2020-01-13 23:57:50 UTC (rev 254465)
@@ -36,6 +36,7 @@
 #import "VideoFullscreenLayerManagerObjC.h"
 #import "VideoTrackPrivateMediaStream.h"
 #import <AVFoundation/AVSampleBufferDisplayLayer.h>
+#import <CoreGraphics/CGAffineTransform.h>
 #import <QuartzCore/CALayer.h>
 #import <QuartzCore/CATransaction.h>
 #import <objc_runtime.h>
@@ -42,6 +43,7 @@
 #import <pal/avfoundation/MediaTimeAVFoundation.h>
 #import <pal/spi/mac/AVFoundationSPI.h>
 #import <pal/system/Clock.h>
+#import <wtf/Deque.h>
 #import <wtf/Function.h>
 #import <wtf/MainThread.h>
 #import <wtf/NeverDestroyed.h>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to