Changeset 254472 in webkit


Ignore:
Timestamp:
Jan 13, 2020 4:39:43 PM (4 years ago)
Author:
Kate Cheney
Message:

_WKResourceLoadStatisticsFirstParty should be forward declared not imported in _WKResourceLoadStatisticsThirdParty
https://bugs.webkit.org/show_bug.cgi?id=206183
<rdar://problem/58535245>

Reviewed by Alex Christensen.

  • UIProcess/API/Cocoa/_WKResourceLoadStatisticsFirstParty.h:
  • UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdParty.h:
  • UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdParty.mm:

The additional import statement here was unnecessary because
this file imports _WKResourceLoadStatisticsThirdPartyInternal.h
which forward declares the _WKResourceLoadStatisticsFirstParty class.

Location:
trunk/Source/WebKit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r254469 r254472  
     12020-01-13  Kate Cheney  <katherine_cheney@apple.com>
     2
     3        _WKResourceLoadStatisticsFirstParty should be forward declared not imported in _WKResourceLoadStatisticsThirdParty
     4        https://bugs.webkit.org/show_bug.cgi?id=206183
     5        <rdar://problem/58535245>
     6
     7        Reviewed by Alex Christensen.
     8
     9        * UIProcess/API/Cocoa/_WKResourceLoadStatisticsFirstParty.h:
     10        * UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdParty.h:
     11        * UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdParty.mm:
     12        The additional import statement here was unnecessary because
     13        this file imports _WKResourceLoadStatisticsThirdPartyInternal.h
     14        which forward declares the _WKResourceLoadStatisticsFirstParty class.
     15
    1162020-01-13  Kate Cheney  <katherine_cheney@apple.com>
    217
  • trunk/Source/WebKit/UIProcess/API/Cocoa/_WKResourceLoadStatisticsFirstParty.h

    r254286 r254472  
    2424 */
    2525
     26#import <WebKit/WKFoundation.h>
     27
    2628NS_ASSUME_NONNULL_BEGIN
    2729
  • trunk/Source/WebKit/UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdParty.h

    r254286 r254472  
    2424 */
    2525
    26 #import "_WKResourceLoadStatisticsFirstParty.h"
     26#import <WebKit/WKFoundation.h>
    2727
    2828NS_ASSUME_NONNULL_BEGIN
     29
     30@class _WKResourceLoadStatisticsFirstParty;
    2931
    3032WK_CLASS_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA))
  • trunk/Source/WebKit/UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdParty.mm

    r253484 r254472  
    2828
    2929#import "APIArray.h"
    30 #import "_WKResourceLoadStatisticsFirstParty.h"
    3130
    3231@implementation _WKResourceLoadStatisticsThirdParty
Note: See TracChangeset for help on using the changeset viewer.