Title: [204479] trunk/Source
Revision
204479
Author
[email protected]
Date
2016-08-15 13:55:16 -0700 (Mon, 15 Aug 2016)

Log Message

Use #pragma once in inspector headers
https://bugs.webkit.org/show_bug.cgi?id=160861

Patch by Joseph Pecoraro <[email protected]> on 2016-08-15
Reviewed by Mark Lam.

* inspector/*.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (204478 => 204479)


--- trunk/Source/_javascript_Core/ChangeLog	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-08-15 20:55:16 UTC (rev 204479)
@@ -1,3 +1,12 @@
+2016-08-15  Joseph Pecoraro  <[email protected]>
+
+        Use #pragma once in inspector headers
+        https://bugs.webkit.org/show_bug.cgi?id=160861
+
+        Reviewed by Mark Lam.
+
+        * inspector/*.h:
+
 2016-08-15  Daniel Bates  <[email protected]>
 
         Cannot build WebKit for iOS device using Xcode 7.3/iOS 9.3 public SDK due to missing

Modified: trunk/Source/_javascript_Core/inspector/ConsoleMessage.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/ConsoleMessage.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/ConsoleMessage.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -28,8 +28,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ConsoleMessage_h
-#define ConsoleMessage_h
+#pragma once
 
 #include "ConsoleTypes.h"
 #include "InspectorFrontendDispatchers.h"
@@ -93,5 +92,3 @@
 };
 
 } // namespace Inspector
-
-#endif // ConsoleMessage_h

Modified: trunk/Source/_javascript_Core/inspector/ContentSearchUtilities.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/ContentSearchUtilities.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/ContentSearchUtilities.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -26,8 +26,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ContentSearchUtilities_h
-#define ContentSearchUtilities_h
+#pragma once
 
 #include "InspectorProtocolObjects.h"
 #include <wtf/Vector.h>
@@ -53,5 +52,3 @@
 } // namespace ContentSearchUtilities
 
 } // namespace Inspector
-
-#endif // !defined(ContentSearchUtilities_h)

Modified: trunk/Source/_javascript_Core/inspector/EventLoop.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/EventLoop.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/EventLoop.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef EventLoop_h
-#define EventLoop_h
+#pragma once
 
 #include <wtf/Noncopyable.h>
 
@@ -54,5 +53,3 @@
 };
 
 } // namespace Inspector
-
-#endif // EventLoop_h

Modified: trunk/Source/_javascript_Core/inspector/IdentifiersFactory.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/IdentifiersFactory.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/IdentifiersFactory.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef IdentifiersFactory_h
-#define IdentifiersFactory_h
+#pragma once
 
 #include <wtf/text/WTFString.h>
 
@@ -43,5 +42,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(IdentifiersFactory_h)

Modified: trunk/Source/_javascript_Core/inspector/InjectedScript.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InjectedScript.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InjectedScript.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InjectedScript_h
-#define InjectedScript_h
+#pragma once
 
 #include "InjectedScriptBase.h"
 #include <wtf/Forward.h>
@@ -81,5 +80,3 @@
 };
 
 } // namespace Inspector
-
-#endif // InjectedScript_h

Modified: trunk/Source/_javascript_Core/inspector/InjectedScriptBase.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InjectedScriptBase.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InjectedScriptBase.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InjectedScriptBase_h
-#define InjectedScriptBase_h
+#pragma once
 
 #include "InspectorEnvironment.h"
 #include "InspectorProtocolObjects.h"
@@ -74,5 +73,3 @@
 };
 
 } // namespace Inspector
-
-#endif // InjectedScriptBase_h

Modified: trunk/Source/_javascript_Core/inspector/InjectedScriptHost.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InjectedScriptHost.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InjectedScriptHost.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InjectedScriptHost_h
-#define InjectedScriptHost_h
+#pragma once
 
 #include "JSCJSValueInlines.h"
 #include "inspector/PerGlobalObjectWrapperWorld.h"
@@ -49,5 +48,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InjectedScriptHost_h)

Modified: trunk/Source/_javascript_Core/inspector/InjectedScriptManager.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InjectedScriptManager.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InjectedScriptManager.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InjectedScriptManager_h
-#define InjectedScriptManager_h
+#pragma once
 
 #include "InjectedScript.h"
 #include "InjectedScriptHost.h"
@@ -82,5 +81,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InjectedScriptManager_h)

Modified: trunk/Source/_javascript_Core/inspector/InjectedScriptModule.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InjectedScriptModule.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InjectedScriptModule.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InjectedScriptModule_h
-#define InjectedScriptModule_h
+#pragma once
 
 #include "InjectedScriptBase.h"
 #include <wtf/text/WTFString.h>
@@ -60,5 +59,3 @@
 };
 
 } // namespace Inspector
-
-#endif // InjectedScriptModule_h

Modified: trunk/Source/_javascript_Core/inspector/InspectorAgentBase.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InspectorAgentBase.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InspectorAgentBase.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorAgentBase_h
-#define InspectorAgentBase_h
+#pragma once
 
 #include <wtf/text/WTFString.h>
 
@@ -83,5 +82,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InspectorAgentBase_h)

Modified: trunk/Source/_javascript_Core/inspector/InspectorAgentRegistry.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InspectorAgentRegistry.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InspectorAgentRegistry.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorAgentRegistry_h
-#define InspectorAgentRegistry_h
+#pragma once
 
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
@@ -66,5 +65,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InspectorAgentRegistry_h)

Modified: trunk/Source/_javascript_Core/inspector/InspectorBackendDispatcher.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InspectorBackendDispatcher.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InspectorBackendDispatcher.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorBackendDispatcher_h
-#define InspectorBackendDispatcher_h
+#pragma once
 
 #include "InspectorFrontendRouter.h"
 #include "InspectorProtocolTypes.h"
@@ -119,5 +118,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InspectorBackendDispatcher_h)

Modified: trunk/Source/_javascript_Core/inspector/InspectorEnvironment.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InspectorEnvironment.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InspectorEnvironment.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorEnvironment_h
-#define InspectorEnvironment_h
+#pragma once
 
 #include "CallData.h"
 
@@ -58,5 +57,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InspectorEnvironment_h)

Modified: trunk/Source/_javascript_Core/inspector/InspectorFrontendChannel.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InspectorFrontendChannel.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InspectorFrontendChannel.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorFrontendChannel_h
-#define InspectorFrontendChannel_h
+#pragma once
 
 #include <wtf/text/WTFString.h>
 
@@ -47,5 +46,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InspectorFrontendChannel_h)

Modified: trunk/Source/_javascript_Core/inspector/InspectorFrontendRouter.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InspectorFrontendRouter.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InspectorFrontendRouter.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorFrontendRouter_h
-#define InspectorFrontendRouter_h
+#pragma once
 
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
@@ -55,5 +54,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InspectorFrontendRouter_h)

Modified: trunk/Source/_javascript_Core/inspector/InspectorProtocolTypes.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InspectorProtocolTypes.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InspectorProtocolTypes.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorProtocolTypes_h
-#define InspectorProtocolTypes_h
+#pragma once
 
 #include "InspectorValues.h"
 #include <wtf/Assertions.h>
@@ -179,5 +178,3 @@
 using Protocol::BindingTraits;
 
 } // namespace Inspector
-
-#endif // !defined(InspectorProtocolTypes_h)

Modified: trunk/Source/_javascript_Core/inspector/InspectorValues.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/InspectorValues.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/InspectorValues.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorValues_h
-#define InspectorValues_h
+#pragma once
 
 #include "JSExportMacros.h"
 #include <wtf/Assertions.h>
@@ -409,5 +408,3 @@
 }
 
 } // namespace Inspector
-
-#endif // !defined(InspectorValues_h)

Modified: trunk/Source/_javascript_Core/inspector/JSGlobalObjectInspectorController.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/JSGlobalObjectInspectorController.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/JSGlobalObjectInspectorController.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSGlobalObjectInspectorController_h
-#define JSGlobalObjectInspectorController_h
+#pragma once
 
 #include "InspectorAgentRegistry.h"
 #include "InspectorEnvironment.h"
@@ -131,5 +130,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(JSGlobalObjectInspectorController_h)

Modified: trunk/Source/_javascript_Core/inspector/JSGlobalObjectScriptDebugServer.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/JSGlobalObjectScriptDebugServer.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/JSGlobalObjectScriptDebugServer.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSGlobalObjectScriptDebugServer_h
-#define JSGlobalObjectScriptDebugServer_h
+#pragma once
 
 #include "ScriptDebugServer.h"
 
@@ -56,5 +55,3 @@
 };
 
 } // namespace Inspector
-
-#endif // JSGlobalObjectScriptDebugServer_h

Modified: trunk/Source/_javascript_Core/inspector/JSInjectedScriptHost.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/JSInjectedScriptHost.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/JSInjectedScriptHost.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSInjectedScriptHost_h
-#define JSInjectedScriptHost_h
+#pragma once
 
 #include "JSDestructibleObject.h"
 
@@ -82,5 +81,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(JSInjectedScriptHost_h)

Modified: trunk/Source/_javascript_Core/inspector/JSInjectedScriptHostPrototype.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/JSInjectedScriptHostPrototype.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/JSInjectedScriptHostPrototype.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSInjectedScriptHostPrototype_h
-#define JSInjectedScriptHostPrototype_h
+#pragma once
 
 #include "JSObject.h"
 
@@ -58,5 +57,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(JSInjectedScriptHostPrototype_h)

Modified: trunk/Source/_javascript_Core/inspector/JSJavaScriptCallFrame.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/JSJavaScriptCallFrame.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/JSJavaScriptCallFrame.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSJavaScriptCallFrame_h
-#define JSJavaScriptCallFrame_h
+#pragma once
 
 #include "JSDestructibleObject.h"
 #include "_javascript_CallFrame.h"
@@ -94,5 +93,3 @@
 JSJavaScriptCallFrame* toJSJavaScriptCallFrame(JSC::JSValue);
 
 } // namespace Inspector
-
-#endif // !defined(JSJavaScriptCallFrame_h)

Modified: trunk/Source/_javascript_Core/inspector/JSJavaScriptCallFramePrototype.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/JSJavaScriptCallFramePrototype.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/JSJavaScriptCallFramePrototype.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSJavaScriptCallFramePrototype_h
-#define JSJavaScriptCallFramePrototype_h
+#pragma once
 
 #include "JSObject.h"
 
@@ -58,5 +57,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(JSJavaScriptCallFramePrototype_h)

Modified: trunk/Source/_javascript_Core/inspector/_javascript_CallFrame.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/_javascript_CallFrame.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/_javascript_CallFrame.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef _javascript_CallFrame_h
-#define _javascript_CallFrame_h
+#pragma once
 
 #include "JSCJSValueInlines.h"
 #include "debugger/DebuggerCallFrame.h"
@@ -66,5 +65,3 @@
 };
 
 } // namespace Inspector
-
-#endif // _javascript_CallFrame_h

Modified: trunk/Source/_javascript_Core/inspector/PerGlobalObjectWrapperWorld.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/PerGlobalObjectWrapperWorld.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/PerGlobalObjectWrapperWorld.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef PerGlobalObjectWrapperWorld_h
-#define PerGlobalObjectWrapperWorld_h
+#pragma once
 
 #include "JSCJSValueInlines.h"
 #include "Strong.h"
@@ -44,5 +43,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(PerGlobalObjectWrapperWorld_h)

Modified: trunk/Source/_javascript_Core/inspector/ScriptArguments.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/ScriptArguments.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/ScriptArguments.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptArguments_h
-#define ScriptArguments_h
+#pragma once
 
 #include <heap/Strong.h>
 #include <wtf/Forward.h>
@@ -72,5 +71,3 @@
 };
 
 } // namespace Inspector
-
-#endif // ScriptArguments_h

Modified: trunk/Source/_javascript_Core/inspector/ScriptBreakpoint.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/ScriptBreakpoint.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/ScriptBreakpoint.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptBreakpoint_h
-#define ScriptBreakpoint_h
+#pragma once
 
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
@@ -90,5 +89,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(ScriptBreakpoint_h)

Modified: trunk/Source/_javascript_Core/inspector/ScriptCallFrame.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/ScriptCallFrame.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/ScriptCallFrame.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptCallFrame_h
-#define ScriptCallFrame_h
+#pragma once
 
 #include "DebuggerPrimitives.h"
 #include "InspectorProtocolObjects.h"
@@ -63,5 +62,3 @@
 };
 
 } // namespace Inspector
-
-#endif // ScriptCallFrame_h

Modified: trunk/Source/_javascript_Core/inspector/ScriptCallStack.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/ScriptCallStack.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/ScriptCallStack.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptCallStack_h
-#define ScriptCallStack_h
+#pragma once
 
 #include "InspectorProtocolObjects.h"
 #include "ScriptCallFrame.h"
@@ -68,5 +67,3 @@
 };
 
 } // namespace Inspector
-
-#endif // ScriptCallStack_h

Modified: trunk/Source/_javascript_Core/inspector/ScriptCallStackFactory.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/ScriptCallStackFactory.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/ScriptCallStackFactory.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptCallStackFactory_h
-#define ScriptCallStackFactory_h
+#pragma once
 
 #include <wtf/Forward.h>
 
@@ -52,5 +51,3 @@
 JS_EXPORT_PRIVATE Ref<ScriptArguments> createScriptArguments(JSC::ExecState*, unsigned skipArgumentCount);
 
 } // namespace Inspector
-
-#endif // ScriptCallStackFactory_h

Modified: trunk/Source/_javascript_Core/inspector/ScriptDebugListener.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/ScriptDebugListener.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/ScriptDebugListener.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptDebugListener_h
-#define ScriptDebugListener_h
+#pragma once
 
 #include "debugger/Debugger.h"
 #include <wtf/text/WTFString.h>
@@ -64,5 +63,3 @@
 };
 
 } // namespace Inspector
-
-#endif // ScriptDebugListener_h

Modified: trunk/Source/_javascript_Core/inspector/ScriptDebugServer.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/ScriptDebugServer.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/ScriptDebugServer.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptDebugServer_h
-#define ScriptDebugServer_h
+#pragma once
 
 #include "ScriptBreakpoint.h"
 #include "ScriptDebugListener.h"
@@ -110,5 +109,3 @@
 };
 
 } // namespace Inspector
-
-#endif // ScriptDebugServer_h

Modified: trunk/Source/_javascript_Core/inspector/agents/InspectorAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/agents/InspectorAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/agents/InspectorAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorAgent_h
-#define InspectorAgent_h
+#pragma once
 
 #include "InspectorBackendDispatchers.h"
 #include "InspectorFrontendDispatchers.h"
@@ -80,5 +79,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InspectorAgent_h)

Modified: trunk/Source/_javascript_Core/inspector/agents/InspectorConsoleAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/agents/InspectorConsoleAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/agents/InspectorConsoleAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef InspectorConsoleAgent_h
-#define InspectorConsoleAgent_h
+#pragma once
 
 #include "InspectorBackendDispatchers.h"
 #include "InspectorFrontendDispatchers.h"
@@ -92,5 +91,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InspectorConsoleAgent_h)

Modified: trunk/Source/_javascript_Core/inspector/agents/InspectorDebuggerAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/agents/InspectorDebuggerAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/agents/InspectorDebuggerAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorDebuggerAgent_h
-#define InspectorDebuggerAgent_h
+#pragma once
 
 #include "InspectorBackendDispatchers.h"
 #include "InspectorFrontendDispatchers.h"
@@ -171,5 +170,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(InspectorDebuggerAgent_h)

Modified: trunk/Source/_javascript_Core/inspector/agents/InspectorHeapAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/agents/InspectorHeapAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/agents/InspectorHeapAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorHeapAgent_h
-#define InspectorHeapAgent_h
+#pragma once
 
 #include "HeapSnapshot.h"
 #include "InspectorBackendDispatchers.h"
@@ -82,5 +81,3 @@
 };
 
 } // namespace Inspector
-
-#endif // InspectorHeapAgent_h

Modified: trunk/Source/_javascript_Core/inspector/agents/InspectorRuntimeAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/agents/InspectorRuntimeAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/agents/InspectorRuntimeAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorRuntimeAgent_h
-#define InspectorRuntimeAgent_h
+#pragma once
 
 #include "InspectorBackendDispatchers.h"
 #include "InspectorFrontendDispatchers.h"
@@ -96,5 +95,3 @@
 };
 
 } // namespace Inspector
-
-#endif // InspectorRuntimeAgent_h

Modified: trunk/Source/_javascript_Core/inspector/agents/InspectorScriptProfilerAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/agents/InspectorScriptProfilerAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/agents/InspectorScriptProfilerAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorScriptProfilerAgent_h
-#define InspectorScriptProfilerAgent_h
+#pragma once
 
 #include "InspectorBackendDispatchers.h"
 #include "InspectorFrontendDispatchers.h"
@@ -82,5 +81,3 @@
 };
 
 } // namespace Inspector
-
-#endif // InspectorScriptProfilerAgent_h

Modified: trunk/Source/_javascript_Core/inspector/agents/JSGlobalObjectConsoleAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/agents/JSGlobalObjectConsoleAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/agents/JSGlobalObjectConsoleAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSGlobalObjectConsoleAgent_h
-#define JSGlobalObjectConsoleAgent_h
+#pragma once
 
 #include "InspectorConsoleAgent.h"
 #include "JSGlobalObjectScriptDebugServer.h"
@@ -44,5 +43,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(JSGlobalObjectConsoleAgent_h)

Modified: trunk/Source/_javascript_Core/inspector/agents/JSGlobalObjectDebuggerAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/agents/JSGlobalObjectDebuggerAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/agents/JSGlobalObjectDebuggerAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSGlobalObjectDebuggerAgent_h
-#define JSGlobalObjectDebuggerAgent_h
+#pragma once
 
 #include "InspectorDebuggerAgent.h"
 #include "JSGlobalObjectScriptDebugServer.h"
@@ -54,5 +53,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(JSGlobalObjectDebuggerAgent_h)

Modified: trunk/Source/_javascript_Core/inspector/agents/JSGlobalObjectRuntimeAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/agents/JSGlobalObjectRuntimeAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/agents/JSGlobalObjectRuntimeAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSGlobalObjectRuntimeAgent_h
-#define JSGlobalObjectRuntimeAgent_h
+#pragma once
 
 #include "InspectorRuntimeAgent.h"
 
@@ -54,5 +53,3 @@
 };
 
 } // namespace Inspector
-
-#endif // !defined(JSGlobalObjectRuntimeAgent_h)

Modified: trunk/Source/_javascript_Core/inspector/augmentable/AlternateDispatchableAgent.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/augmentable/AlternateDispatchableAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/augmentable/AlternateDispatchableAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AlternateDispatchableAgent_h
-#define AlternateDispatchableAgent_h
+#pragma once
 
 #if ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
 
@@ -69,5 +68,3 @@
 } // namespace Inspector
 
 #endif // ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
-
-#endif // AlternateDispatchableAgent_h

Modified: trunk/Source/_javascript_Core/inspector/augmentable/AugmentableInspectorController.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/augmentable/AugmentableInspectorController.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/augmentable/AugmentableInspectorController.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AugmentableInspectorController_h
-#define AugmentableInspectorController_h
+#pragma once
 
 #if ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
 
@@ -53,5 +52,3 @@
 } // namespace Inspector
 
 #endif // ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
-
-#endif // !defined(AugmentableInspectorController_h)

Modified: trunk/Source/_javascript_Core/inspector/augmentable/AugmentableInspectorControllerClient.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/augmentable/AugmentableInspectorControllerClient.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/augmentable/AugmentableInspectorControllerClient.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AugmentableInspectorControllerClient_h
-#define AugmentableInspectorControllerClient_h
+#pragma once
 
 #if ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
 
@@ -41,5 +40,3 @@
 } // namespace Inspector
 
 #endif // ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
-
-#endif // !defined(AugmentableInspectorControllerClient_h)

Modified: trunk/Source/_javascript_Core/inspector/remote/RemoteAutomationTarget.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/remote/RemoteAutomationTarget.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/remote/RemoteAutomationTarget.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,11 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#pragma once
+
 #if ENABLE(REMOTE_INSPECTOR)
 
-#ifndef RemoteAutomationTarget_h
-#define RemoteAutomationTarget_h
-
 #include "RemoteControllableTarget.h"
 #include <wtf/text/WTFString.h>
 
@@ -54,6 +53,4 @@
 
 SPECIALIZE_TYPE_TRAITS_CONTROLLABLE_TARGET(Inspector::RemoteAutomationTarget, Automation)
 
-#endif // RemoteAutomationTarget_h
-
 #endif // ENABLE(REMOTE_INSPECTOR)

Modified: trunk/Source/_javascript_Core/inspector/remote/RemoteConnectionToTarget.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/remote/RemoteConnectionToTarget.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/remote/RemoteConnectionToTarget.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,11 +23,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#pragma once
+
 #if ENABLE(REMOTE_INSPECTOR)
 
-#ifndef RemoteConnectionToTarget_h
-#define RemoteConnectionToTarget_h
-
 #import "InspectorFrontendChannel.h"
 #import "RemoteConnectionToTarget.h"
 #import "RemoteInspector.h"
@@ -93,6 +92,4 @@
 
 } // namespace Inspector
 
-#endif // RemoteConnectionToTarget_h
-
 #endif // ENABLE(REMOTE_INSPECTOR)

Modified: trunk/Source/_javascript_Core/inspector/remote/RemoteControllableTarget.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/remote/RemoteControllableTarget.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/remote/RemoteControllableTarget.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,11 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#pragma once
+
 #if ENABLE(REMOTE_INSPECTOR)
 
-#ifndef RemoteControllableTarget_h
-#define RemoteControllableTarget_h
-
 #include <CoreFoundation/CFRunLoop.h>
 #include <wtf/TypeCasts.h>
 #include <wtf/text/WTFString.h>
@@ -67,6 +66,4 @@
     static bool isType(const Inspector::RemoteControllableTarget& target) { return target.type() == Inspector::RemoteControllableTarget::Type::ToClassType; } \
 SPECIALIZE_TYPE_TRAITS_END()
 
-#endif // RemoteControllableTarget_h
-
 #endif // ENABLE(REMOTE_INSPECTOR)

Modified: trunk/Source/_javascript_Core/inspector/remote/RemoteInspectionTarget.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/remote/RemoteInspectionTarget.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/remote/RemoteInspectionTarget.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,11 +23,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#pragma once
+
 #if ENABLE(REMOTE_INSPECTOR)
 
-#ifndef RemoteInspectionTarget_h
-#define RemoteInspectionTarget_h
-
 #include "RemoteControllableTarget.h"
 #include <wtf/RetainPtr.h>
 #include <wtf/TypeCasts.h>
@@ -73,6 +72,4 @@
     }
 SPECIALIZE_TYPE_TRAITS_END()
 
-#endif // RemoteInspectionTarget_h
-
 #endif // ENABLE(REMOTE_INSPECTOR)

Modified: trunk/Source/_javascript_Core/inspector/remote/RemoteInspector.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/remote/RemoteInspector.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/remote/RemoteInspector.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,11 +23,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#pragma once
+
 #if ENABLE(REMOTE_INSPECTOR)
 
-#ifndef RemoteInspector_h
-#define RemoteInspector_h
-
 #import "RemoteInspectorXPCConnection.h"
 #import <wtf/Forward.h>
 #import <wtf/HashMap.h>
@@ -151,6 +150,4 @@
 
 } // namespace Inspector
 
-#endif // RemoteInspector_h
-
 #endif // ENABLE(REMOTE_INSPECTOR)

Modified: trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorConstants.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorConstants.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorConstants.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef RemoteInspectorConstants_h
-#define RemoteInspectorConstants_h
+#pragma once
 
 // WIRConstants are "Web Inspector Relay" constants shared between
 // the WebInspector framework on the OS X side, webinspectord, and
@@ -101,5 +100,3 @@
 #define WIRProxyApplicationParentAuditDataKey   @"WIRProxyApplicationParentAuditData"
 #define WIRProxyApplicationSetupMessage         @"WIRProxyApplicationSetupMessage"
 #define WIRProxyApplicationSetupResponseMessage @"WIRProxyApplicationSetupResponseMessage"
-
-#endif

Modified: trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorXPCConnection.h (204478 => 204479)


--- trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorXPCConnection.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorXPCConnection.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,11 +23,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#pragma once
+
 #if ENABLE(REMOTE_INSPECTOR)
 
-#ifndef RemoteInspectorXPCConnection_h
-#define RemoteInspectorXPCConnection_h
-
 #import <dispatch/dispatch.h>
 #import <wtf/Lock.h>
 #import <wtf/ThreadSafeRefCounted.h>
@@ -75,6 +74,4 @@
 
 } // namespace Inspector
 
-#endif // RemoteInspectorXPCConnection_h
-
 #endif // ENABLE(REMOTE_INSPECTOR)

Modified: trunk/Source/WebCore/ChangeLog (204478 => 204479)


--- trunk/Source/WebCore/ChangeLog	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/ChangeLog	2016-08-15 20:55:16 UTC (rev 204479)
@@ -1,3 +1,12 @@
+2016-08-15  Joseph Pecoraro  <[email protected]>
+
+        Use #pragma once in inspector headers
+        https://bugs.webkit.org/show_bug.cgi?id=160861
+
+        Reviewed by Mark Lam.
+
+        * inspector/*.h:
+
 2016-08-15  Keith Rollin  <[email protected]>
 
         Rename LOG_ALWAYS

Modified: trunk/Source/WebCore/inspector/CommandLineAPIHost.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/CommandLineAPIHost.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/CommandLineAPIHost.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef CommandLineAPIHost_h
-#define CommandLineAPIHost_h
+#pragma once
 
 #include <inspector/PerGlobalObjectWrapperWorld.h>
 #include <wtf/RefCounted.h>
@@ -114,5 +113,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(CommandLineAPIHost_h)

Modified: trunk/Source/WebCore/inspector/CommandLineAPIModule.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/CommandLineAPIModule.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/CommandLineAPIModule.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef CommandLineAPIModule_h
-#define CommandLineAPIModule_h
+#pragma once
 
 #include <inspector/InjectedScriptModule.h>
 
@@ -41,5 +40,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(CommandLineAPIModule_h)

Modified: trunk/Source/WebCore/inspector/DOMEditor.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/DOMEditor.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/DOMEditor.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -28,8 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DOMEditor_h
-#define DOMEditor_h
+#pragma once
 
 #include "ExceptionCode.h"
 
@@ -81,5 +80,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(DOMEditor_h)

Modified: trunk/Source/WebCore/inspector/DOMPatchSupport.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/DOMPatchSupport.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/DOMPatchSupport.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -28,11 +28,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DOMPatchSupport_h
-#define DOMPatchSupport_h
+#pragma once
 
 #include "ExceptionCode.h"
-
 #include <wtf/HashMap.h>
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
@@ -78,5 +76,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(DOMPatchSupport_h)

Modified: trunk/Source/WebCore/inspector/InspectorApplicationCacheAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorApplicationCacheAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorApplicationCacheAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -22,8 +22,7 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorApplicationCacheAgent_h
-#define InspectorApplicationCacheAgent_h
+#pragma once
 
 #include "ApplicationCacheHost.h"
 #include "InspectorWebAgentBase.h"
@@ -77,4 +76,3 @@
 
 } // namespace WebCore
 
-#endif // InspectorApplicationCacheAgent_h

Modified: trunk/Source/WebCore/inspector/InspectorCSSAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorCSSAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorCSSAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorCSSAgent_h
-#define InspectorCSSAgent_h
+#pragma once
 
 #include "CSSSelector.h"
 #include "ContentSecurityPolicy.h"
@@ -185,5 +184,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorCSSAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorClient.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorClient.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorClient.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorClient_h
-#define InspectorClient_h
+#pragma once
 
 #include <wtf/Forward.h>
 
@@ -68,5 +67,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorClient_h)

Modified: trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef InspectorConsoleInstrumentation_h
-#define InspectorConsoleInstrumentation_h
+#pragma once
 
 #include "InspectorInstrumentation.h"
 #include <inspector/ScriptArguments.h>
@@ -91,4 +90,3 @@
 
 } // namespace WebCore
 
-#endif // !defined(InspectorConsoleInstrumentation_h)

Modified: trunk/Source/WebCore/inspector/InspectorController.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorController.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorController.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorController_h
-#define InspectorController_h
+#pragma once
 
 #include "InspectorOverlay.h"
 #include "PageScriptDebugServer.h"
@@ -150,5 +149,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorController_h)

Modified: trunk/Source/WebCore/inspector/InspectorDOMAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorDOMAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorDOMAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorDOMAgent_h
-#define InspectorDOMAgent_h
+#pragma once
 
 #include "EventTarget.h"
 #include "InspectorWebAgentBase.h"
@@ -280,5 +279,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorDOMAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorDOMDebuggerAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorDOMDebuggerAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorDOMDebuggerAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorDOMDebuggerAgent_h
-#define InspectorDOMDebuggerAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
@@ -110,5 +109,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorDOMDebuggerAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorDOMStorageAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorDOMStorageAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorDOMStorageAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorDOMStorageAgent_h
-#define InspectorDOMStorageAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include "StorageArea.h"
@@ -84,5 +83,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorDOMStorageAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorDatabaseAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorDatabaseAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorDatabaseAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorDatabaseAgent_h
-#define InspectorDatabaseAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
@@ -81,5 +80,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorDatabaseAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorDatabaseResource.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorDatabaseResource.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorDatabaseResource.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -28,8 +28,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorDatabaseResource_h
-#define InspectorDatabaseResource_h
+#pragma once
 
 #include <inspector/InspectorFrontendDispatchers.h>
 #include <wtf/RefCounted.h>
@@ -60,5 +59,3 @@
 };
 
 } // namespace WebCore
-
-#endif // InspectorDatabaseResource_h

Modified: trunk/Source/WebCore/inspector/InspectorFrontendClient.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorFrontendClient.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorFrontendClient.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -28,16 +28,12 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorFrontendClient_h
-#define InspectorFrontendClient_h
+#pragma once
 
 #include <wtf/Forward.h>
 
 namespace WebCore {
 
-class ContextMenuItem;
-class Event;
-
 class InspectorFrontendClient {
 public:
     enum class DockSide {
@@ -81,5 +77,3 @@
 };
 
 } // namespace WebCore
-
-#endif

Modified: trunk/Source/WebCore/inspector/InspectorFrontendClientLocal.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorFrontendClientLocal.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorFrontendClientLocal.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorFrontendClientLocal_h
-#define InspectorFrontendClientLocal_h
+#pragma once
 
 #include "InspectorFrontendClient.h"
 #include <wtf/Forward.h>
@@ -130,5 +129,3 @@
 };
 
 } // namespace WebCore
-
-#endif

Modified: trunk/Source/WebCore/inspector/InspectorFrontendHost.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorFrontendHost.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorFrontendHost.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorFrontendHost_h
-#define InspectorFrontendHost_h
+#pragma once
 
 #include "ContextMenu.h"
 #include "ContextMenuProvider.h"
@@ -109,5 +108,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorFrontendHost_h)

Modified: trunk/Source/WebCore/inspector/InspectorHistory.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorHistory.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorHistory.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -28,20 +28,14 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorHistory_h
-#define InspectorHistory_h
+#pragma once
 
 #include "ExceptionCode.h"
-
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
 
-class ContainerNode;
-class Element;
-class Node;
-
 class InspectorHistory final {
     WTF_MAKE_NONCOPYABLE(InspectorHistory); WTF_MAKE_FAST_ALLOCATED;
 public:
@@ -81,5 +75,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorHistory_h)

Modified: trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp	2016-08-15 20:55:16 UTC (rev 204479)
@@ -750,5 +750,4 @@
 }
 
 } // namespace WebCore
-
 #endif // ENABLE(INDEXED_DATABASE)

Modified: trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorIndexedDBAgent_h
-#define InspectorIndexedDBAgent_h
+#pragma once
 
 #if ENABLE(INDEXED_DATABASE)
 
@@ -74,4 +73,3 @@
 } // namespace WebCore
 
 #endif // ENABLE(INDEXED_DATABASE)
-#endif // !defined(InspectorIndexedDBAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorInstrumentationCookie.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorInstrumentationCookie.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorInstrumentationCookie.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -28,14 +28,12 @@
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef InspectorInstrumentationCookie_h
-#define InspectorInstrumentationCookie_h
+#pragma once
 
 #include <wtf/RefPtr.h>
 
 namespace WebCore {
 
-class InspectorInstrumentation;
 class InstrumentingAgents;
 
 class InspectorInstrumentationCookie {
@@ -56,5 +54,3 @@
 };
 
 } // namespace WebCore
-
-#endif // InspectorInstrumentationCookie_h

Modified: trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorLayerTreeAgent_h
-#define InspectorLayerTreeAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
@@ -93,5 +92,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorLayerTreeAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorMemoryAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorMemoryAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorMemoryAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorMemoryAgent_h
-#define InspectorMemoryAgent_h
+#pragma once
 
 #if ENABLE(RESOURCE_USAGE)
 
@@ -69,5 +68,3 @@
 } // namespace WebCore
 
 #endif // ENABLE(RESOURCE_USAGE)
-
-#endif // !defined(InspectorMemoryAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorNetworkAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorNetworkAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorNetworkAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorNetworkAgent_h
-#define InspectorNetworkAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
@@ -136,5 +135,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorNetworkAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorNodeFinder.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorNodeFinder.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorNodeFinder.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -28,8 +28,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorNodeFinder_h
-#define InspectorNodeFinder_h
+#pragma once
 
 #include <wtf/ListHashSet.h>
 #include <wtf/text/WTFString.h>
@@ -66,5 +65,3 @@
 };
 
 } // namespace WebCore
-
-#endif // InspectorNodeFinder_h

Modified: trunk/Source/WebCore/inspector/InspectorOverlay.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorOverlay.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorOverlay.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorOverlay_h
-#define InspectorOverlay_h
+#pragma once
 
 #include "Color.h"
 #include "FloatQuad.h"
@@ -172,6 +171,3 @@
 };
 
 } // namespace WebCore
-
-
-#endif // InspectorOverlay_h

Modified: trunk/Source/WebCore/inspector/InspectorPageAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorPageAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorPageAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorPageAgent_h
-#define InspectorPageAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include "IntSize.h"
@@ -188,7 +187,4 @@
     RefPtr<Inspector::InspectorObject> m_scriptsToEvaluateOnLoad;
 };
 
-
 } // namespace WebCore
-
-#endif // !defined(InspectorPagerAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorReplayAgent.cpp (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorReplayAgent.cpp	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorReplayAgent.cpp	2016-08-15 20:55:16 UTC (rev 204479)
@@ -510,5 +510,4 @@
 }
 
 } // namespace WebCore
-
 #endif // ENABLE(WEB_REPLAY)

Modified: trunk/Source/WebCore/inspector/InspectorReplayAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorReplayAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorReplayAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -25,8 +25,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorReplayAgent_h
-#define InspectorReplayAgent_h
+#pragma once
 
 #if ENABLE(WEB_REPLAY)
 
@@ -125,5 +124,3 @@
 } // namespace WebCore
 
 #endif // ENABLE(WEB_REPLAY)
-
-#endif // InspectorReplayAgent_h

Modified: trunk/Source/WebCore/inspector/InspectorStyleSheet.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorStyleSheet.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorStyleSheet.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -22,8 +22,7 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorStyleSheet_h
-#define InspectorStyleSheet_h
+#pragma once
 
 #include "CSSPropertySourceData.h"
 #include "CSSStyleDeclaration.h"
@@ -268,5 +267,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorStyleSheet_h)

Modified: trunk/Source/WebCore/inspector/InspectorTimelineAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorTimelineAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorTimelineAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -30,8 +30,7 @@
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef InspectorTimelineAgent_h
-#define InspectorTimelineAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include "LayoutRect.h"
@@ -236,5 +235,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorTimelineAgent_h)

Modified: trunk/Source/WebCore/inspector/InspectorWebAgentBase.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InspectorWebAgentBase.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InspectorWebAgentBase.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InspectorWebAgentBase_h
-#define InspectorWebAgentBase_h
+#pragma once
 
 #include <inspector/InspectorAgentBase.h>
 #include <wtf/text/WTFString.h>
@@ -70,5 +69,3 @@
 };
     
 } // namespace WebCore
-
-#endif // !defined(InspectorWebAgentBase_h)

Modified: trunk/Source/WebCore/inspector/InstrumentingAgents.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/InstrumentingAgents.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/InstrumentingAgents.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef InstrumentingAgents_h
-#define InstrumentingAgents_h
+#pragma once
 
 #include <inspector/InspectorEnvironment.h>
 #include <wtf/FastMalloc.h>
@@ -169,5 +168,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InstrumentingAgents_h)

Modified: trunk/Source/WebCore/inspector/NetworkResourcesData.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/NetworkResourcesData.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/NetworkResourcesData.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -26,8 +26,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef NetworkResourcesData_h
-#define NetworkResourcesData_h
+#pragma once
 
 #include "InspectorPageAgent.h"
 #include "TextResourceDecoder.h"
@@ -144,5 +143,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(NetworkResourcesData_h)

Modified: trunk/Source/WebCore/inspector/PageConsoleAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/PageConsoleAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/PageConsoleAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef PageConsoleAgent_h
-#define PageConsoleAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include "WebConsoleAgent.h"
@@ -54,5 +53,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(PageConsoleAgent_h)

Modified: trunk/Source/WebCore/inspector/PageDebuggerAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/PageDebuggerAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/PageDebuggerAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef PageDebuggerAgent_h
-#define PageDebuggerAgent_h
+#pragma once
 
 #include "WebDebuggerAgent.h"
 
@@ -75,5 +74,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(PageDebuggerAgent_h)

Modified: trunk/Source/WebCore/inspector/PageRuntimeAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/PageRuntimeAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/PageRuntimeAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef PageRuntimeAgent_h
-#define PageRuntimeAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorFrontendDispatchers.h>
@@ -83,5 +82,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(InspectorPagerAgent_h)

Modified: trunk/Source/WebCore/inspector/PageScriptDebugServer.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/PageScriptDebugServer.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/PageScriptDebugServer.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef PageScriptDebugServer_h
-#define PageScriptDebugServer_h
+#pragma once
 
 #include <inspector/ScriptDebugServer.h>
 
@@ -65,5 +64,3 @@
 };
 
 } // namespace WebCore
-
-#endif // PageScriptDebugServer_h

Modified: trunk/Source/WebCore/inspector/TimelineRecordFactory.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/TimelineRecordFactory.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/TimelineRecordFactory.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
  
-#ifndef TimelineRecordFactory_h
-#define TimelineRecordFactory_h
+#pragma once
 
 #include <inspector/InspectorValues.h>
 #include <wtf/Forward.h>
@@ -67,5 +66,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(TimelineRecordFactory_h)

Modified: trunk/Source/WebCore/inspector/WebConsoleAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/WebConsoleAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/WebConsoleAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebConsoleAgent_h
-#define WebConsoleAgent_h
+#pragma once
 
 #include <inspector/agents/InspectorConsoleAgent.h>
 
@@ -55,5 +54,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(WebConsoleAgent_h)

Modified: trunk/Source/WebCore/inspector/WebDebuggerAgent.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/WebDebuggerAgent.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/WebDebuggerAgent.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebDebuggerAgent_h
-#define WebDebuggerAgent_h
+#pragma once
 
 #include "InspectorWebAgentBase.h"
 #include <inspector/agents/InspectorDebuggerAgent.h>
@@ -49,5 +48,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(WebDebuggerAgent_h)

Modified: trunk/Source/WebCore/inspector/WebInjectedScriptHost.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/WebInjectedScriptHost.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/WebInjectedScriptHost.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebInjectedScriptHost_h
-#define WebInjectedScriptHost_h
+#pragma once
 
 #include <inspector/InjectedScriptHost.h>
 
@@ -39,5 +38,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(WebInjectedScriptHost_h)

Modified: trunk/Source/WebCore/inspector/WebInjectedScriptManager.h (204478 => 204479)


--- trunk/Source/WebCore/inspector/WebInjectedScriptManager.h	2016-08-15 20:51:16 UTC (rev 204478)
+++ trunk/Source/WebCore/inspector/WebInjectedScriptManager.h	2016-08-15 20:55:16 UTC (rev 204479)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebInjectedScriptManager_h
-#define WebInjectedScriptManager_h
+#pragma once
 
 #include "CommandLineAPIHost.h"
 #include <inspector/InjectedScriptManager.h>
@@ -54,5 +53,3 @@
 };
 
 } // namespace WebCore
-
-#endif // !defined(WebInjectedScriptManager_h)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to