Title: [285185] trunk/Source/WebCore
Revision
285185
Author
don.olmst...@sony.com
Date
2021-11-02 14:50:51 -0700 (Tue, 02 Nov 2021)

Log Message

[MSVC] Remove unused friend class in filter code
https://bugs.webkit.org/show_bug.cgi?id=232636

Reviewed by Yusuke Suzuki.

In r284857 the WTF prefix was removed from ParallelJobs in filter code. During a
non-unified build MSVC thinks that there is a WebCore::ParallelJobs due to a friend
declaration in filter code and fails to build. Remove the friend declaration as they are
not used.

* platform/graphics/filters/FEGaussianBlur.h:
* platform/graphics/filters/FETurbulence.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (285184 => 285185)


--- trunk/Source/WebCore/ChangeLog	2021-11-02 21:48:23 UTC (rev 285184)
+++ trunk/Source/WebCore/ChangeLog	2021-11-02 21:50:51 UTC (rev 285185)
@@ -1,3 +1,18 @@
+2021-11-02  Don Olmstead  <don.olmst...@sony.com>
+
+        [MSVC] Remove unused friend class in filter code
+        https://bugs.webkit.org/show_bug.cgi?id=232636
+
+        Reviewed by Yusuke Suzuki.
+
+        In r284857 the WTF prefix was removed from ParallelJobs in filter code. During a
+        non-unified build MSVC thinks that there is a WebCore::ParallelJobs due to a friend
+        declaration in filter code and fails to build. Remove the friend declaration as they are
+        not used.
+
+        * platform/graphics/filters/FEGaussianBlur.h:
+        * platform/graphics/filters/FETurbulence.h:
+
 2021-11-02  Antti Koivisto  <an...@apple.com>
 
         [LFC][Integration] Provide bidi properties when constructing TextRun

Modified: trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.h (285184 => 285185)


--- trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.h	2021-11-02 21:48:23 UTC (rev 285184)
+++ trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.h	2021-11-02 21:50:51 UTC (rev 285185)
@@ -51,9 +51,6 @@
 
     static const int s_minimalRectDimension = 100 * 100; // Empirical data limit for parallel jobs
 
-    template<typename Type>
-    friend class ParallelJobs;
-
     struct PlatformApplyParameters {
         FEGaussianBlur* filter;
         RefPtr<Uint8ClampedArray> ioPixelArray;

Modified: trunk/Source/WebCore/platform/graphics/filters/FETurbulence.h (285184 => 285185)


--- trunk/Source/WebCore/platform/graphics/filters/FETurbulence.h	2021-11-02 21:48:23 UTC (rev 285184)
+++ trunk/Source/WebCore/platform/graphics/filters/FETurbulence.h	2021-11-02 21:50:51 UTC (rev 285185)
@@ -92,9 +92,6 @@
         int wrapY { 0 };
     };
 
-    template<typename Type>
-    friend class ParallelJobs;
-
     struct FillRegionParameters {
         FETurbulence* filter;
         Uint8ClampedArray* pixelArray;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to