Title: [257802] trunk/Source/WebKitLegacy/win
Revision
257802
Author
pvol...@apple.com
Date
2020-03-03 14:19:57 -0800 (Tue, 03 Mar 2020)

Log Message

[Win] API header file has USE macro
https://bugs.webkit.org/show_bug.cgi?id=208534

Reviewed by Brent Fulgham.

USE macros should not be used in API header files.

* WebKitCOMAPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/win/ChangeLog (257801 => 257802)


--- trunk/Source/WebKitLegacy/win/ChangeLog	2020-03-03 22:11:29 UTC (rev 257801)
+++ trunk/Source/WebKitLegacy/win/ChangeLog	2020-03-03 22:19:57 UTC (rev 257802)
@@ -1,3 +1,14 @@
+2020-03-03  Per Arne Vollan  <pvol...@apple.com>
+
+        [Win] API header file has USE macro
+        https://bugs.webkit.org/show_bug.cgi?id=208534
+
+        Reviewed by Brent Fulgham.
+
+        USE macros should not be used in API header files.
+
+        * WebKitCOMAPI.h:
+
 2020-03-03  Devin Rousso  <drou...@apple.com>
 
         Web Inspector: setting the frontend appearance doesn't update the window when undocked

Modified: trunk/Source/WebKitLegacy/win/WebKitCOMAPI.h (257801 => 257802)


--- trunk/Source/WebKitLegacy/win/WebKitCOMAPI.h	2020-03-03 22:11:29 UTC (rev 257801)
+++ trunk/Source/WebKitLegacy/win/WebKitCOMAPI.h	2020-03-03 22:19:57 UTC (rev 257802)
@@ -42,10 +42,8 @@
 // This bypasses CoCreateInstance entirely, so registry keys and isolated COM manifests aren't needed.
 HRESULT WEBKIT_API WebKitCreateInstance(REFCLSID, IUnknown* pUnkOuter, REFIID, _COM_Outptr_ void** ppvObject);
 
-#if USE(CF)
 typedef struct __CFBundle* CFBundleRef;
 CFBundleRef WEBKIT_API webKitBundle();
-#endif
 
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to