Title: [239091] trunk/Source/WebCore
Revision
239091
Author
jer.no...@apple.com
Date
2018-12-11 16:18:13 -0800 (Tue, 11 Dec 2018)

Log Message

Globally namespaced objects shouldn't use framework-prefixed names
https://bugs.webkit.org/show_bug.cgi?id=192600

Reviewed by Eric Carlson.

Rename CMSampleBufferIs... -> isCMSampleBuffer...

* platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm:
(WebCore::isCMSampleBufferRandomAccess):
(WebCore::isCMSampleBufferNonDisplaying):
(WebCore::MediaSampleAVFObjC::flags const):
(WebCore::CMSampleBufferIsRandomAccess): Deleted.
(WebCore::CMSampleBufferIsNonDisplaying): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (239090 => 239091)


--- trunk/Source/WebCore/ChangeLog	2018-12-11 22:34:40 UTC (rev 239090)
+++ trunk/Source/WebCore/ChangeLog	2018-12-12 00:18:13 UTC (rev 239091)
@@ -1,3 +1,19 @@
+2018-12-11  Jer Noble  <jer.no...@apple.com>
+
+        Globally namespaced objects shouldn't use framework-prefixed names
+        https://bugs.webkit.org/show_bug.cgi?id=192600
+
+        Reviewed by Eric Carlson.
+
+        Rename CMSampleBufferIs... -> isCMSampleBuffer...
+
+        * platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm:
+        (WebCore::isCMSampleBufferRandomAccess):
+        (WebCore::isCMSampleBufferNonDisplaying):
+        (WebCore::MediaSampleAVFObjC::flags const):
+        (WebCore::CMSampleBufferIsRandomAccess): Deleted.
+        (WebCore::CMSampleBufferIsNonDisplaying): Deleted.
+
 2018-12-11  Brent Fulgham  <bfulg...@apple.com>
 
         Don't attempt to compute animated values when there is no relevant animation

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm (239090 => 239091)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm	2018-12-11 22:34:40 UTC (rev 239090)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm	2018-12-12 00:18:13 UTC (rev 239091)
@@ -119,7 +119,7 @@
     return CVPixelBufferGetPixelFormatType(pixelBuffer);
 }
 
-static bool CMSampleBufferIsRandomAccess(CMSampleBufferRef sample)
+static bool isCMSampleBufferRandomAccess(CMSampleBufferRef sample)
 {
     CFArrayRef attachments = CMSampleBufferGetSampleAttachmentsArray(sample, false);
     if (!attachments)
@@ -133,7 +133,7 @@
     return true;
 }
 
-static bool CMSampleBufferIsNonDisplaying(CMSampleBufferRef sample)
+static bool isCMSampleBufferNonDisplaying(CMSampleBufferRef sample)
 {
     CFArrayRef attachments = CMSampleBufferGetSampleAttachmentsArray(sample, false);
     if (!attachments)
@@ -152,10 +152,10 @@
 {
     int returnValue = MediaSample::None;
     
-    if (CMSampleBufferIsRandomAccess(m_sample.get()))
+    if (isCMSampleBufferRandomAccess(m_sample.get()))
         returnValue |= MediaSample::IsSync;
 
-    if (CMSampleBufferIsNonDisplaying(m_sample.get()))
+    if (isCMSampleBufferNonDisplaying(m_sample.get()))
         returnValue |= MediaSample::IsNonDisplaying;
     
     return SampleFlags(returnValue);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to