Forward declare WKWebView in _WKDiagnosticLoggingDelegate.h
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Apr 2019 01:26:08 +0000 (01:26 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Apr 2019 01:26:08 +0000 (01:26 +0000)
* UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h:
This fixes builds where _WKDiagnosticLoggingDelegate.h is the only WebKit header included, such as my work on rdar://problem/35175989

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244317 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h

index bfde676..44044cd 100644 (file)
@@ -1,3 +1,10 @@
+2019-04-15  Alex Christensen  <achristensen@webkit.org>
+
+        Forward declare WKWebView in _WKDiagnosticLoggingDelegate.h
+
+        * UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h:
+        This fixes builds where _WKDiagnosticLoggingDelegate.h is the only WebKit header included, such as my work on rdar://problem/35175989
+
 2019-04-15  Jer Noble  <jer.noble@apple.com>
 
         Add a DiagnosticLogging method taking an arbitrary dictionary of values.
 2019-04-15  Jer Noble  <jer.noble@apple.com>
 
         Add a DiagnosticLogging method taking an arbitrary dictionary of values.
index e9e3ed9..b5afc53 100644 (file)
@@ -33,6 +33,8 @@ typedef NS_ENUM(NSInteger, _WKDiagnosticLoggingResultType) {
     _WKDiagnosticLoggingResultNoop,
 } WK_API_AVAILABLE(macos(10.11), ios(9.0));
 
     _WKDiagnosticLoggingResultNoop,
 } WK_API_AVAILABLE(macos(10.11), ios(9.0));
 
+@class WKWebView;
+
 @protocol _WKDiagnosticLoggingDelegate <NSObject>
 @optional
 
 @protocol _WKDiagnosticLoggingDelegate <NSObject>
 @optional