Title: [205403] trunk/Source/WebKit2
Revision
205403
Author
[email protected]
Date
2016-09-03 07:42:18 -0700 (Sat, 03 Sep 2016)

Log Message

Web Inspector: Move WebKit2 WebInspector files to #pragma once
https://bugs.webkit.org/show_bug.cgi?id=161550

Patch by Joseph Pecoraro <[email protected]> on 2016-09-03
Reviewed by Darin Adler.

* UIProcess/InspectorServer/WebInspectorServer.h:
* UIProcess/WebInspectorProxy.h:
* UIProcess/gtk/WebInspectorClientGtk.h:
* WebProcess/WebCoreSupport/WebInspectorClient.h:
* WebProcess/WebPage/WebInspector.h:
* WebProcess/WebPage/WebInspectorFrontendAPIDispatcher.h:
* WebProcess/WebPage/WebInspectorUI.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (205402 => 205403)


--- trunk/Source/WebKit2/ChangeLog	2016-09-03 14:40:36 UTC (rev 205402)
+++ trunk/Source/WebKit2/ChangeLog	2016-09-03 14:42:18 UTC (rev 205403)
@@ -1,3 +1,18 @@
+2016-09-03  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: Move WebKit2 WebInspector files to #pragma once
+        https://bugs.webkit.org/show_bug.cgi?id=161550
+
+        Reviewed by Darin Adler.
+
+        * UIProcess/InspectorServer/WebInspectorServer.h:
+        * UIProcess/WebInspectorProxy.h:
+        * UIProcess/gtk/WebInspectorClientGtk.h:
+        * WebProcess/WebCoreSupport/WebInspectorClient.h:
+        * WebProcess/WebPage/WebInspector.h:
+        * WebProcess/WebPage/WebInspectorFrontendAPIDispatcher.h:
+        * WebProcess/WebPage/WebInspectorUI.h:
+
 2016-09-02  Michael Catanzaro  <[email protected]>
 
         [GTK] -Wmissing-field-initializers on WaylandCompositor.cpp:295

Modified: trunk/Source/WebKit2/UIProcess/InspectorServer/WebInspectorServer.h (205402 => 205403)


--- trunk/Source/WebKit2/UIProcess/InspectorServer/WebInspectorServer.h	2016-09-03 14:40:36 UTC (rev 205402)
+++ trunk/Source/WebKit2/UIProcess/InspectorServer/WebInspectorServer.h	2016-09-03 14:42:18 UTC (rev 205403)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebInspectorServer_h
-#define WebInspectorServer_h
+#pragma once
 
 #if ENABLE(INSPECTOR_SERVER)
 
@@ -75,5 +74,3 @@
 }
 
 #endif // ENABLE(INSPECTOR_SERVER)
-
-#endif // WebInspectorServer_h

Modified: trunk/Source/WebKit2/UIProcess/WebInspectorProxy.h (205402 => 205403)


--- trunk/Source/WebKit2/UIProcess/WebInspectorProxy.h	2016-09-03 14:40:36 UTC (rev 205402)
+++ trunk/Source/WebKit2/UIProcess/WebInspectorProxy.h	2016-09-03 14:42:18 UTC (rev 205403)
@@ -24,8 +24,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebInspectorProxy_h
-#define WebInspectorProxy_h
+#pragma once
 
 #include "APIObject.h"
 #include "Attachment.h"
@@ -243,7 +242,7 @@
     bool m_isAttached { false };
     bool m_canAttach { false };
     bool m_isProfilingPage { false };
-    bool m_showMessageSent { false };    
+    bool m_showMessageSent { false };
     bool m_ignoreFirstBringToFront { false };
     bool m_elementSelectionActive { false };
     bool m_ignoreElementSelectionChange { false };
@@ -275,5 +274,3 @@
 };
 
 } // namespace WebKit
-
-#endif // WebInspectorProxy_h

Modified: trunk/Source/WebKit2/UIProcess/gtk/WebInspectorClientGtk.h (205402 => 205403)


--- trunk/Source/WebKit2/UIProcess/gtk/WebInspectorClientGtk.h	2016-09-03 14:40:36 UTC (rev 205402)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebInspectorClientGtk.h	2016-09-03 14:42:18 UTC (rev 205403)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebInspectorClientGtk_h
-#define WebInspectorClientGtk_h
+#pragma once
 
 #include "APIClient.h"
 #include "WKInspectorClientGtk.h"
-
 #include <wtf/text/WTFString.h>
 
 namespace API {
@@ -57,5 +55,3 @@
 };
 
 } // namespace WebKit
-
-#endif // WebInspectorClientGtk_h

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.h (205402 => 205403)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.h	2016-09-03 14:40:36 UTC (rev 205402)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.h	2016-09-03 14:42:18 UTC (rev 205403)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebInspectorClient_h
-#define WebInspectorClient_h
+#pragma once
 
 #include <WebCore/InspectorClient.h>
 #include <WebCore/PageOverlay.h>
@@ -88,5 +87,3 @@
 };
 
 } // namespace WebKit
-
-#endif // WebInspectorClient_h

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebInspector.h (205402 => 205403)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebInspector.h	2016-09-03 14:40:36 UTC (rev 205402)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebInspector.h	2016-09-03 14:42:18 UTC (rev 205403)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebInspector_h
-#define WebInspector_h
+#pragma once
 
 #include "APIObject.h"
 #include "Connection.h"
@@ -117,5 +116,3 @@
 };
 
 } // namespace WebKit
-
-#endif // WebInspector_h

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebInspectorFrontendAPIDispatcher.h (205402 => 205403)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebInspectorFrontendAPIDispatcher.h	2016-09-03 14:40:36 UTC (rev 205402)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebInspectorFrontendAPIDispatcher.h	2016-09-03 14:42:18 UTC (rev 205403)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebInspectorFrontendAPIDispatcher_h
-#define WebInspectorFrontendAPIDispatcher_h
+#pragma once
 
 #include <wtf/Deque.h>
 #include <wtf/text/WTFString.h>
@@ -59,5 +58,3 @@
 };
 
 } // namespace WebKit
-
-#endif // WebInspectorFrontendAPIDispatcher_h

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebInspectorUI.h (205402 => 205403)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebInspectorUI.h	2016-09-03 14:40:36 UTC (rev 205402)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebInspectorUI.h	2016-09-03 14:42:18 UTC (rev 205403)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebInspectorUI_h
-#define WebInspectorUI_h
+#pragma once
 
 #include "Connection.h"
 #include "WebInspectorFrontendAPIDispatcher.h"
@@ -132,5 +131,3 @@
 };
 
 } // namespace WebKit
-
-#endif // WebInspectorUI_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to