Title: [285724] trunk/Source
Revision
285724
Author
[email protected]
Date
2021-11-12 08:39:49 -0800 (Fri, 12 Nov 2021)

Log Message

Some C++ source files use #pragma once
https://bugs.webkit.org/show_bug.cgi?id=233040

Source/WebCore:

Reviewed by Chris Dumez.

Remove spurious usage of "#pragma once" in implementation files.

No new tests needed.

* Modules/WebGPU/GPUBuffer.cpp:
* Modules/WebGPU/GPUCommandEncoder.cpp:
* Modules/WebGPU/GPUComputePassEncoder.cpp:
* Modules/WebGPU/GPUQuerySet.cpp:
* Modules/WebGPU/GPUQueue.cpp:
* Modules/WebGPU/GPURenderBundleEncoder.cpp:
* Modules/WebGPU/GPURenderPassEncoder.cpp:
* page/PerformanceNavigationTiming.cpp:

Source/WebKit:

Remove spurious usage of "#pragma once" in implementation files.

Reviewed by Chris Dumez.

* WebProcess/WebCoreSupport/WebCaptionPreferencesDelegate.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (285723 => 285724)


--- trunk/Source/WebCore/ChangeLog	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebCore/ChangeLog	2021-11-12 16:39:49 UTC (rev 285724)
@@ -1,3 +1,23 @@
+2021-11-12  Adrian Perez de Castro  <[email protected]>
+
+        Some C++ source files use #pragma once
+        https://bugs.webkit.org/show_bug.cgi?id=233040
+
+        Reviewed by Chris Dumez.
+
+        Remove spurious usage of "#pragma once" in implementation files.
+
+        No new tests needed.
+
+        * Modules/WebGPU/GPUBuffer.cpp:
+        * Modules/WebGPU/GPUCommandEncoder.cpp:
+        * Modules/WebGPU/GPUComputePassEncoder.cpp:
+        * Modules/WebGPU/GPUQuerySet.cpp:
+        * Modules/WebGPU/GPUQueue.cpp:
+        * Modules/WebGPU/GPURenderBundleEncoder.cpp:
+        * Modules/WebGPU/GPURenderPassEncoder.cpp:
+        * page/PerformanceNavigationTiming.cpp:
+
 2021-11-12  Philippe Normand  <[email protected]>
 
         [GLib] Developer build with release logs disabled fails

Modified: trunk/Source/WebCore/Modules/WebGPU/GPUBuffer.cpp (285723 => 285724)


--- trunk/Source/WebCore/Modules/WebGPU/GPUBuffer.cpp	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebCore/Modules/WebGPU/GPUBuffer.cpp	2021-11-12 16:39:49 UTC (rev 285724)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #include "config.h"
 #include "GPUBuffer.h"
 

Modified: trunk/Source/WebCore/Modules/WebGPU/GPUCommandEncoder.cpp (285723 => 285724)


--- trunk/Source/WebCore/Modules/WebGPU/GPUCommandEncoder.cpp	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebCore/Modules/WebGPU/GPUCommandEncoder.cpp	2021-11-12 16:39:49 UTC (rev 285724)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #include "config.h"
 #include "GPUCommandEncoder.h"
 

Modified: trunk/Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.cpp (285723 => 285724)


--- trunk/Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.cpp	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.cpp	2021-11-12 16:39:49 UTC (rev 285724)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #include "config.h"
 #include "GPUComputePassEncoder.h"
 

Modified: trunk/Source/WebCore/Modules/WebGPU/GPUQuerySet.cpp (285723 => 285724)


--- trunk/Source/WebCore/Modules/WebGPU/GPUQuerySet.cpp	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebCore/Modules/WebGPU/GPUQuerySet.cpp	2021-11-12 16:39:49 UTC (rev 285724)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #include "config.h"
 #include "GPUQuerySet.h"
 

Modified: trunk/Source/WebCore/Modules/WebGPU/GPUQueue.cpp (285723 => 285724)


--- trunk/Source/WebCore/Modules/WebGPU/GPUQueue.cpp	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebCore/Modules/WebGPU/GPUQueue.cpp	2021-11-12 16:39:49 UTC (rev 285724)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #include "config.h"
 #include "GPUQueue.h"
 

Modified: trunk/Source/WebCore/Modules/WebGPU/GPURenderBundleEncoder.cpp (285723 => 285724)


--- trunk/Source/WebCore/Modules/WebGPU/GPURenderBundleEncoder.cpp	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebCore/Modules/WebGPU/GPURenderBundleEncoder.cpp	2021-11-12 16:39:49 UTC (rev 285724)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #include "config.h"
 #include "GPURenderBundleEncoder.h"
 

Modified: trunk/Source/WebCore/Modules/WebGPU/GPURenderPassEncoder.cpp (285723 => 285724)


--- trunk/Source/WebCore/Modules/WebGPU/GPURenderPassEncoder.cpp	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebCore/Modules/WebGPU/GPURenderPassEncoder.cpp	2021-11-12 16:39:49 UTC (rev 285724)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #include "config.h"
 #include "GPURenderPassEncoder.h"
 

Modified: trunk/Source/WebCore/page/PerformanceNavigationTiming.cpp (285723 => 285724)


--- trunk/Source/WebCore/page/PerformanceNavigationTiming.cpp	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebCore/page/PerformanceNavigationTiming.cpp	2021-11-12 16:39:49 UTC (rev 285724)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #include "config.h"
 #include "PerformanceNavigationTiming.h"
 

Modified: trunk/Source/WebKit/ChangeLog (285723 => 285724)


--- trunk/Source/WebKit/ChangeLog	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebKit/ChangeLog	2021-11-12 16:39:49 UTC (rev 285724)
@@ -1,3 +1,14 @@
+2021-11-12  Adrian Perez de Castro  <[email protected]>
+
+        Some C++ source files use #pragma once
+        https://bugs.webkit.org/show_bug.cgi?id=233040
+
+        Remove spurious usage of "#pragma once" in implementation files.
+
+        Reviewed by Chris Dumez.
+
+        * WebProcess/WebCoreSupport/WebCaptionPreferencesDelegate.cpp:
+
 2021-11-12  Per Arne Vollan <[email protected]>
 
         [macOS][GPUP] Remove sandbox write access to files

Modified: trunk/Source/WebKit/WebProcess/WebCoreSupport/WebCaptionPreferencesDelegate.cpp (285723 => 285724)


--- trunk/Source/WebKit/WebProcess/WebCoreSupport/WebCaptionPreferencesDelegate.cpp	2021-11-12 16:38:59 UTC (rev 285723)
+++ trunk/Source/WebKit/WebProcess/WebCoreSupport/WebCaptionPreferencesDelegate.cpp	2021-11-12 16:39:49 UTC (rev 285724)
@@ -23,8 +23,6 @@
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#pragma once
-
 #include "config.h"
 #include "WebCaptionPreferencesDelegate.h"
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to