⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 285185 in webkit


Ignore:
Timestamp:
Nov 2, 2021, 2:50:51 PM (5 years ago)
Author:
don.olmstead@sony.com
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:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r285171 r285185  
     12021-11-02  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [MSVC] Remove unused friend class in filter code
     4        https://bugs.webkit.org/show_bug.cgi?id=232636
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        In r284857 the WTF prefix was removed from ParallelJobs in filter code. During a
     9        non-unified build MSVC thinks that there is a WebCore::ParallelJobs due to a friend
     10        declaration in filter code and fails to build. Remove the friend declaration as they are
     11        not used.
     12
     13        * platform/graphics/filters/FEGaussianBlur.h:
     14        * platform/graphics/filters/FETurbulence.h:
     15
    1162021-11-02  Antti Koivisto  <antti@apple.com>
    217
  • trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.h

    r251119 r285185  
    5252    static const int s_minimalRectDimension = 100 * 100; // Empirical data limit for parallel jobs
    5353
    54     template<typename Type>
    55     friend class ParallelJobs;
    56 
    5754    struct PlatformApplyParameters {
    5855        FEGaussianBlur* filter;
  • trunk/Source/WebCore/platform/graphics/filters/FETurbulence.h

    r275206 r285185  
    9393    };
    9494
    95     template<typename Type>
    96     friend class ParallelJobs;
    97 
    9895    struct FillRegionParameters {
    9996        FETurbulence* filter;
Note: See TracChangeset for help on using the changeset viewer.