Title: [229333] trunk/Source/WebCore
Revision
229333
Author
dba...@webkit.org
Date
2018-03-06 11:46:46 -0800 (Tue, 06 Mar 2018)

Log Message

Make more use of USE(OPENGL_ES) and replace typedefs with C++11 using statements
in TextureCacheCV.h

Rubber-stamped by Tim Horton.

* platform/graphics/cv/TextureCacheCV.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (229332 => 229333)


--- trunk/Source/WebCore/ChangeLog	2018-03-06 19:41:35 UTC (rev 229332)
+++ trunk/Source/WebCore/ChangeLog	2018-03-06 19:46:46 UTC (rev 229333)
@@ -1,3 +1,12 @@
+2018-03-06  Daniel Bates  <daba...@apple.com>
+
+        Make more use of USE(OPENGL_ES) and replace typedefs with C++11 using statements
+        in TextureCacheCV.h
+
+        Rubber-stamped by Tim Horton.
+
+        * platform/graphics/cv/TextureCacheCV.h:
+
 2018-03-06  Antti Koivisto  <an...@apple.com>
 
         Cache hasComplexSelectorsForStyleAttribute bit

Modified: trunk/Source/WebCore/platform/graphics/cv/TextureCacheCV.h (229332 => 229333)


--- trunk/Source/WebCore/platform/graphics/cv/TextureCacheCV.h	2018-03-06 19:41:35 UTC (rev 229332)
+++ trunk/Source/WebCore/platform/graphics/cv/TextureCacheCV.h	2018-03-06 19:46:46 UTC (rev 229333)
@@ -46,12 +46,12 @@
 public:
     static std::unique_ptr<TextureCacheCV> create(GraphicsContext3D&);
 
-#if PLATFORM(IOS)
-    typedef CVOpenGLESTextureCacheRef  TextureCacheType;
-    typedef CVOpenGLESTextureRef TextureType;
+#if USE(OPENGL_ES)
+    using TextureCacheType = CVOpenGLESTextureCacheRef;
+    using TextureType = CVOpenGLESTextureRef;
 #else
-    typedef CVOpenGLTextureCacheRef  TextureCacheType;
-    typedef CVOpenGLTextureRef TextureType;
+    using TextureCacheType = CVOpenGLTextureCacheRef;
+    using TextureType = CVOpenGLTextureRef;
 #endif
 
     TextureCacheCV(GraphicsContext3D&, RetainPtr<TextureCacheType>&&);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to