WebKit Bugzilla
Attachment 339505 Details for
Bug 185285
: Use #pragma once in WebKit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
WIP Patch
bug-185285.diff (text/plain), 429.57 KB, created by
Don Olmstead
on 2018-05-03 19:14:01 PDT
(
hide
)
Description:
WIP Patch
Filename:
MIME Type:
Creator:
Don Olmstead
Created:
2018-05-03 19:14:01 PDT
Size:
429.57 KB
patch
obsolete
>diff --git a/Source/WebKit/NetworkProcess/Downloads/DownloadID.h b/Source/WebKit/NetworkProcess/Downloads/DownloadID.h >index 04df707f87e..a3006b87f57 100644 >--- a/Source/WebKit/NetworkProcess/Downloads/DownloadID.h >+++ b/Source/WebKit/NetworkProcess/Downloads/DownloadID.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef DownloadID_h >-#define DownloadID_h >+#pragma once > > #include "ArgumentCoder.h" > #include "Decoder.h" >@@ -93,4 +92,3 @@ template<> struct DefaultHash<WebKit::DownloadID> { > }; > > } >-#endif /* DownloadID_h */ >diff --git a/Source/WebKit/NetworkProcess/Downloads/soup/DownloadSoupErrors.h b/Source/WebKit/NetworkProcess/Downloads/soup/DownloadSoupErrors.h >index ff397ec22f7..63b0221c9cc 100644 >--- a/Source/WebKit/NetworkProcess/Downloads/soup/DownloadSoupErrors.h >+++ b/Source/WebKit/NetworkProcess/Downloads/soup/DownloadSoupErrors.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef DownloadSoupErrors_h >-#define DownloadSoupErrors_h >+#pragma once > > #include <WebCore/ResourceHandle.h> > #include <WebCore/URL.h> >@@ -37,4 +36,3 @@ WebCore::ResourceError platformDownloadDestinationError(const WebCore::ResourceR > > } // namespace WebKit > >-#endif // DownloadSoupErrors_h >diff --git a/Source/WebKit/NetworkProcess/NetworkProcessPlatformStrategies.h b/Source/WebKit/NetworkProcess/NetworkProcessPlatformStrategies.h >index 3a04c9c59fd..9625b1dacb1 100644 >--- a/Source/WebKit/NetworkProcess/NetworkProcessPlatformStrategies.h >+++ b/Source/WebKit/NetworkProcess/NetworkProcessPlatformStrategies.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkProcessPlatformStrategies_h >-#define NetworkProcessPlatformStrategies_h >+#pragma once > > #include <WebCore/LoaderStrategy.h> > #include <WebCore/PlatformStrategies.h> >@@ -46,4 +45,3 @@ private: > } // namespace WebKit > > >-#endif // NetworkProcessPlatformStrategies_h >diff --git a/Source/WebKit/NetworkProcess/NetworkProcessSupplement.h b/Source/WebKit/NetworkProcess/NetworkProcessSupplement.h >index e2b46b3917b..c8e24ba2d88 100644 >--- a/Source/WebKit/NetworkProcess/NetworkProcessSupplement.h >+++ b/Source/WebKit/NetworkProcess/NetworkProcessSupplement.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkProcessSupplement_h >-#define NetworkProcessSupplement_h >+#pragma once > > #include "ChildProcessSupplement.h" > >@@ -41,4 +40,3 @@ public: > > } // namespace WebKit > >-#endif // NetworkProcessSupplement_h >diff --git a/Source/WebKit/NetworkProcess/NetworkResourceLoader.h b/Source/WebKit/NetworkProcess/NetworkResourceLoader.h >index 57c540d7777..a38d701022a 100644 >--- a/Source/WebKit/NetworkProcess/NetworkResourceLoader.h >+++ b/Source/WebKit/NetworkProcess/NetworkResourceLoader.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkResourceLoader_h >-#define NetworkResourceLoader_h >+#pragma once > > #include "DownloadID.h" > #include "MessageSender.h" >@@ -196,4 +195,3 @@ private: > > } // namespace WebKit > >-#endif // NetworkResourceLoader_h >diff --git a/Source/WebKit/NetworkProcess/cache/NetworkCacheBlobStorage.h b/Source/WebKit/NetworkProcess/cache/NetworkCacheBlobStorage.h >index 9613acc1ad5..6d6a4ab07b7 100644 >--- a/Source/WebKit/NetworkProcess/cache/NetworkCacheBlobStorage.h >+++ b/Source/WebKit/NetworkProcess/cache/NetworkCacheBlobStorage.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkCacheBlobStorage_h >-#define NetworkCacheBlobStorage_h >+#pragma once > > #include "NetworkCacheData.h" > #include "NetworkCacheKey.h" >@@ -69,4 +68,3 @@ private: > } > } > >-#endif >diff --git a/Source/WebKit/NetworkProcess/cache/NetworkCacheData.h b/Source/WebKit/NetworkProcess/cache/NetworkCacheData.h >index ecf6d98af69..113890629d1 100644 >--- a/Source/WebKit/NetworkProcess/cache/NetworkCacheData.h >+++ b/Source/WebKit/NetworkProcess/cache/NetworkCacheData.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkCacheData_h >-#define NetworkCacheData_h >+#pragma once > > #include <wtf/FunctionDispatcher.h> > #include <wtf/SHA1.h> >@@ -109,4 +108,3 @@ SHA1::Digest computeSHA1(const Data&, const Salt&); > } > } > >-#endif >diff --git a/Source/WebKit/NetworkProcess/cache/NetworkCacheEntry.h b/Source/WebKit/NetworkProcess/cache/NetworkCacheEntry.h >index 53edef70cc1..f35e6452f12 100644 >--- a/Source/WebKit/NetworkProcess/cache/NetworkCacheEntry.h >+++ b/Source/WebKit/NetworkProcess/cache/NetworkCacheEntry.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkCacheEntry_h >-#define NetworkCacheEntry_h >+#pragma once > > #include "NetworkCacheStorage.h" > #include "ShareableResource.h" >@@ -93,4 +92,3 @@ private: > } > } > >-#endif >diff --git a/Source/WebKit/NetworkProcess/cache/NetworkCacheIOChannel.h b/Source/WebKit/NetworkProcess/cache/NetworkCacheIOChannel.h >index b137fe982fc..3256572d833 100644 >--- a/Source/WebKit/NetworkProcess/cache/NetworkCacheIOChannel.h >+++ b/Source/WebKit/NetworkProcess/cache/NetworkCacheIOChannel.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkCacheIOChannel_h >-#define NetworkCacheIOChannel_h >+#pragma once > > #include "NetworkCacheData.h" > #include <wtf/Function.h> >@@ -81,4 +80,3 @@ private: > } > } > >-#endif >diff --git a/Source/WebKit/NetworkProcess/cache/NetworkCacheKey.h b/Source/WebKit/NetworkProcess/cache/NetworkCacheKey.h >index 2915b214b32..7866edac24f 100644 >--- a/Source/WebKit/NetworkProcess/cache/NetworkCacheKey.h >+++ b/Source/WebKit/NetworkProcess/cache/NetworkCacheKey.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkCacheKey_h >-#define NetworkCacheKey_h >+#pragma once > > #include "NetworkCacheData.h" > #include <wtf/SHA1.h> >@@ -135,4 +134,3 @@ template<> struct HashTraits<WebKit::NetworkCache::Key> : SimpleClassHashTraits< > > } // namespace WTF > >-#endif >diff --git a/Source/WebKit/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.h b/Source/WebKit/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.h >index db6f4f236db..6b5f5e55847 100644 >--- a/Source/WebKit/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.h >+++ b/Source/WebKit/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkCacheSpeculativeLoadManager_h >-#define NetworkCacheSpeculativeLoadManager_h >+#pragma once > > #if ENABLE(NETWORK_CACHE_SPECULATIVE_REVALIDATION) > >@@ -91,4 +90,3 @@ private: > > #endif // ENABLE(NETWORK_CACHE_SPECULATIVE_REVALIDATION) > >-#endif // NetworkCacheSpeculativeLoadManager_h >diff --git a/Source/WebKit/NetworkProcess/cache/NetworkCacheStatistics.h b/Source/WebKit/NetworkProcess/cache/NetworkCacheStatistics.h >index 7771bff4354..2c8c5a714bb 100644 >--- a/Source/WebKit/NetworkProcess/cache/NetworkCacheStatistics.h >+++ b/Source/WebKit/NetworkProcess/cache/NetworkCacheStatistics.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkCacheStatistics_h >-#define NetworkCacheStatistics_h >+#pragma once > > #include "NetworkCache.h" > #include "NetworkCacheKey.h" >@@ -90,4 +89,3 @@ private: > } > } > >-#endif // NetworkCacheStatistics_h >diff --git a/Source/WebKit/NetworkProcess/cache/NetworkCacheSubresourcesEntry.h b/Source/WebKit/NetworkProcess/cache/NetworkCacheSubresourcesEntry.h >index ef252a1c7b9..078e9586828 100644 >--- a/Source/WebKit/NetworkProcess/cache/NetworkCacheSubresourcesEntry.h >+++ b/Source/WebKit/NetworkProcess/cache/NetworkCacheSubresourcesEntry.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkCacheSubresourcesEntry_h >-#define NetworkCacheSubresourcesEntry_h >+#pragma once > > #if ENABLE(NETWORK_CACHE_SPECULATIVE_REVALIDATION) > >@@ -107,4 +106,3 @@ private: > } // namespace NetworkCache > > #endif // ENABLE(NETWORK_CACHE_SPECULATIVE_REVALIDATION) >-#endif // NetworkCacheSubresourcesEntry_h >diff --git a/Source/WebKit/NetworkProcess/capture/json.hpp b/Source/WebKit/NetworkProcess/capture/json.hpp >index 7c869787f19..479962c5d24 100644 >--- a/Source/WebKit/NetworkProcess/capture/json.hpp >+++ b/Source/WebKit/NetworkProcess/capture/json.hpp >@@ -53,8 +53,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE > SOFTWARE. > */ > >-#ifndef NLOHMANN_JSON_HPP >-#define NLOHMANN_JSON_HPP >+#pragma once > > #include <algorithm> // all_of, copy, fill, find, for_each, none_of, remove, reverse, transform > #include <array> // array >@@ -13027,4 +13026,3 @@ inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std > #undef JSON_THROW > #undef JSON_TRY > >-#endif >diff --git a/Source/WebKit/NetworkProcess/unix/NetworkProcessMainUnix.h b/Source/WebKit/NetworkProcess/unix/NetworkProcessMainUnix.h >index fa064c35876..298a45c6be3 100644 >--- a/Source/WebKit/NetworkProcess/unix/NetworkProcessMainUnix.h >+++ b/Source/WebKit/NetworkProcess/unix/NetworkProcessMainUnix.h >@@ -24,8 +24,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkProcessMainUnix_h >-#define NetworkProcessMainUnix_h >+#pragma once > > #include <WebKit/WKBase.h> > >@@ -37,4 +36,3 @@ WK_EXPORT int NetworkProcessMainUnix(int argc, char** argv); > > } // namespace WebKit > >-#endif // NetworkProcessMainUnix_h >diff --git a/Source/WebKit/Platform/IPC/DataReference.h b/Source/WebKit/Platform/IPC/DataReference.h >index fb57591db64..a504095280a 100644 >--- a/Source/WebKit/Platform/IPC/DataReference.h >+++ b/Source/WebKit/Platform/IPC/DataReference.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef DataReference_h >-#define DataReference_h >+#pragma once > > #include <WebCore/SharedBuffer.h> > #include <wtf/Vector.h> >@@ -109,4 +108,3 @@ private: > > } // namespace IPC > >-#endif // DataReference_h >diff --git a/Source/WebKit/Platform/IPC/MessageFlags.h b/Source/WebKit/Platform/IPC/MessageFlags.h >index e8d3e5e37bc..4374e455169 100644 >--- a/Source/WebKit/Platform/IPC/MessageFlags.h >+++ b/Source/WebKit/Platform/IPC/MessageFlags.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef MessageFlags_h >-#define MessageFlags_h >+#pragma once > > namespace IPC { > >@@ -36,4 +35,3 @@ enum MessageFlags { > > } // namespace IPC > >-#endif // MessageFlags_h >diff --git a/Source/WebKit/Platform/IPC/MessageReceiverMap.h b/Source/WebKit/Platform/IPC/MessageReceiverMap.h >index 4fc751281b0..ce6a76cf7a4 100644 >--- a/Source/WebKit/Platform/IPC/MessageReceiverMap.h >+++ b/Source/WebKit/Platform/IPC/MessageReceiverMap.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef MessageReceiverMap_h >-#define MessageReceiverMap_h >+#pragma once > > #include "StringReference.h" > #include <wtf/HashMap.h> >@@ -63,4 +62,3 @@ private: > > }; > >-#endif // MessageReceiverMap_h >diff --git a/Source/WebKit/Platform/IPC/StringReference.h b/Source/WebKit/Platform/IPC/StringReference.h >index e98e91119ce..d4a915fe571 100644 >--- a/Source/WebKit/Platform/IPC/StringReference.h >+++ b/Source/WebKit/Platform/IPC/StringReference.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef StringReference_h >-#define StringReference_h >+#pragma once > > #include <string.h> > #include <wtf/Forward.h> >@@ -99,4 +98,3 @@ template<> struct HashTraits<IPC::StringReference> : GenericHashTraits<IPC::Stri > > } // namespace WTF > >-#endif // StringReference_h >diff --git a/Source/WebKit/Platform/IPC/glib/GSocketMonitor.h b/Source/WebKit/Platform/IPC/glib/GSocketMonitor.h >index 8ac5f1c706c..d084b26dee2 100644 >--- a/Source/WebKit/Platform/IPC/glib/GSocketMonitor.h >+++ b/Source/WebKit/Platform/IPC/glib/GSocketMonitor.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef GSocketMonitor_h >-#define GSocketMonitor_h >+#pragma once > > #include <glib.h> > #include <wtf/Forward.h> >@@ -55,4 +54,3 @@ private: > > } // namespace IPC > >-#endif // GSocketMonitor_h >diff --git a/Source/WebKit/Platform/IPC/mac/ImportanceAssertion.h b/Source/WebKit/Platform/IPC/mac/ImportanceAssertion.h >index f7687a7b789..deae6017ffd 100644 >--- a/Source/WebKit/Platform/IPC/mac/ImportanceAssertion.h >+++ b/Source/WebKit/Platform/IPC/mac/ImportanceAssertion.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ImportanceAssertion_h >-#define ImportanceAssertion_h >+#pragma once > > #if PLATFORM(MAC) > >@@ -60,4 +59,3 @@ private: > > #endif // PLATFORM(MAC) > >-#endif // ImportanceAssertion_h >diff --git a/Source/WebKit/Platform/IPC/mac/MachPort.h b/Source/WebKit/Platform/IPC/mac/MachPort.h >index 9144a052ea0..1d3f941acb5 100644 >--- a/Source/WebKit/Platform/IPC/mac/MachPort.h >+++ b/Source/WebKit/Platform/IPC/mac/MachPort.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef MachPort_h >-#define MachPort_h >+#pragma once > > #include "Attachment.h" > #include "Decoder.h" >@@ -72,4 +71,3 @@ private: > > } // namespace IPC > >-#endif // MachPort_h >diff --git a/Source/WebKit/Platform/cg/CGUtilities.h b/Source/WebKit/Platform/cg/CGUtilities.h >index 851d181a8fc..2a800e4783c 100644 >--- a/Source/WebKit/Platform/cg/CGUtilities.h >+++ b/Source/WebKit/Platform/cg/CGUtilities.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef CGUtilities_h >-#define CGUtilities_h >+#pragma once > > namespace WebKit { > >@@ -32,4 +31,3 @@ void paintImage(CGContextRef, CGImageRef, CGFloat scaleFactor, CGPoint destinati > > } // namespace WebKit > >-#endif // CGUtilities_h >diff --git a/Source/WebKit/Platform/mac/MachUtilities.h b/Source/WebKit/Platform/mac/MachUtilities.h >index a8d0d6ffe3c..3b5c3e71ea3 100644 >--- a/Source/WebKit/Platform/mac/MachUtilities.h >+++ b/Source/WebKit/Platform/mac/MachUtilities.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef MachUtilities_h >-#define MachUtilities_h >+#pragma once > > #include <mach/mach_port.h> > >@@ -33,4 +32,3 @@ void setMachPortQueueLength(mach_port_t, mach_port_msgcount_t queueLength); > mach_port_t machExceptionPort(); > void setMachExceptionPort(mach_port_t exceptionPort); > >-#endif // MachUtilities_h >diff --git a/Source/WebKit/Platform/mac/MenuUtilities.h b/Source/WebKit/Platform/mac/MenuUtilities.h >index 200e9ca9417..c3af46db0cf 100644 >--- a/Source/WebKit/Platform/mac/MenuUtilities.h >+++ b/Source/WebKit/Platform/mac/MenuUtilities.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef MenuUtilities_h >-#define MenuUtilities_h >+#pragma once > > #import <wtf/text/WTFString.h> > >@@ -38,4 +37,3 @@ NSString *menuItemTitleForTelephoneNumberGroup(); > > } // namespace WebKit > >-#endif // MenuUtilities_h >diff --git a/Source/WebKit/Platform/spi/ios/UIKitSPI.h b/Source/WebKit/Platform/spi/ios/UIKitSPI.h >index 4d845ee1bc0..bb8f40e3ec6 100644 >--- a/Source/WebKit/Platform/spi/ios/UIKitSPI.h >+++ b/Source/WebKit/Platform/spi/ios/UIKitSPI.h >@@ -234,8 +234,7 @@ typedef enum { > @end > > // FIXME: https://bugs.webkit.org/show_bug.cgi?id=173341 >-#ifndef _WEBKIT_UIKITSPI_UIKEYBOARD >-#define _WEBKIT_UIKITSPI_UIKEYBOARD 1 >+#pragma once > @interface UIKeyboard : UIView <UIKeyboardImplGeometryDelegate> > @end > #endif >@@ -1008,7 +1007,6 @@ static inline bool currentUserInterfaceIdiomIsPad() > return UICurrentUserInterfaceIdiomIsPad(); > #else > return [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad; >-#endif > } > > WTF_EXTERN_C_BEGIN >diff --git a/Source/WebKit/Platform/win/LoggingWin.cpp b/Source/WebKit/Platform/win/LoggingWin.cpp >index d0638d313a6..e4ed96bb1a5 100644 >--- a/Source/WebKit/Platform/win/LoggingWin.cpp >+++ b/Source/WebKit/Platform/win/LoggingWin.cpp >@@ -29,6 +29,7 @@ > > #if !LOG_DISABLED || !RELEASE_LOG_DISABLED > >+#include <windows.h> > #include <wtf/StdLibExtras.h> > #include <wtf/text/WTFString.h> > >diff --git a/Source/WebKit/PluginProcess/PluginCreationParameters.h b/Source/WebKit/PluginProcess/PluginCreationParameters.h >index c3751682cc1..7c72a330ef1 100644 >--- a/Source/WebKit/PluginProcess/PluginCreationParameters.h >+++ b/Source/WebKit/PluginProcess/PluginCreationParameters.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginCreationParameters_h >-#define PluginCreationParameters_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -78,4 +77,3 @@ struct PluginCreationParameters { > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // PluginCreationParameters_h >diff --git a/Source/WebKit/PluginProcess/unix/PluginProcessMainUnix.h b/Source/WebKit/PluginProcess/unix/PluginProcessMainUnix.h >index f79c1d26ce2..da568e17484 100644 >--- a/Source/WebKit/PluginProcess/unix/PluginProcessMainUnix.h >+++ b/Source/WebKit/PluginProcess/unix/PluginProcessMainUnix.h >@@ -24,8 +24,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginProcessMainUnix_h >-#define PluginProcessMainUnix_h >+#pragma once > > #include <WebKit/WKBase.h> > >@@ -37,4 +36,3 @@ WK_EXPORT int PluginProcessMainUnix(int argc, char** argv); > > } // namespace WebKit > >-#endif // PluginProcessMainUnix_h >diff --git a/Source/WebKit/Shared/API/APIArray.h b/Source/WebKit/Shared/API/APIArray.h >index 1fef069323f..e2b7d739293 100644 >--- a/Source/WebKit/Shared/API/APIArray.h >+++ b/Source/WebKit/Shared/API/APIArray.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIArray_h >-#define APIArray_h >+#pragma once > > #include "APIObject.h" > #include <wtf/Forward.h> >@@ -109,4 +108,3 @@ private: > > } // namespace API > >-#endif // APIArray_h >diff --git a/Source/WebKit/Shared/API/APIClient.h b/Source/WebKit/Shared/API/APIClient.h >index c12e30b03d6..eb1ef9438ca 100644 >--- a/Source/WebKit/Shared/API/APIClient.h >+++ b/Source/WebKit/Shared/API/APIClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIClient_h >-#define APIClient_h >+#pragma once > > #include <algorithm> > #include <array> >@@ -83,4 +82,3 @@ protected: > > } // namespace API > >-#endif // APIClient_h >diff --git a/Source/WebKit/Shared/API/APIData.h b/Source/WebKit/Shared/API/APIData.h >index 16600cb504c..3ee67530538 100644 >--- a/Source/WebKit/Shared/API/APIData.h >+++ b/Source/WebKit/Shared/API/APIData.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIData_h >-#define APIData_h >+#pragma once > > #include "APIObject.h" > #include "DataReference.h" >@@ -106,4 +105,3 @@ private: > > } // namespace API > >-#endif // APIData_h >diff --git a/Source/WebKit/Shared/API/APIDictionary.h b/Source/WebKit/Shared/API/APIDictionary.h >index fcba7238176..3c82e2df933 100644 >--- a/Source/WebKit/Shared/API/APIDictionary.h >+++ b/Source/WebKit/Shared/API/APIDictionary.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIDictionary_h >-#define APIDictionary_h >+#pragma once > > #include "APIObject.h" > #include <wtf/HashMap.h> >@@ -87,4 +86,3 @@ protected: > > } // namespace API > >-#endif // APIDictionary_h >diff --git a/Source/WebKit/Shared/API/APIError.h b/Source/WebKit/Shared/API/APIError.h >index 442d676ed27..d0dd23c351f 100644 >--- a/Source/WebKit/Shared/API/APIError.h >+++ b/Source/WebKit/Shared/API/APIError.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIError_h >-#define APIError_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/ResourceError.h> >@@ -122,4 +121,3 @@ private: > > } // namespace API > >-#endif // APIError_h >diff --git a/Source/WebKit/Shared/API/APIFrameHandle.h b/Source/WebKit/Shared/API/APIFrameHandle.h >index b10e808a4b1..7b403dac8ee 100644 >--- a/Source/WebKit/Shared/API/APIFrameHandle.h >+++ b/Source/WebKit/Shared/API/APIFrameHandle.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIFrameHandle_h >-#define APIFrameHandle_h >+#pragma once > > #include "APIObject.h" > #include <wtf/Ref.h> >@@ -57,4 +56,3 @@ private: > > } // namespace API > >-#endif // APIFrameHandle_h >diff --git a/Source/WebKit/Shared/API/APIGeometry.h b/Source/WebKit/Shared/API/APIGeometry.h >index 0ff94cca943..6710dd1154f 100644 >--- a/Source/WebKit/Shared/API/APIGeometry.h >+++ b/Source/WebKit/Shared/API/APIGeometry.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIGeometry_h >-#define APIGeometry_h >+#pragma once > > #include "APIObject.h" > #include "WKGeometry.h" >@@ -101,4 +100,3 @@ private: > > } // namespace API > >-#endif // APIGeometry_h >diff --git a/Source/WebKit/Shared/API/APINumber.h b/Source/WebKit/Shared/API/APINumber.h >index fe5734981c5..70db8230f39 100644 >--- a/Source/WebKit/Shared/API/APINumber.h >+++ b/Source/WebKit/Shared/API/APINumber.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APINumber_h >-#define APINumber_h >+#pragma once > > #include "APIObject.h" > #include "Decoder.h" >@@ -72,4 +71,3 @@ typedef Number<uint64_t, API::Object::Type::UInt64> UInt64; > > } // namespace API > >-#endif // APINumber_h >diff --git a/Source/WebKit/Shared/API/APIObject.h b/Source/WebKit/Shared/API/APIObject.h >index 75572a6dbb0..92fd646925c 100644 >--- a/Source/WebKit/Shared/API/APIObject.h >+++ b/Source/WebKit/Shared/API/APIObject.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIObject_h >-#define APIObject_h >+#pragma once > > #include <wtf/RefCounted.h> > #include <wtf/RefPtr.h> >@@ -281,4 +280,3 @@ inline API::Object* Object::unwrap(void* object) > > #undef DELEGATE_REF_COUNTING_TO_COCOA > >-#endif // APIObject_h >diff --git a/Source/WebKit/Shared/API/APIPageGroupHandle.h b/Source/WebKit/Shared/API/APIPageGroupHandle.h >index eaca5dfbd9b..a8664d7a3ee 100644 >--- a/Source/WebKit/Shared/API/APIPageGroupHandle.h >+++ b/Source/WebKit/Shared/API/APIPageGroupHandle.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIPageGroupHandle_h >-#define APIPageGroupHandle_h >+#pragma once > > #include "APIObject.h" > #include "WebPageGroupData.h" >@@ -56,4 +55,3 @@ private: > } // namespace API > > >-#endif // APIPageGroupHandle_h >diff --git a/Source/WebKit/Shared/API/APIPageHandle.h b/Source/WebKit/Shared/API/APIPageHandle.h >index f30fafbdc31..f52436ed0ac 100644 >--- a/Source/WebKit/Shared/API/APIPageHandle.h >+++ b/Source/WebKit/Shared/API/APIPageHandle.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIPageHandle_h >-#define APIPageHandle_h >+#pragma once > > #include "APIObject.h" > #include <wtf/Ref.h> >@@ -57,4 +56,3 @@ private: > > } // namespace API > >-#endif // APIPageHandle_h >diff --git a/Source/WebKit/Shared/API/APISerializedScriptValue.h b/Source/WebKit/Shared/API/APISerializedScriptValue.h >index 54c34e8884c..ffec57b226c 100644 >--- a/Source/WebKit/Shared/API/APISerializedScriptValue.h >+++ b/Source/WebKit/Shared/API/APISerializedScriptValue.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APISerializedScriptValue_h >-#define APISerializedScriptValue_h >+#pragma once > > #include "APIObject.h" > >@@ -78,4 +77,3 @@ private: > > } > >-#endif >diff --git a/Source/WebKit/Shared/API/APIString.h b/Source/WebKit/Shared/API/APIString.h >index 2722b1b8b87..e11f328affb 100644 >--- a/Source/WebKit/Shared/API/APIString.h >+++ b/Source/WebKit/Shared/API/APIString.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIString_h >-#define APIString_h >+#pragma once > > #include "APIObject.h" > #include <wtf/Ref.h> >@@ -76,4 +75,3 @@ private: > > } // namespace WebKit > >-#endif // APIString_h >diff --git a/Source/WebKit/Shared/API/APIURL.h b/Source/WebKit/Shared/API/APIURL.h >index 7e0fae174aa..e37875d2fe0 100644 >--- a/Source/WebKit/Shared/API/APIURL.h >+++ b/Source/WebKit/Shared/API/APIURL.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebURL_h >-#define WebURL_h >+#pragma once > > #include "APIObject.h" > #include "WebCoreArgumentCoders.h" >@@ -131,4 +130,3 @@ private: > > } // namespace WebKit > >-#endif // URL_h >diff --git a/Source/WebKit/Shared/API/APIURLResponse.h b/Source/WebKit/Shared/API/APIURLResponse.h >index 125e03711b3..e3831a2d74a 100644 >--- a/Source/WebKit/Shared/API/APIURLResponse.h >+++ b/Source/WebKit/Shared/API/APIURLResponse.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIURLResponse_h >-#define APIURLResponse_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/ResourceResponse.h> >@@ -57,4 +56,3 @@ private: > > } // namespace API > >-#endif // APIURLResponse_h >diff --git a/Source/WebKit/Shared/API/APIUserContentURLPattern.h b/Source/WebKit/Shared/API/APIUserContentURLPattern.h >index aff46131061..16714e92fd8 100644 >--- a/Source/WebKit/Shared/API/APIUserContentURLPattern.h >+++ b/Source/WebKit/Shared/API/APIUserContentURLPattern.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIUserContentURLPattern_h >-#define APIUserContentURLPattern_h >+#pragma once > > #include "APIObject.h" > >@@ -61,4 +60,3 @@ private: > > } > >-#endif >diff --git a/Source/WebKit/Shared/API/Cocoa/RemoteObjectInvocation.h b/Source/WebKit/Shared/API/Cocoa/RemoteObjectInvocation.h >index 48a700f1240..0b4233ea8ce 100644 >--- a/Source/WebKit/Shared/API/Cocoa/RemoteObjectInvocation.h >+++ b/Source/WebKit/Shared/API/Cocoa/RemoteObjectInvocation.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef RemoteObjectInvocation_h >-#define RemoteObjectInvocation_h >+#pragma once > > #include "APIDictionary.h" > #include <wtf/text/WTFString.h> >@@ -68,4 +67,3 @@ private: > > } > >-#endif // RemoteObjectInvocation_h >diff --git a/Source/WebKit/Shared/API/Cocoa/RemoteObjectRegistry.h b/Source/WebKit/Shared/API/Cocoa/RemoteObjectRegistry.h >index 12f96f472e8..f9fb156b3c3 100644 >--- a/Source/WebKit/Shared/API/Cocoa/RemoteObjectRegistry.h >+++ b/Source/WebKit/Shared/API/Cocoa/RemoteObjectRegistry.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef RemoteObjectRegistry_h >-#define RemoteObjectRegistry_h >+#pragma once > > #include "MessageReceiver.h" > >@@ -63,4 +62,3 @@ private: > > } // namespace WebKit > >-#endif // RemoteObjectRegistry_h >diff --git a/Source/WebKit/Shared/API/c/win/WKBaseWin.h b/Source/WebKit/Shared/API/c/win/WKBaseWin.h >index 327768f5687..286b9b2b265 100644 >--- a/Source/WebKit/Shared/API/c/win/WKBaseWin.h >+++ b/Source/WebKit/Shared/API/c/win/WKBaseWin.h >@@ -24,7 +24,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKBaseWin_h >+#define WKBaseWin_h > > #ifndef WKBase_h > #error "Please #include \"WKBase.h\" instead of this file directly." >@@ -34,3 +35,5 @@ typedef int pid_t; > > typedef const struct OpaqueWKView* WKViewRef; > typedef const struct OpaqueWKEditCommand* WKEditCommandRef; >+ >+#endif >diff --git a/Source/WebKit/Shared/API/glib/WebKitURIRequestPrivate.h b/Source/WebKit/Shared/API/glib/WebKitURIRequestPrivate.h >index 12586153ba2..9a9b2217734 100644 >--- a/Source/WebKit/Shared/API/glib/WebKitURIRequestPrivate.h >+++ b/Source/WebKit/Shared/API/glib/WebKitURIRequestPrivate.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebKitURIRequestPrivate_h >-#define WebKitURIRequestPrivate_h >+#pragma once > > #include "WebKitURIRequest.h" > #include <WebCore/ResourceRequest.h> >@@ -32,4 +31,3 @@ > WebKitURIRequest* webkitURIRequestCreateForResourceRequest(const WebCore::ResourceRequest&); > void webkitURIRequestGetResourceRequest(WebKitURIRequest*, WebCore::ResourceRequest&); > >-#endif // WebKitURIRequestPrivate_h >diff --git a/Source/WebKit/Shared/API/glib/WebKitURIResponsePrivate.h b/Source/WebKit/Shared/API/glib/WebKitURIResponsePrivate.h >index c2dc49c1779..fe2ab5a351a 100644 >--- a/Source/WebKit/Shared/API/glib/WebKitURIResponsePrivate.h >+++ b/Source/WebKit/Shared/API/glib/WebKitURIResponsePrivate.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebKitURIResponsePrivate_h >-#define WebKitURIResponsePrivate_h >+#pragma once > > #include "WebKitURIResponse.h" > #include <WebCore/ResourceResponse.h> >@@ -32,4 +31,3 @@ > WebKitURIResponse* webkitURIResponseCreateForResourceResponse(const WebCore::ResourceResponse&); > const WebCore::ResourceResponse& webkitURIResponseGetResourceResponse(WebKitURIResponse*); > >-#endif // WebKitURIResponsePrivate_h >diff --git a/Source/WebKit/Shared/APIWebArchive.h b/Source/WebKit/Shared/APIWebArchive.h >index 71de28bda74..3b23a7458cb 100644 >--- a/Source/WebKit/Shared/APIWebArchive.h >+++ b/Source/WebKit/Shared/APIWebArchive.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebArchive_h >-#define WebArchive_h >+#pragma once > > #if PLATFORM(COCOA) > >@@ -77,4 +76,3 @@ private: > > #endif // PLATFORM(COCOA) > >-#endif // WebArchive_h >diff --git a/Source/WebKit/Shared/APIWebArchiveResource.h b/Source/WebKit/Shared/APIWebArchiveResource.h >index 9cd1c1c4279..d1cb68a6e0d 100644 >--- a/Source/WebKit/Shared/APIWebArchiveResource.h >+++ b/Source/WebKit/Shared/APIWebArchiveResource.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebArchiveResource_h >-#define WebArchiveResource_h >+#pragma once > > #if PLATFORM(COCOA) > >@@ -68,4 +67,3 @@ private: > > #endif // PLATFORM(COCOA) > >-#endif // WebArchiveResource_h >diff --git a/Source/WebKit/Shared/ActivityAssertion.h b/Source/WebKit/Shared/ActivityAssertion.h >index b5a19f908f4..6a13f0a74f5 100644 >--- a/Source/WebKit/Shared/ActivityAssertion.h >+++ b/Source/WebKit/Shared/ActivityAssertion.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ActivityAssertion_h >-#define ActivityAssertion_h >+#pragma once > > #include <WebCore/CountedUserActivity.h> > #include <wtf/Noncopyable.h> >@@ -43,4 +42,3 @@ private: > > } > >-#endif >diff --git a/Source/WebKit/Shared/AsyncRequest.h b/Source/WebKit/Shared/AsyncRequest.h >index cdc632ec7ca..6801548104f 100644 >--- a/Source/WebKit/Shared/AsyncRequest.h >+++ b/Source/WebKit/Shared/AsyncRequest.h >@@ -24,8 +24,7 @@ > * > */ > >-#ifndef AsyncRequest_h >-#define AsyncRequest_h >+#pragma once > > #include <wtf/Function.h> > #include <wtf/HashMap.h> >@@ -152,4 +151,3 @@ private: > > } // namespace WebKit > >-#endif // AsyncRequest_h >diff --git a/Source/WebKit/Shared/Authentication/AuthenticationManager.h b/Source/WebKit/Shared/Authentication/AuthenticationManager.h >index 6c30c04fdd0..46e74774311 100644 >--- a/Source/WebKit/Shared/Authentication/AuthenticationManager.h >+++ b/Source/WebKit/Shared/Authentication/AuthenticationManager.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef AuthenticationManager_h >-#define AuthenticationManager_h >+#pragma once > > #include "MessageReceiver.h" > #include "NetworkProcessSupplement.h" >@@ -116,4 +115,3 @@ private: > > } // namespace WebKit > >-#endif // AuthenticationManager_h >diff --git a/Source/WebKit/Shared/BlobDataFileReferenceWithSandboxExtension.h b/Source/WebKit/Shared/BlobDataFileReferenceWithSandboxExtension.h >index 75a5d4d0cbb..3e1078b98cd 100644 >--- a/Source/WebKit/Shared/BlobDataFileReferenceWithSandboxExtension.h >+++ b/Source/WebKit/Shared/BlobDataFileReferenceWithSandboxExtension.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef BlobDataFileReferenceWithSandboxExtension_h >-#define BlobDataFileReferenceWithSandboxExtension_h >+#pragma once > > #include <WebCore/BlobDataFileReference.h> > >@@ -51,4 +50,3 @@ private: > > } > >-#endif // BlobDataFileReferenceWithSandboxExtension_h >diff --git a/Source/WebKit/Shared/BlockingResponseMap.h b/Source/WebKit/Shared/BlockingResponseMap.h >index 728c8477bf9..5f5a46fee2a 100644 >--- a/Source/WebKit/Shared/BlockingResponseMap.h >+++ b/Source/WebKit/Shared/BlockingResponseMap.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef BlockingResponseMap_h >-#define BlockingResponseMap_h >+#pragma once > > #include <wtf/Condition.h> > #include <wtf/HashMap.h> >@@ -82,4 +81,3 @@ private: > bool m_canceled; > }; > >-#endif // BlockingResponseMap_h >diff --git a/Source/WebKit/Shared/ChildProcess.h b/Source/WebKit/Shared/ChildProcess.h >index c6e4edf8bf9..fa0d4bdfff0 100644 >--- a/Source/WebKit/Shared/ChildProcess.h >+++ b/Source/WebKit/Shared/ChildProcess.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ChildProcess_h >-#define ChildProcess_h >+#pragma once > > #include "Connection.h" > #include "MessageReceiverMap.h" >@@ -145,4 +144,3 @@ private: > > } // namespace WebKit > >-#endif // ChildProcess_h >diff --git a/Source/WebKit/Shared/ChildProcessSupplement.h b/Source/WebKit/Shared/ChildProcessSupplement.h >index dfbefbaa14b..7753c00242c 100644 >--- a/Source/WebKit/Shared/ChildProcessSupplement.h >+++ b/Source/WebKit/Shared/ChildProcessSupplement.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ChildProcessSupplement_h >-#define ChildProcessSupplement_h >+#pragma once > > namespace IPC { > class Connection; >@@ -45,4 +44,3 @@ public: > > } // namespace WebKit > >-#endif // ChildProcessSupplement_h >diff --git a/Source/WebKit/Shared/Cocoa/DataDetectionResult.h b/Source/WebKit/Shared/Cocoa/DataDetectionResult.h >index 27443ce3f3b..31b2d9de025 100644 >--- a/Source/WebKit/Shared/Cocoa/DataDetectionResult.h >+++ b/Source/WebKit/Shared/Cocoa/DataDetectionResult.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef DataDetectionResult_h >-#define DataDetectionResult_h >+#pragma once > > #if ENABLE(DATA_DETECTION) > >@@ -45,4 +44,3 @@ struct DataDetectionResult { > > #endif // ENABLE(DATA_DETECTION) > >-#endif // DataDetectionResult_h >diff --git a/Source/WebKit/Shared/ContextMenuContextData.h b/Source/WebKit/Shared/ContextMenuContextData.h >index 734973ae08d..d3daf61264d 100644 >--- a/Source/WebKit/Shared/ContextMenuContextData.h >+++ b/Source/WebKit/Shared/ContextMenuContextData.h >@@ -24,8 +24,7 @@ > * > */ > >-#ifndef ContextMenuContextData_h >-#define ContextMenuContextData_h >+#pragma once > > #if ENABLE(CONTEXT_MENUS) > >@@ -102,4 +101,3 @@ private: > } // namespace WebKit > > #endif // ENABLE(CONTEXT_MENUS) >-#endif // ContextMenuContextData_h >diff --git a/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedBackingStore.h b/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedBackingStore.h >index 44d5cfdb494..016cfd7c724 100644 >--- a/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedBackingStore.h >+++ b/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedBackingStore.h >@@ -17,8 +17,7 @@ > Boston, MA 02110-1301, USA. > */ > >-#ifndef CoordinatedBackingStore_h >-#define CoordinatedBackingStore_h >+#pragma once > > #if USE(COORDINATED_GRAPHICS) > >@@ -89,4 +88,3 @@ private: > > #endif // USE(COORDINATED_GRAPHICS) > >-#endif // CoordinatedBackingStore_h >diff --git a/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h b/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h >index c5bcb5064ed..369a0171b67 100644 >--- a/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h >+++ b/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h >@@ -18,8 +18,7 @@ > Boston, MA 02110-1301, USA. > */ > >-#ifndef CoordinatedGraphicsScene_h >-#define CoordinatedGraphicsScene_h >+#pragma once > > #if USE(COORDINATED_GRAPHICS) > >@@ -168,6 +167,5 @@ private: > > #endif // USE(COORDINATED_GRAPHICS) > >-#endif // CoordinatedGraphicsScene_h > > >diff --git a/Source/WebKit/Shared/CoordinatedGraphics/SimpleViewportController.h b/Source/WebKit/Shared/CoordinatedGraphics/SimpleViewportController.h >index 0bd1a35874d..fc42214ba16 100644 >--- a/Source/WebKit/Shared/CoordinatedGraphics/SimpleViewportController.h >+++ b/Source/WebKit/Shared/CoordinatedGraphics/SimpleViewportController.h >@@ -19,8 +19,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef SimpleViewportController_h >-#define SimpleViewportController_h >+#pragma once > > #if USE(COORDINATED_GRAPHICS_THREADED) > >@@ -78,4 +77,3 @@ private: > > #endif // USE(COORDINATED_GRAPHICS_THREADED) > >-#endif // SimpleViewportController_h >diff --git a/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h b/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h >index 42c52f6be82..302c2aa8471 100644 >--- a/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h >+++ b/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef CompositingRunLoop_h >-#define CompositingRunLoop_h >+#pragma once > > #if USE(COORDINATED_GRAPHICS_THREADED) > >@@ -89,4 +88,3 @@ private: > > #endif // USE(COORDINATED_GRAPHICS_THREADED) > >-#endif // CompositingRunLoop_h >diff --git a/Source/WebKit/Shared/Databases/IndexedDB/IDBUtilities.h b/Source/WebKit/Shared/Databases/IndexedDB/IDBUtilities.h >index f7d4325f01a..3383521785a 100644 >--- a/Source/WebKit/Shared/Databases/IndexedDB/IDBUtilities.h >+++ b/Source/WebKit/Shared/Databases/IndexedDB/IDBUtilities.h >@@ -24,8 +24,7 @@ > * > */ > >-#ifndef IDBUtilities_h >-#define IDBUtilities_h >+#pragma once > > #include <wtf/text/WTFString.h> > >@@ -44,4 +43,3 @@ String uniqueDatabaseIdentifier(const String& databaseName, const WebCore::Secur > } // namespace WebKit > > #endif // ENABLE(INDEXED_DATABASE) >-#endif // IDBUtilities_h >diff --git a/Source/WebKit/Shared/DrawingAreaInfo.h b/Source/WebKit/Shared/DrawingAreaInfo.h >index 7fc4d7c4b3f..208e130e900 100644 >--- a/Source/WebKit/Shared/DrawingAreaInfo.h >+++ b/Source/WebKit/Shared/DrawingAreaInfo.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef DrawingAreaType_h >-#define DrawingAreaType_h >+#pragma once > > namespace WebKit { > >@@ -41,4 +40,3 @@ enum DrawingAreaType { > > } // namespace WebKit > >-#endif // DrawingAreaType_h >diff --git a/Source/WebKit/Shared/EditingRange.h b/Source/WebKit/Shared/EditingRange.h >index 485415c6c2f..ebe40323006 100644 >--- a/Source/WebKit/Shared/EditingRange.h >+++ b/Source/WebKit/Shared/EditingRange.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef EditingRange_h >-#define EditingRange_h >+#pragma once > > #include "ArgumentCoders.h" > >@@ -81,4 +80,3 @@ namespace IPC { > template<> struct ArgumentCoder<WebKit::EditingRange> : SimpleArgumentCoder<WebKit::EditingRange> { }; > } > >-#endif // EditingRange_h >diff --git a/Source/WebKit/Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h b/Source/WebKit/Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h >index 75828fde668..8268a3cd362 100644 >--- a/Source/WebKit/Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h >+++ b/Source/WebKit/Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef XPCServiceEntryPoint_h >-#define XPCServiceEntryPoint_h >+#pragma once > > #import "ChildProcess.h" > #import "WebKit2Initialize.h" >@@ -119,4 +118,3 @@ void XPCServiceExit(OSObjectPtr<xpc_object_t>&& priorityBoostMessage); > > } // namespace WebKit > >-#endif // XPCServiceEntryPoint_h >diff --git a/Source/WebKit/Shared/FontInfo.h b/Source/WebKit/Shared/FontInfo.h >index 3a697671bdc..e178c352715 100644 >--- a/Source/WebKit/Shared/FontInfo.h >+++ b/Source/WebKit/Shared/FontInfo.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef FontInfo_h >-#define FontInfo_h >+#pragma once > > #if PLATFORM(COCOA) > #include <wtf/RetainPtr.h> >@@ -48,4 +47,3 @@ struct FontInfo { > > } // namespace WebKit > >-#endif // FontInfo_h >diff --git a/Source/WebKit/Shared/FontSmoothingLevel.h b/Source/WebKit/Shared/FontSmoothingLevel.h >index aebdddac0f3..276591879e7 100644 >--- a/Source/WebKit/Shared/FontSmoothingLevel.h >+++ b/Source/WebKit/Shared/FontSmoothingLevel.h >@@ -23,8 +23,7 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef FontSmoothingLevel_h >-#define FontSmoothingLevel_h >+#pragma once > > namespace WebKit { > >@@ -37,4 +36,3 @@ enum FontSmoothingLevel { > > } // namespace WebKit > >-#endif // FontSmoothingLevel_h >diff --git a/Source/WebKit/Shared/HTTPCookieAcceptPolicy.h b/Source/WebKit/Shared/HTTPCookieAcceptPolicy.h >index 4fe81b3c39b..39f5bf07814 100644 >--- a/Source/WebKit/Shared/HTTPCookieAcceptPolicy.h >+++ b/Source/WebKit/Shared/HTTPCookieAcceptPolicy.h >@@ -23,8 +23,7 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef HTTPCookieAcceptPolicy_h >-#define HTTPCookieAcceptPolicy_h >+#pragma once > > namespace WebKit { > >@@ -38,4 +37,3 @@ typedef unsigned HTTPCookieAcceptPolicy; > > } // namespace WebKit > >-#endif // HTTPCookieAcceptPolicy_h >diff --git a/Source/WebKit/Shared/HangDetectionDisabler.h b/Source/WebKit/Shared/HangDetectionDisabler.h >index ae8b701c673..c4ad1074c0a 100644 >--- a/Source/WebKit/Shared/HangDetectionDisabler.h >+++ b/Source/WebKit/Shared/HangDetectionDisabler.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef HangDetectionDisabler_h >-#define HangDetectionDisabler_h >+#pragma once > > namespace WebKit { > >@@ -51,4 +50,3 @@ inline HangDetectionDisabler::~HangDetectionDisabler() > > } > >-#endif // HangDetectionDisabler_h >diff --git a/Source/WebKit/Shared/ImageOptions.h b/Source/WebKit/Shared/ImageOptions.h >index 9182196ecdb..edb9fd41b54 100644 >--- a/Source/WebKit/Shared/ImageOptions.h >+++ b/Source/WebKit/Shared/ImageOptions.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ImageOptions_h >-#define ImageOptions_h >+#pragma once > > namespace WebKit { > >@@ -57,4 +56,3 @@ inline ImageOptions snapshotOptionsToImageOptions(SnapshotOptions snapshotOption > > } // namespace WebKit > >-#endif // ImageOptions_h >diff --git a/Source/WebKit/Shared/LoadParameters.h b/Source/WebKit/Shared/LoadParameters.h >index 8402ddc8500..52cd0ff4c37 100644 >--- a/Source/WebKit/Shared/LoadParameters.h >+++ b/Source/WebKit/Shared/LoadParameters.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef LoadParameters_h >-#define LoadParameters_h >+#pragma once > > #include "DataReference.h" > #include "SandboxExtension.h" >@@ -72,4 +71,3 @@ struct LoadParameters { > > } // namespace WebKit > >-#endif // LoadParameters_h >diff --git a/Source/WebKit/Shared/NativeWebGestureEvent.h b/Source/WebKit/Shared/NativeWebGestureEvent.h >index b98b758370d..7e3b25013f3 100644 >--- a/Source/WebKit/Shared/NativeWebGestureEvent.h >+++ b/Source/WebKit/Shared/NativeWebGestureEvent.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NativeWebGestureEvent_h >-#define NativeWebGestureEvent_h >+#pragma once > > #if ENABLE(MAC_GESTURE_EVENTS) > >@@ -49,4 +48,3 @@ private: > > #endif // ENABLE(MAC_GESTURE_EVENTS) > >-#endif // NativeWebGestureEvent_h >diff --git a/Source/WebKit/Shared/NativeWebKeyboardEvent.h b/Source/WebKit/Shared/NativeWebKeyboardEvent.h >index 64a8f314543..dc60d5e1ebb 100644 >--- a/Source/WebKit/Shared/NativeWebKeyboardEvent.h >+++ b/Source/WebKit/Shared/NativeWebKeyboardEvent.h >@@ -26,8 +26,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NativeWebKeyboardEvent_h >-#define NativeWebKeyboardEvent_h >+#pragma once > > #include "WebEvent.h" > >@@ -107,4 +106,3 @@ private: > > } // namespace WebKit > >-#endif // NativeWebKeyboardEvent_h >diff --git a/Source/WebKit/Shared/NativeWebMouseEvent.h b/Source/WebKit/Shared/NativeWebMouseEvent.h >index 70e5805b4a9..be6b3b9634d 100644 >--- a/Source/WebKit/Shared/NativeWebMouseEvent.h >+++ b/Source/WebKit/Shared/NativeWebMouseEvent.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NativeWebMouseEvent_h >-#define NativeWebMouseEvent_h >+#pragma once > > #include "WebEvent.h" > >@@ -95,4 +94,3 @@ private: > > } // namespace WebKit > >-#endif // NativeWebMouseEvent_h >diff --git a/Source/WebKit/Shared/NativeWebTouchEvent.h b/Source/WebKit/Shared/NativeWebTouchEvent.h >index 4d93c694459..602d6be3561 100644 >--- a/Source/WebKit/Shared/NativeWebTouchEvent.h >+++ b/Source/WebKit/Shared/NativeWebTouchEvent.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NativeWebTouchEvent_h >-#define NativeWebTouchEvent_h >+#pragma once > > #if ENABLE(TOUCH_EVENTS) > >@@ -71,4 +70,3 @@ private: > > #endif // ENABLE(TOUCH_EVENTS) > >-#endif // NativeWebTouchEvent_h >diff --git a/Source/WebKit/Shared/NativeWebWheelEvent.h b/Source/WebKit/Shared/NativeWebWheelEvent.h >index 8bdf5e7008e..25d48e01aea 100644 >--- a/Source/WebKit/Shared/NativeWebWheelEvent.h >+++ b/Source/WebKit/Shared/NativeWebWheelEvent.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NativeWebWheelEvent_h >-#define NativeWebWheelEvent_h >+#pragma once > > #include "WebEvent.h" > >@@ -84,4 +83,3 @@ private: > > } // namespace WebKit > >-#endif // NativeWebWheelEvent_h >diff --git a/Source/WebKit/Shared/Plugins/NPObjectMessageReceiver.h b/Source/WebKit/Shared/Plugins/NPObjectMessageReceiver.h >index 2759893faf9..43360cf8d36 100644 >--- a/Source/WebKit/Shared/Plugins/NPObjectMessageReceiver.h >+++ b/Source/WebKit/Shared/Plugins/NPObjectMessageReceiver.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NPObjectMessageReceiver_h >-#define NPObjectMessageReceiver_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -75,4 +74,3 @@ private: > #endif // ENABLE(NETSCAPE_PLUGIN_API) > > >-#endif // NPObjectMessageReceiver_h >diff --git a/Source/WebKit/Shared/Plugins/NPObjectProxy.h b/Source/WebKit/Shared/Plugins/NPObjectProxy.h >index 05f49c3cd26..da43e0f0cbb 100644 >--- a/Source/WebKit/Shared/Plugins/NPObjectProxy.h >+++ b/Source/WebKit/Shared/Plugins/NPObjectProxy.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NPObjectProxy_h >-#define NPObjectProxy_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -93,4 +92,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // NPObjectProxy_h >diff --git a/Source/WebKit/Shared/Plugins/NPRemoteObjectMap.h b/Source/WebKit/Shared/Plugins/NPRemoteObjectMap.h >index ed105a73cd3..785298a0a16 100644 >--- a/Source/WebKit/Shared/Plugins/NPRemoteObjectMap.h >+++ b/Source/WebKit/Shared/Plugins/NPRemoteObjectMap.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NPRemoteObjectMap_h >-#define NPRemoteObjectMap_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -79,4 +78,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // NPRemoteObjectMap_h >diff --git a/Source/WebKit/Shared/Plugins/Netscape/NetscapePluginModule.h b/Source/WebKit/Shared/Plugins/Netscape/NetscapePluginModule.h >index b82ada11378..0036c60e51c 100644 >--- a/Source/WebKit/Shared/Plugins/Netscape/NetscapePluginModule.h >+++ b/Source/WebKit/Shared/Plugins/Netscape/NetscapePluginModule.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetscapePluginModule_h >-#define NetscapePluginModule_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -105,4 +104,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // NetscapePluginModule_h >diff --git a/Source/WebKit/Shared/Plugins/Netscape/PluginInformation.h b/Source/WebKit/Shared/Plugins/Netscape/PluginInformation.h >index 969e85a0a4d..89ba7d0fa54 100644 >--- a/Source/WebKit/Shared/Plugins/Netscape/PluginInformation.h >+++ b/Source/WebKit/Shared/Plugins/Netscape/PluginInformation.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginInformation_h >-#define PluginInformation_h >+#pragma once > > #include "APIDictionary.h" > #include <wtf/Forward.h> >@@ -60,4 +59,3 @@ void getPlatformPluginModuleInformation(const PluginModuleInfo&, API::Dictionary > > } // namespace WebKit > >-#endif // PluginInformation_h >diff --git a/Source/WebKit/Shared/Plugins/PluginProcessAttributes.h b/Source/WebKit/Shared/Plugins/PluginProcessAttributes.h >index b4e7808abbb..d75f3546c9a 100644 >--- a/Source/WebKit/Shared/Plugins/PluginProcessAttributes.h >+++ b/Source/WebKit/Shared/Plugins/PluginProcessAttributes.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginProcessAttributes_h >-#define PluginProcessAttributes_h >+#pragma once > > #include "PluginModuleInfo.h" > >@@ -48,4 +47,3 @@ struct PluginProcessAttributes { > > } // namespace WebKit > >-#endif // PluginProcessAttributes_h >diff --git a/Source/WebKit/Shared/Plugins/PluginQuirks.h b/Source/WebKit/Shared/Plugins/PluginQuirks.h >index 304ccf9e1a3..2a418dd309b 100644 >--- a/Source/WebKit/Shared/Plugins/PluginQuirks.h >+++ b/Source/WebKit/Shared/Plugins/PluginQuirks.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginQuirks_h >-#define PluginQuirks_h >+#pragma once > > namespace WebKit { > >@@ -128,4 +127,3 @@ private: > > } // namespace WebKit > >-#endif // PluginQuirkSet_h >diff --git a/Source/WebKit/Shared/Plugins/mac/PluginComplexTextInputState.h b/Source/WebKit/Shared/Plugins/mac/PluginComplexTextInputState.h >index c2edd2b0673..6a3adcdd5be 100644 >--- a/Source/WebKit/Shared/Plugins/mac/PluginComplexTextInputState.h >+++ b/Source/WebKit/Shared/Plugins/mac/PluginComplexTextInputState.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginComplexTextInputState_h >-#define PluginComplexTextInputState_h >+#pragma once > > namespace WebKit { > >@@ -55,4 +54,3 @@ static inline bool isValidPluginComplexTextInputState(uint64_t value) > > } // namespace WebKit > >-#endif // PluginComplexTextInputState_h >diff --git a/Source/WebKit/Shared/Plugins/mac/PluginSandboxProfile.h b/Source/WebKit/Shared/Plugins/mac/PluginSandboxProfile.h >index 0a246b62497..26b9e259d8e 100644 >--- a/Source/WebKit/Shared/Plugins/mac/PluginSandboxProfile.h >+++ b/Source/WebKit/Shared/Plugins/mac/PluginSandboxProfile.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginSandboxProfile_h >-#define PluginSandboxProfile_h >+#pragma once > > #include <wtf/Forward.h> > >@@ -35,4 +34,3 @@ bool pluginHasSandboxProfile(const String& bundleIdentifier); > > } // namespace WebKit > >-#endif // PluginSandboxProfile_h >diff --git a/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.h b/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.h >index 25a13ec8e72..aca67ed26d1 100644 >--- a/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.h >+++ b/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginSearchPath_h >-#define PluginSearchPath_h >+#pragma once > > #include <wtf/Forward.h> > #include <wtf/Vector.h> >@@ -35,4 +34,3 @@ Vector<String> pluginsDirectories(); > > } // namespace WebKit > >-#endif // PluginSandboxProfile_h >diff --git a/Source/WebKit/Shared/ResourceCachesToClear.h b/Source/WebKit/Shared/ResourceCachesToClear.h >index df9367c43ac..776e96dcada 100644 >--- a/Source/WebKit/Shared/ResourceCachesToClear.h >+++ b/Source/WebKit/Shared/ResourceCachesToClear.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ResourceCachesToClear_h >-#define ResourceCachesToClear_h >+#pragma once > > namespace WebKit { > >@@ -35,4 +34,3 @@ enum ResourceCachesToClear { > > } // namespace WebKit > >-#endif // ResourceCachesToClear_h >diff --git a/Source/WebKit/Shared/SameDocumentNavigationType.h b/Source/WebKit/Shared/SameDocumentNavigationType.h >index 41a6fc26309..0eaa23d5540 100644 >--- a/Source/WebKit/Shared/SameDocumentNavigationType.h >+++ b/Source/WebKit/Shared/SameDocumentNavigationType.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef SameDocumentNavigationType_h >-#define SameDocumentNavigationType_h >+#pragma once > > namespace WebKit { > >@@ -37,4 +36,3 @@ enum SameDocumentNavigationType { > > } // namespace WebKit > >-#endif // SameDocumentNavigationType_h >diff --git a/Source/WebKit/Shared/SandboxInitializationParameters.h b/Source/WebKit/Shared/SandboxInitializationParameters.h >index a619b700423..57c61499a64 100644 >--- a/Source/WebKit/Shared/SandboxInitializationParameters.h >+++ b/Source/WebKit/Shared/SandboxInitializationParameters.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef SandboxInitializationParameters_h >-#define SandboxInitializationParameters_h >+#pragma once > > #include <wtf/Vector.h> > #include <wtf/text/WTFString.h> >@@ -114,4 +113,3 @@ SandboxInitializationParameters::~SandboxInitializationParameters() > > } // namespace WebKit > >-#endif // SandboxInitializationParameters_h >diff --git a/Source/WebKit/Shared/SessionTracker.h b/Source/WebKit/Shared/SessionTracker.h >index 3fe5bd470c1..3ffdfb2e997 100644 >--- a/Source/WebKit/Shared/SessionTracker.h >+++ b/Source/WebKit/Shared/SessionTracker.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef SessionTracker_h >-#define SessionTracker_h >+#pragma once > > namespace WebCore { > class NetworkStorageSession; >@@ -52,4 +51,3 @@ public: > > } // namespace WebKit > >-#endif // SessionTracker_h >diff --git a/Source/WebKit/Shared/ShareableBitmap.h b/Source/WebKit/Shared/ShareableBitmap.h >index 6fd63045098..29c845a8595 100644 >--- a/Source/WebKit/Shared/ShareableBitmap.h >+++ b/Source/WebKit/Shared/ShareableBitmap.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ShareableBitmap_h >-#define ShareableBitmap_h >+#pragma once > > #include "SharedMemory.h" > #include <WebCore/IntRect.h> >@@ -158,4 +157,3 @@ private: > > } // namespace WebKit > >-#endif // ShareableBitmap_h >diff --git a/Source/WebKit/Shared/ShareableResource.h b/Source/WebKit/Shared/ShareableResource.h >index ca1d3f4e751..a4f8c2d1ab1 100644 >--- a/Source/WebKit/Shared/ShareableResource.h >+++ b/Source/WebKit/Shared/ShareableResource.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ShareableResource_h >-#define ShareableResource_h >+#pragma once > > #if ENABLE(SHAREABLE_RESOURCE) > >@@ -90,4 +89,3 @@ private: > > #endif // ENABLE(SHAREABLE_RESOURCE) > >-#endif // ShareableResource_h >diff --git a/Source/WebKit/Shared/StatisticsData.h b/Source/WebKit/Shared/StatisticsData.h >index f8e24a82a09..ec5b5719269 100644 >--- a/Source/WebKit/Shared/StatisticsData.h >+++ b/Source/WebKit/Shared/StatisticsData.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef StatisticsData_h >-#define StatisticsData_h >+#pragma once > > #include "Decoder.h" > #include "Encoder.h" >@@ -49,4 +48,3 @@ struct StatisticsData { > > } // namespace WebKit > >-#endif // StatisticsData_h >diff --git a/Source/WebKit/Shared/UpdateInfo.h b/Source/WebKit/Shared/UpdateInfo.h >index b1d4af9f7f1..30cf56018a9 100644 >--- a/Source/WebKit/Shared/UpdateInfo.h >+++ b/Source/WebKit/Shared/UpdateInfo.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef UpdateInfo_h >-#define UpdateInfo_h >+#pragma once > > #include "ShareableBitmap.h" > #include <WebCore/IntRect.h> >@@ -73,4 +72,3 @@ public: > > } // namespace WebKit > >-#endif // UpdateInfo_h >diff --git a/Source/WebKit/Shared/UserData.h b/Source/WebKit/Shared/UserData.h >index 4ee6092ad30..c81dff863fa 100644 >--- a/Source/WebKit/Shared/UserData.h >+++ b/Source/WebKit/Shared/UserData.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef UserData_h >-#define UserData_h >+#pragma once > > #include "APIObject.h" > #include <wtf/RefPtr.h> >@@ -65,4 +64,3 @@ private: > > } // namespace WebKit > >-#endif // UserData_h >diff --git a/Source/WebKit/Shared/WebCertificateInfo.h b/Source/WebKit/Shared/WebCertificateInfo.h >index 147b9a3f97a..0b76e0022a6 100644 >--- a/Source/WebKit/Shared/WebCertificateInfo.h >+++ b/Source/WebKit/Shared/WebCertificateInfo.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebCertificateInfo_h >-#define WebCertificateInfo_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/CertificateInfo.h> >@@ -52,4 +51,3 @@ private: > > } // namespace WebKit > >-#endif // WebCertificateInfo_h >diff --git a/Source/WebKit/Shared/WebConnection.h b/Source/WebKit/Shared/WebConnection.h >index fb260b4cd79..a0691e04887 100644 >--- a/Source/WebKit/Shared/WebConnection.h >+++ b/Source/WebKit/Shared/WebConnection.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebConnection_h >-#define WebConnection_h >+#pragma once > > #include "APIObject.h" > #include "MessageReceiver.h" >@@ -64,4 +63,3 @@ protected: > > } // namespace WebKit > >-#endif // WebConnection_h >diff --git a/Source/WebKit/Shared/WebConnectionClient.h b/Source/WebKit/Shared/WebConnectionClient.h >index a3d5cbb6ae6..ccaaeb12109 100644 >--- a/Source/WebKit/Shared/WebConnectionClient.h >+++ b/Source/WebKit/Shared/WebConnectionClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebConnectionClient_h >-#define WebConnectionClient_h >+#pragma once > > #include "APIClient.h" > #include "WKConnectionRef.h" >@@ -50,4 +49,3 @@ public: > > } // namespace WebKit > >-#endif // WebConnectionClient_h >diff --git a/Source/WebKit/Shared/WebContextMenuItem.h b/Source/WebKit/Shared/WebContextMenuItem.h >index 97632f966cc..1f64d4c5557 100644 >--- a/Source/WebKit/Shared/WebContextMenuItem.h >+++ b/Source/WebKit/Shared/WebContextMenuItem.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebContextMenuItem_h >-#define WebContextMenuItem_h >+#pragma once > > #if ENABLE(CONTEXT_MENUS) > >@@ -67,4 +66,3 @@ private: > } // namespace WebKit > > #endif // ENABLE(CONTEXT_MENUS) >-#endif // WebContextMenuItem_h >diff --git a/Source/WebKit/Shared/WebEvent.h b/Source/WebKit/Shared/WebEvent.h >index d625d2b89a3..8e9ed14deea 100644 >--- a/Source/WebKit/Shared/WebEvent.h >+++ b/Source/WebKit/Shared/WebEvent.h >@@ -24,8 +24,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebEvent_h >-#define WebEvent_h >+#pragma once > > // FIXME: We should probably move to makeing the WebCore/PlatformFooEvents trivial classes so that > // we can use them as the event type. >@@ -494,4 +493,3 @@ private: > > } // namespace WebKit > >-#endif // WebEvent_h >diff --git a/Source/WebKit/Shared/WebEventConversion.h b/Source/WebKit/Shared/WebEventConversion.h >index 827f4f7b20f..df7cd682deb 100644 >--- a/Source/WebKit/Shared/WebEventConversion.h >+++ b/Source/WebKit/Shared/WebEventConversion.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebEventConversion_h >-#define WebEventConversion_h >+#pragma once > > #include <WebCore/PlatformKeyboardEvent.h> > #include <WebCore/PlatformMouseEvent.h> >@@ -73,4 +72,3 @@ WebCore::PlatformGestureEvent platform(const WebGestureEvent&); > > } // namespace WebKit > >-#endif // WebEventConversion_h >diff --git a/Source/WebKit/Shared/WebGeolocationPosition.h b/Source/WebKit/Shared/WebGeolocationPosition.h >index 418ac363147..6f308325b68 100644 >--- a/Source/WebKit/Shared/WebGeolocationPosition.h >+++ b/Source/WebKit/Shared/WebGeolocationPosition.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebGeolocationPosition_h >-#define WebGeolocationPosition_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/GeolocationPosition.h> >@@ -65,4 +64,3 @@ private: > > } // namespace WebKit > >-#endif // WebGeolocationPosition_h >diff --git a/Source/WebKit/Shared/WebHitTestResultData.h b/Source/WebKit/Shared/WebHitTestResultData.h >index d3cfeec996a..6428c92c519 100644 >--- a/Source/WebKit/Shared/WebHitTestResultData.h >+++ b/Source/WebKit/Shared/WebHitTestResultData.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebHitTestResultData_h >-#define WebHitTestResultData_h >+#pragma once > > #include "APIObject.h" > #include "SharedMemory.h" >@@ -89,4 +88,3 @@ struct WebHitTestResultData { > > } // namespace WebKit > >-#endif // WebHitTestResultData_h >diff --git a/Source/WebKit/Shared/WebMediaSessionMetadata.h b/Source/WebKit/Shared/WebMediaSessionMetadata.h >index 7c30dd683b1..e77c773f2ea 100644 >--- a/Source/WebKit/Shared/WebMediaSessionMetadata.h >+++ b/Source/WebKit/Shared/WebMediaSessionMetadata.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebMediaSessionMetadata_h >-#define WebMediaSessionMetadata_h >+#pragma once > > #if ENABLE(MEDIA_SESSION) > >@@ -54,4 +53,3 @@ private: > > #endif // ENABLE(MEDIA_SESSION) > >-#endif // WebMediaSessionMetadata_h >diff --git a/Source/WebKit/Shared/WebMemorySampler.h b/Source/WebKit/Shared/WebMemorySampler.h >index 80813fea050..cba2a1f031c 100644 >--- a/Source/WebKit/Shared/WebMemorySampler.h >+++ b/Source/WebKit/Shared/WebMemorySampler.h >@@ -46,8 +46,7 @@ > * - Resident size memory (RSIZE) > */ > >-#ifndef WebMemorySampler_h >-#define WebMemorySampler_h >+#pragma once > > #if ENABLE(MEMORY_SAMPLER) > >@@ -108,4 +107,3 @@ private: > > #endif > >-#endif >diff --git a/Source/WebKit/Shared/WebNavigationDataStore.h b/Source/WebKit/Shared/WebNavigationDataStore.h >index 3b42d0215fe..252fb72358a 100644 >--- a/Source/WebKit/Shared/WebNavigationDataStore.h >+++ b/Source/WebKit/Shared/WebNavigationDataStore.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebNavigationDataStore_h >-#define WebNavigationDataStore_h >+#pragma once > > #include "Decoder.h" > #include "Encoder.h" >@@ -66,4 +65,3 @@ struct WebNavigationDataStore { > > } // namespace WebKit > >-#endif // WebNavigationDataStore_h >diff --git a/Source/WebKit/Shared/WebRenderLayer.h b/Source/WebKit/Shared/WebRenderLayer.h >index 51414dfb47a..3254594d7f3 100644 >--- a/Source/WebKit/Shared/WebRenderLayer.h >+++ b/Source/WebKit/Shared/WebRenderLayer.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebRenderLayer_h >-#define WebRenderLayer_h >+#pragma once > > #include "WebRenderObject.h" > >@@ -79,4 +78,3 @@ private: > > } // namespace WebKit > >-#endif // WebRenderLayer_h >diff --git a/Source/WebKit/Shared/WebRenderObject.h b/Source/WebKit/Shared/WebRenderObject.h >index 8522dac8844..fef504378f5 100644 >--- a/Source/WebKit/Shared/WebRenderObject.h >+++ b/Source/WebKit/Shared/WebRenderObject.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebRenderObject_h >-#define WebRenderObject_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/IntRect.h> >@@ -87,4 +86,3 @@ private: > > } // namespace WebKit > >-#endif // WebRenderObject_h >diff --git a/Source/WebKit/Shared/WebSQLiteDatabaseTracker.h b/Source/WebKit/Shared/WebSQLiteDatabaseTracker.h >index 7c5b75a4164..225bfd372d4 100644 >--- a/Source/WebKit/Shared/WebSQLiteDatabaseTracker.h >+++ b/Source/WebKit/Shared/WebSQLiteDatabaseTracker.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebSQLiteDatabaseTracker_h >-#define WebSQLiteDatabaseTracker_h >+#pragma once > > #include <WebCore/SQLiteDatabaseTrackerClient.h> > #include <pal/HysteresisActivity.h> >@@ -57,4 +56,3 @@ private: > > } // namespace WebKit > >-#endif // WebSQLiteDatabaseTracker_h >diff --git a/Source/WebKit/Shared/WebsiteData/WebsiteDataType.h b/Source/WebKit/Shared/WebsiteData/WebsiteDataType.h >index 9d50361e81a..4f1c6fe2ab6 100644 >--- a/Source/WebKit/Shared/WebsiteData/WebsiteDataType.h >+++ b/Source/WebKit/Shared/WebsiteData/WebsiteDataType.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebsiteDataType_h >-#define WebsiteDataType_h >+#pragma once > > namespace WebKit { > >@@ -53,4 +52,3 @@ enum class WebsiteDataType { > > }; > >-#endif // WebsiteDataType_h >diff --git a/Source/WebKit/Shared/cf/ArgumentCodersCF.h b/Source/WebKit/Shared/cf/ArgumentCodersCF.h >index d8befd0a319..843b0226190 100644 >--- a/Source/WebKit/Shared/cf/ArgumentCodersCF.h >+++ b/Source/WebKit/Shared/cf/ArgumentCodersCF.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ArgumentCodersCF_h >-#define ArgumentCodersCF_h >+#pragma once > > #include <Security/SecCertificate.h> > #include <Security/SecTrust.h> >@@ -109,4 +108,3 @@ CFTypeRef tokenNullTypeRef(); > > } // namespace IPC > >-#endif // ArgumentCodersCF_h >diff --git a/Source/WebKit/Shared/gtk/ArgumentCodersGtk.h b/Source/WebKit/Shared/gtk/ArgumentCodersGtk.h >index f1e78502f53..7b82ea402fa 100644 >--- a/Source/WebKit/Shared/gtk/ArgumentCodersGtk.h >+++ b/Source/WebKit/Shared/gtk/ArgumentCodersGtk.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ArgumentCodersGtk_h >-#define ArgumentCodersGtk_h >+#pragma once > > #include "ArgumentCoders.h" > #include <wtf/glib/GRefPtr.h> >@@ -51,4 +50,3 @@ template<> struct ArgumentCoder<WebCore::SelectionData> { > > } // namespace IPC > >-#endif // ArgumentCodersGtk_h >diff --git a/Source/WebKit/Shared/gtk/WebEventFactory.h b/Source/WebKit/Shared/gtk/WebEventFactory.h >index 8fe7cdce56f..681da0d5318 100644 >--- a/Source/WebKit/Shared/gtk/WebEventFactory.h >+++ b/Source/WebKit/Shared/gtk/WebEventFactory.h >@@ -24,8 +24,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebEventFactory_h >-#define WebEventFactory_h >+#pragma once > > #include "WebEvent.h" > #include <WebCore/CompositionResults.h> >@@ -47,4 +46,3 @@ public: > > } // namespace WebKit > >-#endif // WebEventFactory_h >diff --git a/Source/WebKit/Shared/ios/GestureTypes.h b/Source/WebKit/Shared/ios/GestureTypes.h >index 68450d0d602..80a82c8c10f 100644 >--- a/Source/WebKit/Shared/ios/GestureTypes.h >+++ b/Source/WebKit/Shared/ios/GestureTypes.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef GestureTypes_h >-#define GestureTypes_h >+#pragma once > > namespace WebKit { > >@@ -85,4 +84,3 @@ enum class SelectionHandlePosition { > > } // namespace WebKit > >-#endif // GestureTypes_h >diff --git a/Source/WebKit/Shared/ios/QuickLookDocumentData.h b/Source/WebKit/Shared/ios/QuickLookDocumentData.h >index 1f255b5f86e..e218c17f471 100644 >--- a/Source/WebKit/Shared/ios/QuickLookDocumentData.h >+++ b/Source/WebKit/Shared/ios/QuickLookDocumentData.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef QuickLookDocumentData_h >-#define QuickLookDocumentData_h >+#pragma once > > #include <wtf/RetainPtr.h> > #include <wtf/Vector.h> >@@ -49,4 +48,3 @@ private: > }; > } // namespace WebKit > >-#endif // QuickLookDocumentData_h >diff --git a/Source/WebKit/Shared/ios/WebIOSEventFactory.h b/Source/WebKit/Shared/ios/WebIOSEventFactory.h >index fa45ee63372..4ea97da5c10 100644 >--- a/Source/WebKit/Shared/ios/WebIOSEventFactory.h >+++ b/Source/WebKit/Shared/ios/WebIOSEventFactory.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebIOSEventFactory_h >-#define WebIOSEventFactory_h >+#pragma once > > #if PLATFORM(IOS) > >@@ -39,4 +38,3 @@ public: > > #endif // PLATFORM(IOS) > >-#endif // WebIOSEventFactory_h >diff --git a/Source/WebKit/Shared/mac/AttributedString.h b/Source/WebKit/Shared/mac/AttributedString.h >index 37e23f0b031..5cccb1c49cb 100644 >--- a/Source/WebKit/Shared/mac/AttributedString.h >+++ b/Source/WebKit/Shared/mac/AttributedString.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef AttributedString_h >-#define AttributedString_h >+#pragma once > > #include <wtf/RetainPtr.h> > >@@ -46,4 +45,3 @@ struct AttributedString { > > } > >-#endif // AttributedString_h >diff --git a/Source/WebKit/Shared/mac/ColorSpaceData.h b/Source/WebKit/Shared/mac/ColorSpaceData.h >index cd2b2f47221..6d753570933 100644 >--- a/Source/WebKit/Shared/mac/ColorSpaceData.h >+++ b/Source/WebKit/Shared/mac/ColorSpaceData.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ColorSpaceData_h >-#define ColorSpaceData_h >+#pragma once > > #include <wtf/RetainPtr.h> > >@@ -44,4 +43,3 @@ struct ColorSpaceData { > > } // namespace WebKit > >-#endif // ColorSpaceData_h >diff --git a/Source/WebKit/Shared/mac/ObjCObjectGraph.h b/Source/WebKit/Shared/mac/ObjCObjectGraph.h >index f12f1ca130d..ec8cfcdf6ee 100644 >--- a/Source/WebKit/Shared/mac/ObjCObjectGraph.h >+++ b/Source/WebKit/Shared/mac/ObjCObjectGraph.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ObjCObjectGraph_h >-#define ObjCObjectGraph_h >+#pragma once > > #include "APIObject.h" > #include <wtf/RetainPtr.h> >@@ -71,4 +70,3 @@ private: > > } // namespace WebKit > >-#endif // ObjCObjectGraph_h >diff --git a/Source/WebKit/Shared/mac/PDFKitImports.h b/Source/WebKit/Shared/mac/PDFKitImports.h >index c5ad29e19dd..38575c36051 100644 >--- a/Source/WebKit/Shared/mac/PDFKitImports.h >+++ b/Source/WebKit/Shared/mac/PDFKitImports.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PDFKitImports_h >-#define PDFKitImports_h >+#pragma once > > #if PLATFORM(MAC) > >@@ -46,4 +45,3 @@ Class pdfSelectionClass(); > > #endif // PLATFORM(MAC) > >-#endif // PDFKitImports_h >diff --git a/Source/WebKit/Shared/mac/PasteboardTypes.h b/Source/WebKit/Shared/mac/PasteboardTypes.h >index d5c89c522d5..19e0f8c0d95 100644 >--- a/Source/WebKit/Shared/mac/PasteboardTypes.h >+++ b/Source/WebKit/Shared/mac/PasteboardTypes.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PasteboardTypes_h >-#define PasteboardTypes_h >+#pragma once > > #if PLATFORM(MAC) > >@@ -49,4 +48,3 @@ public: > > #endif // PLATFORM(MAC) > >-#endif // PasteboardTypes_h >diff --git a/Source/WebKit/Shared/mac/SecItemRequestData.h b/Source/WebKit/Shared/mac/SecItemRequestData.h >index 465a821cbec..28e86c64825 100644 >--- a/Source/WebKit/Shared/mac/SecItemRequestData.h >+++ b/Source/WebKit/Shared/mac/SecItemRequestData.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef SecItemRequestData_h >-#define SecItemRequestData_h >+#pragma once > > #include <wtf/RetainPtr.h> > >@@ -65,4 +64,3 @@ private: > > } // namespace WebKit > >-#endif // SecItemRequestData_h >diff --git a/Source/WebKit/Shared/mac/SecItemResponseData.h b/Source/WebKit/Shared/mac/SecItemResponseData.h >index dbdf8d00acf..8746128be5e 100644 >--- a/Source/WebKit/Shared/mac/SecItemResponseData.h >+++ b/Source/WebKit/Shared/mac/SecItemResponseData.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef SecItemResponseData_h >-#define SecItemResponseData_h >+#pragma once > > #include <wtf/RetainPtr.h> > >@@ -53,4 +52,3 @@ private: > > } // namespace WebKit > >-#endif // SecItemResponseData_h >diff --git a/Source/WebKit/Shared/mac/WeakObjCPtr.h b/Source/WebKit/Shared/mac/WeakObjCPtr.h >index 7cf000cfb06..4c3f29b56d0 100644 >--- a/Source/WebKit/Shared/mac/WeakObjCPtr.h >+++ b/Source/WebKit/Shared/mac/WeakObjCPtr.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WeakObjCPtr_h >-#define WeakObjCPtr_h >+#pragma once > > #include <objc/runtime.h> > #include <type_traits> >@@ -103,4 +102,3 @@ private: > > } // namespace WebKit > >-#endif // WeakObjCPtr_h >diff --git a/Source/WebKit/Shared/mac/WebEventFactory.h b/Source/WebKit/Shared/mac/WebEventFactory.h >index be872ceb68a..624012d289e 100644 >--- a/Source/WebKit/Shared/mac/WebEventFactory.h >+++ b/Source/WebKit/Shared/mac/WebEventFactory.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebEventFactory_h >-#define WebEventFactory_h >+#pragma once > > #import "WebEvent.h" > >@@ -51,4 +50,3 @@ public: > > } // namespace WebKit > >-#endif // WebEventFactory_h >diff --git a/Source/WebKit/Shared/mac/WebGestureEvent.h b/Source/WebKit/Shared/mac/WebGestureEvent.h >index b6f9c68db03..03672f59879 100644 >--- a/Source/WebKit/Shared/mac/WebGestureEvent.h >+++ b/Source/WebKit/Shared/mac/WebGestureEvent.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebGestureEvent_h >-#define WebGestureEvent_h >+#pragma once > > #if ENABLE(MAC_GESTURE_EVENTS) > >@@ -74,4 +73,3 @@ private: > > #endif // ENABLE(MAC_GESTURE_EVENTS) > >-#endif // WebGestureEvent_h >diff --git a/Source/WebKit/Shared/soup/SoupCookiePersistentStorageType.h b/Source/WebKit/Shared/soup/SoupCookiePersistentStorageType.h >index 9fc1c3cd319..1b2eab6cc20 100644 >--- a/Source/WebKit/Shared/soup/SoupCookiePersistentStorageType.h >+++ b/Source/WebKit/Shared/soup/SoupCookiePersistentStorageType.h >@@ -23,8 +23,7 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef SoupCookiePersistentStorageType_h >-#define SoupCookiePersistentStorageType_h >+#pragma once > > namespace WebKit { > >@@ -35,4 +34,3 @@ enum SoupCookiePersistentStorageType { > > } // namespace WebKit > >-#endif // SoupCookiePersistentStorageType_h >diff --git a/Source/WebKit/Shared/unix/ChildProcessMain.h b/Source/WebKit/Shared/unix/ChildProcessMain.h >index 7b9029420d9..d56659441d5 100644 >--- a/Source/WebKit/Shared/unix/ChildProcessMain.h >+++ b/Source/WebKit/Shared/unix/ChildProcessMain.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ChildProcessMain_h >-#define ChildProcessMain_h >+#pragma once > > #include "ChildProcess.h" > #include "WebKit2Initialize.h" >@@ -66,4 +65,3 @@ int ChildProcessMain(int argc, char** argv) > > } // namespace WebKit > >-#endif // ChildProcessMain_h >diff --git a/Source/WebKit/UIProcess/API/APIAttachment.h b/Source/WebKit/UIProcess/API/APIAttachment.h >index 261d1439521..60d6e68da9a 100644 >--- a/Source/WebKit/UIProcess/API/APIAttachment.h >+++ b/Source/WebKit/UIProcess/API/APIAttachment.h >@@ -26,8 +26,8 @@ > #pragma once > > #include "APIObject.h" >+#include "WebPageProxy.h" > #include <WebKit/WKBase.h> >-#include <WebKit/WebPageProxy.h> > #include <wtf/RefPtr.h> > #include <wtf/WeakPtr.h> > #include <wtf/text/WTFString.h> >diff --git a/Source/WebKit/UIProcess/API/APIAutomationClient.h b/Source/WebKit/UIProcess/API/APIAutomationClient.h >index 299581095dd..3fdd957e0e2 100644 >--- a/Source/WebKit/UIProcess/API/APIAutomationClient.h >+++ b/Source/WebKit/UIProcess/API/APIAutomationClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIAutomationClient_h >-#define APIAutomationClient_h >+#pragma once > > #include <wtf/Forward.h> > >@@ -44,4 +43,3 @@ public: > > } // namespace API > >-#endif // APIAutomationClient_h >diff --git a/Source/WebKit/UIProcess/API/APIAutomationSessionClient.h b/Source/WebKit/UIProcess/API/APIAutomationSessionClient.h >index 8076e4444d7..85ebcc4b662 100644 >--- a/Source/WebKit/UIProcess/API/APIAutomationSessionClient.h >+++ b/Source/WebKit/UIProcess/API/APIAutomationSessionClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIAutomationSessionClient_h >-#define APIAutomationSessionClient_h >+#pragma once > > #include <wtf/CompletionHandler.h> > #include <wtf/text/WTFString.h> >@@ -67,4 +66,3 @@ public: > > } // namespace API > >-#endif // APIAutomationSessionClient_h >diff --git a/Source/WebKit/UIProcess/API/APIDiagnosticLoggingClient.h b/Source/WebKit/UIProcess/API/APIDiagnosticLoggingClient.h >index 40ad0d408b8..ebdebf3b909 100644 >--- a/Source/WebKit/UIProcess/API/APIDiagnosticLoggingClient.h >+++ b/Source/WebKit/UIProcess/API/APIDiagnosticLoggingClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIDiagnosticLoggingClient_h >-#define APIDiagnosticLoggingClient_h >+#pragma once > > #include <WebCore/DiagnosticLoggingResultType.h> > #include <wtf/text/WTFString.h> >@@ -47,5 +46,4 @@ public: > > } // namespace API > >-#endif // APIDiagnosticLoggingClient_h > >diff --git a/Source/WebKit/UIProcess/API/APIExperimentalFeature.h b/Source/WebKit/UIProcess/API/APIExperimentalFeature.h >index 68a506c7c1b..297e141d6b7 100644 >--- a/Source/WebKit/UIProcess/API/APIExperimentalFeature.h >+++ b/Source/WebKit/UIProcess/API/APIExperimentalFeature.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIExperimentalFeature_h >-#define APIExperimentalFeature_h >+#pragma once > > #include "APIObject.h" > #include <wtf/text/WTFString.h> >@@ -52,4 +51,3 @@ private: > > } > >-#endif // APIExperimentalFeature_h >diff --git a/Source/WebKit/UIProcess/API/APIFindClient.h b/Source/WebKit/UIProcess/API/APIFindClient.h >index f3123af1951..2fddacde7f0 100644 >--- a/Source/WebKit/UIProcess/API/APIFindClient.h >+++ b/Source/WebKit/UIProcess/API/APIFindClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIFindClient_h >-#define APIFindClient_h >+#pragma once > > #include <wtf/text/WTFString.h> > >@@ -49,4 +48,3 @@ public: > > } // namespace API > >-#endif // APIFindClient_h >diff --git a/Source/WebKit/UIProcess/API/APIFindMatchesClient.h b/Source/WebKit/UIProcess/API/APIFindMatchesClient.h >index c6f457342d1..c0985a21b57 100644 >--- a/Source/WebKit/UIProcess/API/APIFindMatchesClient.h >+++ b/Source/WebKit/UIProcess/API/APIFindMatchesClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIFindMatchesClient_h >-#define APIFindMatchesClient_h >+#pragma once > > #include <WebCore/IntRect.h> > #include <wtf/Vector.h> >@@ -47,4 +46,3 @@ public: > > } // namespace API > >-#endif // APIFindMatchesClient_h >diff --git a/Source/WebKit/UIProcess/API/APIHistoryClient.h b/Source/WebKit/UIProcess/API/APIHistoryClient.h >index 77fca265629..eed9621c2d6 100644 >--- a/Source/WebKit/UIProcess/API/APIHistoryClient.h >+++ b/Source/WebKit/UIProcess/API/APIHistoryClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIHistoryClient_h >-#define APIHistoryClient_h >+#pragma once > > #include <wtf/Forward.h> > >@@ -47,4 +46,3 @@ public: > > } // namespace API > >-#endif // APIHistoryClient_h >diff --git a/Source/WebKit/UIProcess/API/APILegacyContextHistoryClient.h b/Source/WebKit/UIProcess/API/APILegacyContextHistoryClient.h >index cbb9e0a9714..b15ce9b05af 100644 >--- a/Source/WebKit/UIProcess/API/APILegacyContextHistoryClient.h >+++ b/Source/WebKit/UIProcess/API/APILegacyContextHistoryClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APILegacyContextHistoryClient_h >-#define APILegacyContextHistoryClient_h >+#pragma once > > #include <wtf/Forward.h> > >@@ -51,4 +50,3 @@ public: > > } // namespace API > >-#endif // APILegacyContextHistoryClient_h >diff --git a/Source/WebKit/UIProcess/API/APILoaderClient.h b/Source/WebKit/UIProcess/API/APILoaderClient.h >index 38410da025d..d9e36027778 100644 >--- a/Source/WebKit/UIProcess/API/APILoaderClient.h >+++ b/Source/WebKit/UIProcess/API/APILoaderClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APILoaderClient_h >-#define APILoaderClient_h >+#pragma once > > #include "APIData.h" > #include "PluginModuleInfo.h" >@@ -121,4 +120,3 @@ public: > > } // namespace API > >-#endif // APILoaderClient_h >diff --git a/Source/WebKit/UIProcess/API/APINavigationData.h b/Source/WebKit/UIProcess/API/APINavigationData.h >index f614cc4fc5a..45f239c7f6a 100644 >--- a/Source/WebKit/UIProcess/API/APINavigationData.h >+++ b/Source/WebKit/UIProcess/API/APINavigationData.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APINavigationData_h >-#define APINavigationData_h >+#pragma once > > #include "APIObject.h" > #include "WebNavigationDataStore.h" >@@ -53,4 +52,3 @@ private: > > } // namespace API > >-#endif // APINavigationData_h >diff --git a/Source/WebKit/UIProcess/API/APINavigationResponse.h b/Source/WebKit/UIProcess/API/APINavigationResponse.h >index 75c456f534f..f6995f584a1 100644 >--- a/Source/WebKit/UIProcess/API/APINavigationResponse.h >+++ b/Source/WebKit/UIProcess/API/APINavigationResponse.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APINavigationResponse_h >-#define APINavigationResponse_h >+#pragma once > > #include "APIFrameInfo.h" > #include "APIObject.h" >@@ -67,4 +66,3 @@ private: > > } // namespace API > >-#endif // APINavigationResponse_h >diff --git a/Source/WebKit/UIProcess/API/APIPageConfiguration.h b/Source/WebKit/UIProcess/API/APIPageConfiguration.h >index d43b91d682c..d6849dac904 100644 >--- a/Source/WebKit/UIProcess/API/APIPageConfiguration.h >+++ b/Source/WebKit/UIProcess/API/APIPageConfiguration.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIPageConfiguration_h >-#define APIPageConfiguration_h >+#pragma once > > #include "APIObject.h" > #include "WebPreferencesStore.h" >@@ -146,4 +145,3 @@ private: > } // namespace API > > >-#endif // APIPageConfiguration_h >diff --git a/Source/WebKit/UIProcess/API/APISessionState.h b/Source/WebKit/UIProcess/API/APISessionState.h >index e4d32f7fccf..b613730a774 100644 >--- a/Source/WebKit/UIProcess/API/APISessionState.h >+++ b/Source/WebKit/UIProcess/API/APISessionState.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APISessionState_h >-#define APISessionState_h >+#pragma once > > #include "APIObject.h" > #include "SessionState.h" >@@ -46,4 +45,3 @@ private: > > } // namespace API > >-#endif // APISessionState_h >diff --git a/Source/WebKit/UIProcess/API/APIUserContentWorld.h b/Source/WebKit/UIProcess/API/APIUserContentWorld.h >index 840fe1c303e..f6051dfe2c4 100644 >--- a/Source/WebKit/UIProcess/API/APIUserContentWorld.h >+++ b/Source/WebKit/UIProcess/API/APIUserContentWorld.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIUserContentWorld_h >-#define APIUserContentWorld_h >+#pragma once > > #include "APIObject.h" > #include <wtf/text/WTFString.h> >@@ -53,4 +52,3 @@ private: > > } // namespace API > >-#endif // APIUserContentWorld_h >diff --git a/Source/WebKit/UIProcess/API/APIUserScript.h b/Source/WebKit/UIProcess/API/APIUserScript.h >index 17a40909897..d9e3649d180 100644 >--- a/Source/WebKit/UIProcess/API/APIUserScript.h >+++ b/Source/WebKit/UIProcess/API/APIUserScript.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIUserScript_h >-#define APIUserScript_h >+#pragma once > > #include "APIObject.h" > #include "APIUserContentWorld.h" >@@ -56,4 +55,3 @@ private: > > } // namespace API > >-#endif // APIUserScript_h >diff --git a/Source/WebKit/UIProcess/API/APIUserStyleSheet.h b/Source/WebKit/UIProcess/API/APIUserStyleSheet.h >index d856f7a52f9..6bfede18088 100644 >--- a/Source/WebKit/UIProcess/API/APIUserStyleSheet.h >+++ b/Source/WebKit/UIProcess/API/APIUserStyleSheet.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIUserStyleSheet_h >-#define APIUserStyleSheet_h >+#pragma once > > #include "APIObject.h" > #include "APIUserContentWorld.h" >@@ -56,4 +55,3 @@ private: > > } // namespace API > >-#endif // APIUserStyleSheet_h >diff --git a/Source/WebKit/UIProcess/API/APIWebsiteDataRecord.h b/Source/WebKit/UIProcess/API/APIWebsiteDataRecord.h >index 0ccdb219078..f9aa6f96818 100644 >--- a/Source/WebKit/UIProcess/API/APIWebsiteDataRecord.h >+++ b/Source/WebKit/UIProcess/API/APIWebsiteDataRecord.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIWebsiteDataRecord_h >-#define APIWebsiteDataRecord_h >+#pragma once > > #include "APIObject.h" > #include "WebsiteDataRecord.h" >@@ -46,4 +45,3 @@ private: > > } > >-#endif // APIWebsiteDataRecord_h >diff --git a/Source/WebKit/UIProcess/API/APIWindowFeatures.h b/Source/WebKit/UIProcess/API/APIWindowFeatures.h >index ccedf79fdf1..fde2bee1aba 100644 >--- a/Source/WebKit/UIProcess/API/APIWindowFeatures.h >+++ b/Source/WebKit/UIProcess/API/APIWindowFeatures.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIWindowFeatures_h >-#define APIWindowFeatures_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/WindowFeatures.h> >@@ -46,4 +45,3 @@ private: > > } > >-#endif // APIWindowFeatures_h >diff --git a/Source/WebKit/UIProcess/API/C/WKContextMenuListener.h b/Source/WebKit/UIProcess/API/C/WKContextMenuListener.h >index 2b50d7dc2ac..e3b41d0f39e 100644 >--- a/Source/WebKit/UIProcess/API/C/WKContextMenuListener.h >+++ b/Source/WebKit/UIProcess/API/C/WKContextMenuListener.h >@@ -23,7 +23,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKContextMenuListener_h >+#define WKContextMenuListener_h > > #include <WebKit/WKBase.h> > >@@ -38,3 +39,5 @@ WK_EXPORT void WKContextMenuListenerUseContextMenuItems(WKContextMenuListenerRef > #ifdef __cplusplus > } > #endif >+ >+#endif >diff --git a/Source/WebKit/UIProcess/API/C/WKFramePolicyListener.h b/Source/WebKit/UIProcess/API/C/WKFramePolicyListener.h >index 9d2ccfcade9..eb234f66f97 100644 >--- a/Source/WebKit/UIProcess/API/C/WKFramePolicyListener.h >+++ b/Source/WebKit/UIProcess/API/C/WKFramePolicyListener.h >@@ -23,7 +23,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKFramePolicyListener_h >+#define WKFramePolicyListener_h > > #include <WebKit/WKBase.h> > >@@ -41,3 +42,5 @@ WK_EXPORT void WKFramePolicyListenerUseWithPolicies(WKFramePolicyListenerRef, WK > #ifdef __cplusplus > } > #endif >+ >+#endif >diff --git a/Source/WebKit/UIProcess/API/C/WKPageUIClient.h b/Source/WebKit/UIProcess/API/C/WKPageUIClient.h >index a649b1d7dcc..53d4806db37 100644 >--- a/Source/WebKit/UIProcess/API/C/WKPageUIClient.h >+++ b/Source/WebKit/UIProcess/API/C/WKPageUIClient.h >@@ -23,7 +23,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKPageUIClient_h >+#define WKPageUIClient_h > > #include <WebKit/WKBase.h> > #include <WebKit/WKEvent.h> >@@ -1036,3 +1037,5 @@ typedef struct WKPageUIClientV11 { > #ifdef __cplusplus > } > #endif >+ >+#endif >diff --git a/Source/WebKit/UIProcess/API/C/WKProcessTerminationReason.h b/Source/WebKit/UIProcess/API/C/WKProcessTerminationReason.h >index 620e85a86f8..613b77511fd 100644 >--- a/Source/WebKit/UIProcess/API/C/WKProcessTerminationReason.h >+++ b/Source/WebKit/UIProcess/API/C/WKProcessTerminationReason.h >@@ -23,7 +23,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKProcessTerminationReason_h >+#define WKProcessTerminationReason_h > > #include <stdint.h> > >@@ -42,3 +43,5 @@ typedef uint32_t WKProcessTerminationReason; > #ifdef __cplusplus > } > #endif >+ >+#endif >diff --git a/Source/WebKit/UIProcess/API/C/WKTestingSupport.h b/Source/WebKit/UIProcess/API/C/WKTestingSupport.h >index cff470161e7..16e054b10dd 100644 >--- a/Source/WebKit/UIProcess/API/C/WKTestingSupport.h >+++ b/Source/WebKit/UIProcess/API/C/WKTestingSupport.h >@@ -23,7 +23,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKTestingSupport_h >+#define WKTestingSupport_h > > #include <WebKit/WKBase.h> > >@@ -37,3 +38,5 @@ WK_EXPORT size_t WKGetWebURLSchemeTaskInstanceCount(); > #ifdef __cplusplus > } > #endif >+ >+#endif >diff --git a/Source/WebKit/UIProcess/API/C/WKWebsitePolicies.h b/Source/WebKit/UIProcess/API/C/WKWebsitePolicies.h >index afcf421fc34..c87fd4eae17 100644 >--- a/Source/WebKit/UIProcess/API/C/WKWebsitePolicies.h >+++ b/Source/WebKit/UIProcess/API/C/WKWebsitePolicies.h >@@ -23,7 +23,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKWebsitePolicies_h >+#define WKWebsitePolicies_h > > #include <WebKit/WKBase.h> > >@@ -76,3 +77,5 @@ WK_EXPORT void WKWebsitePoliciesSetDataStore(WKWebsitePoliciesRef, WKWebsiteData > #ifdef __cplusplus > } > #endif >+ >+#endif >diff --git a/Source/WebKit/UIProcess/API/C/mac/WKProtectionSpaceNS.h b/Source/WebKit/UIProcess/API/C/mac/WKProtectionSpaceNS.h >index e433e22c4ae..a86e034e8fc 100644 >--- a/Source/WebKit/UIProcess/API/C/mac/WKProtectionSpaceNS.h >+++ b/Source/WebKit/UIProcess/API/C/mac/WKProtectionSpaceNS.h >@@ -23,7 +23,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKProtectionSpaceNS_h >+#define WKProtectionSpaceNS_h > > #include <Foundation/Foundation.h> > #include <WebKit/WKBase.h> >@@ -37,3 +38,5 @@ WK_EXPORT NSURLProtectionSpace *WKProtectionSpaceCopyNSURLProtectionSpace(WKProt > #ifdef __cplusplus > } > #endif >+ >+#endif >diff --git a/Source/WebKit/UIProcess/API/C/win/WKAPICastWin.h b/Source/WebKit/UIProcess/API/C/win/WKAPICastWin.h >index 2d418703b69..16731d60649 100644 >--- a/Source/WebKit/UIProcess/API/C/win/WKAPICastWin.h >+++ b/Source/WebKit/UIProcess/API/C/win/WKAPICastWin.h >@@ -24,7 +24,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKAPICastWin_h >+#define WKAPICastWin_h > > #ifndef WKAPICast_h > #error "Please #include \"WKAPICast.h\" instead of this file directly." >@@ -37,3 +38,5 @@ class WebView; > WK_ADD_API_MAPPING(WKViewRef, WebView) > > } // namespace WebKit >+ >+#endif >diff --git a/Source/WebKit/UIProcess/API/C/win/WKView.h b/Source/WebKit/UIProcess/API/C/win/WKView.h >index f151d8af433..3e692f0c444 100644 >--- a/Source/WebKit/UIProcess/API/C/win/WKView.h >+++ b/Source/WebKit/UIProcess/API/C/win/WKView.h >@@ -24,7 +24,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKView_h >+#define WKView_h > > #include <WebKit/WKBase.h> > #include <WebKit/WKGeometry.h> >@@ -46,3 +47,5 @@ WK_EXPORT void WKViewSetScrollOffsetOnNextResize(WKViewRef view, WKSize scrollOf > #ifdef __cplusplus > } > #endif >+ >+#endif >diff --git a/Source/WebKit/UIProcess/API/Cocoa/PageLoadStateObserver.h b/Source/WebKit/UIProcess/API/Cocoa/PageLoadStateObserver.h >index 95e9ba2ada9..01210007950 100644 >--- a/Source/WebKit/UIProcess/API/Cocoa/PageLoadStateObserver.h >+++ b/Source/WebKit/UIProcess/API/Cocoa/PageLoadStateObserver.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PageLoadStateObserver_h >-#define PageLoadStateObserver_h >+#pragma once > > #import "PageLoadState.h" > >@@ -114,4 +113,3 @@ private: > > } > >-#endif // PageLoadStateObserver_h >diff --git a/Source/WebKit/UIProcess/API/cpp/WKRetainPtr.h b/Source/WebKit/UIProcess/API/cpp/WKRetainPtr.h >index 6529110e2eb..f6e1d0ea860 100644 >--- a/Source/WebKit/UIProcess/API/cpp/WKRetainPtr.h >+++ b/Source/WebKit/UIProcess/API/cpp/WKRetainPtr.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKRetainPtr_h >-#define WKRetainPtr_h >+#pragma once > > #include <WebKit/WKType.h> > #include <algorithm> >@@ -284,4 +283,3 @@ template<typename P> struct HashTraits<WKRetainPtr<P>> : SimpleClassHashTraits<W > > } // namespace WTF > >-#endif // WKRetainPtr_h >diff --git a/Source/WebKit/UIProcess/API/glib/WebKitContextMenuClient.h b/Source/WebKit/UIProcess/API/glib/WebKitContextMenuClient.h >index 9b28bf998ba..550169e3aed 100644 >--- a/Source/WebKit/UIProcess/API/glib/WebKitContextMenuClient.h >+++ b/Source/WebKit/UIProcess/API/glib/WebKitContextMenuClient.h >@@ -17,11 +17,9 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitContextMenuClient_h >-#define WebKitContextMenuClient_h >+#pragma once > > #include "WebKitWebView.h" > > void attachContextMenuClientToView(WebKitWebView*); > >-#endif >diff --git a/Source/WebKit/UIProcess/API/glib/WebKitDownloadClient.h b/Source/WebKit/UIProcess/API/glib/WebKitDownloadClient.h >index c2566e897d6..72f50721802 100644 >--- a/Source/WebKit/UIProcess/API/glib/WebKitDownloadClient.h >+++ b/Source/WebKit/UIProcess/API/glib/WebKitDownloadClient.h >@@ -17,11 +17,9 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDownloadClient_h >-#define WebKitDownloadClient_h >+#pragma once > > #include "WebKitWebContext.h" > > void attachDownloadClientToContext(WebKitWebContext*); > >-#endif >diff --git a/Source/WebKit/UIProcess/API/glib/WebKitFormClient.h b/Source/WebKit/UIProcess/API/glib/WebKitFormClient.h >index a37022731f4..611e984e881 100644 >--- a/Source/WebKit/UIProcess/API/glib/WebKitFormClient.h >+++ b/Source/WebKit/UIProcess/API/glib/WebKitFormClient.h >@@ -17,11 +17,9 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitFormClient_h >-#define WebKitFormClient_h >+#pragma once > > #include "WebKitWebView.h" > > void attachFormClientToView(WebKitWebView*); > >-#endif >diff --git a/Source/WebKit/UIProcess/API/glib/WebKitInjectedBundleClient.h b/Source/WebKit/UIProcess/API/glib/WebKitInjectedBundleClient.h >index 7f7c791790e..c7f5919e020 100644 >--- a/Source/WebKit/UIProcess/API/glib/WebKitInjectedBundleClient.h >+++ b/Source/WebKit/UIProcess/API/glib/WebKitInjectedBundleClient.h >@@ -17,11 +17,9 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitInjectedBundleClient_h >-#define WebKitInjectedBundleClient_h >+#pragma once > > #include "WebKitWebContext.h" > > void attachInjectedBundleClientToContext(WebKitWebContext*); > >-#endif >diff --git a/Source/WebKit/UIProcess/API/glib/WebKitSecurityManagerPrivate.h b/Source/WebKit/UIProcess/API/glib/WebKitSecurityManagerPrivate.h >index feabdced6f7..f868c76abe4 100644 >--- a/Source/WebKit/UIProcess/API/glib/WebKitSecurityManagerPrivate.h >+++ b/Source/WebKit/UIProcess/API/glib/WebKitSecurityManagerPrivate.h >@@ -17,12 +17,10 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitSecurityManagerPrivate_h >-#define WebKitSecurityManagerPrivate_h >+#pragma once > > #include "WebKitSecurityManager.h" > #include "WebKitWebContext.h" > > WebKitSecurityManager* webkitSecurityManagerCreate(WebKitWebContext*); > >-#endif // WebKitSecurityManagerPrivate_h >diff --git a/Source/WebKit/UIProcess/API/glib/WebKitSettingsPrivate.h b/Source/WebKit/UIProcess/API/glib/WebKitSettingsPrivate.h >index c23a8cd1f69..d2738338b41 100644 >--- a/Source/WebKit/UIProcess/API/glib/WebKitSettingsPrivate.h >+++ b/Source/WebKit/UIProcess/API/glib/WebKitSettingsPrivate.h >@@ -23,12 +23,10 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebKitSettingsPrivate_h >-#define WebKitSettingsPrivate_h >+#pragma once > > #include "WebKitSettings.h" > #include "WebPreferences.h" > > WebKit::WebPreferences* webkitSettingsGetPreferences(WebKitSettings*); > >-#endif // WebKitSettingsPrivate_h >diff --git a/Source/WebKit/UIProcess/API/glib/WebKitUserContentManagerPrivate.h b/Source/WebKit/UIProcess/API/glib/WebKitUserContentManagerPrivate.h >index f791a5357b4..c6c7383835d 100644 >--- a/Source/WebKit/UIProcess/API/glib/WebKitUserContentManagerPrivate.h >+++ b/Source/WebKit/UIProcess/API/glib/WebKitUserContentManagerPrivate.h >@@ -17,12 +17,10 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitUserContentManagerPrivate_h >-#define WebKitUserContentManagerPrivate_h >+#pragma once > > #include "WebKitUserContentManager.h" > #include "WebUserContentControllerProxy.h" > > WebKit::WebUserContentControllerProxy* webkitUserContentManagerGetUserContentControllerProxy(WebKitUserContentManager*); > >-#endif // WebKitUserContentManagerPrivate_h >diff --git a/Source/WebKit/UIProcess/API/glib/WebKitUserContentPrivate.h b/Source/WebKit/UIProcess/API/glib/WebKitUserContentPrivate.h >index 444e2caaa72..47f14dde9b2 100644 >--- a/Source/WebKit/UIProcess/API/glib/WebKitUserContentPrivate.h >+++ b/Source/WebKit/UIProcess/API/glib/WebKitUserContentPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitUserContentPrivate_h >-#define WebKitUserContentPrivate_h >+#pragma once > > #include "APIUserScript.h" > #include "APIUserStyleSheet.h" >@@ -29,4 +28,3 @@ > API::UserScript& webkitUserScriptGetUserScript(WebKitUserScript*); > API::UserStyleSheet& webkitUserStyleSheetGetUserStyleSheet(WebKitUserStyleSheet*); > >-#endif // WebKitUserContentPrivate_h >diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebViewSessionStatePrivate.h b/Source/WebKit/UIProcess/API/glib/WebKitWebViewSessionStatePrivate.h >index 4c7f4e15a2f..133875506fe 100644 >--- a/Source/WebKit/UIProcess/API/glib/WebKitWebViewSessionStatePrivate.h >+++ b/Source/WebKit/UIProcess/API/glib/WebKitWebViewSessionStatePrivate.h >@@ -20,10 +20,8 @@ > #include "SessionState.h" > #include "WebKitWebViewSessionState.h" > >-#ifndef WebKitWebViewSessionStatePrivate_h >-#define WebKitWebViewSessionStatePrivate_h >+#pragma once > > WebKitWebViewSessionState* webkitWebViewSessionStateCreate(WebKit::SessionState&&); > const WebKit::SessionState& webkitWebViewSessionStateGetSessionState(WebKitWebViewSessionState*); > >-#endif // WebKitWebViewSessionStatePrivate_h >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitApplicationInfo.h b/Source/WebKit/UIProcess/API/gtk/WebKitApplicationInfo.h >index 34db9b9cc79..4e721b618f5 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitApplicationInfo.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitApplicationInfo.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitApplicationInfo_h >-#define WebKitApplicationInfo_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -66,4 +65,3 @@ webkit_application_info_get_version (WebKitApplicationInfo *info, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationDialog.h b/Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationDialog.h >index 0e5071f53db..59fff56abe8 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationDialog.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationDialog.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitAuthenticationDialog_h >-#define WebKitAuthenticationDialog_h >+#pragma once > > #include "WebKitAuthenticationRequest.h" > #include <gtk/gtk.h> >@@ -56,4 +55,3 @@ GtkWidget* webkitAuthenticationDialogNew(WebKitAuthenticationRequest*, Credentia > > G_END_DECLS > >-#endif // WebKitAuthenticationDialog_h >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationRequest.h >index 59cc9f08c7a..38c4f3c782a 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitAuthenticationRequest.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitAuthenticationRequest_h >-#define WebKitAuthenticationRequest_h >+#pragma once > > #include <gtk/gtk.h> > #include <webkit2/WebKitCredential.h> >@@ -122,4 +121,3 @@ webkit_authentication_request_cancel (WebKitAuthenticationReque > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitAutocleanups.h b/Source/WebKit/UIProcess/API/gtk/WebKitAutocleanups.h >index c32c099c049..2b70ff90303 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitAutocleanups.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitAutocleanups.h >@@ -27,8 +27,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitAutocleanups_h >-#define WebKitAutocleanups_h >+#pragma once > > #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC > #ifndef __GI_SCANNER__ >@@ -86,4 +85,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitWebViewSessionState, webkit_web_view_sessio > #endif // __GI_SCANNER__ > #endif // G_DEFINE_AUTOPTR_CLEANUP_FUNC > >-#endif // WebKitAutocleanups_h >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitAutomationSession.h b/Source/WebKit/UIProcess/API/gtk/WebKitAutomationSession.h >index 839dfe34f9d..de15a54fb19 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitAutomationSession.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitAutomationSession.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitAutomationSession_h >-#define WebKitAutomationSession_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitApplicationInfo.h> >@@ -71,4 +70,3 @@ webkit_automation_session_get_application_info (WebKitAutomationSession *session > > G_END_DECLS > >-#endif /* WebKitAutomationSession_h */ >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitBackForwardList.h b/Source/WebKit/UIProcess/API/gtk/WebKitBackForwardList.h >index 6fbd42ab0f1..8e857bccc4a 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitBackForwardList.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitBackForwardList.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitBackForwardList_h >-#define WebKitBackForwardList_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitBackForwardListItem.h> >@@ -90,4 +89,3 @@ webkit_back_forward_list_get_forward_list_with_limit (WebKitBackForwardList *bac > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitBackForwardListItem.h b/Source/WebKit/UIProcess/API/gtk/WebKitBackForwardListItem.h >index 5090e516c6a..d96db27e51d 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitBackForwardListItem.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitBackForwardListItem.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitBackForwardListItem_h >-#define WebKitBackForwardListItem_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -69,4 +68,3 @@ webkit_back_forward_list_item_get_original_uri (WebKitBackForwardListItem* list_ > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitColorChooserRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitColorChooserRequest.h >index 33a4ebb35fa..34dfabbb1e3 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitColorChooserRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitColorChooserRequest.h >@@ -28,8 +28,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitColorChooserRequest_h >-#define WebKitColorChooserRequest_h >+#pragma once > > #include <gtk/gtk.h> > #include <webkit2/WebKitDefines.h> >@@ -81,4 +80,3 @@ webkit_color_chooser_request_cancel (WebKitColorChooserRequest *r > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitColorChooserRequestPrivate.h b/Source/WebKit/UIProcess/API/gtk/WebKitColorChooserRequestPrivate.h >index 3acfe2821d7..69b1c1bf03a 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitColorChooserRequestPrivate.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitColorChooserRequestPrivate.h >@@ -24,12 +24,10 @@ > * POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebKitColorChooserRequestPrivate_h >-#define WebKitColorChooserRequestPrivate_h >+#pragma once > > #include "WebKitColorChooser.h" > #include "WebKitColorChooserRequest.h" > > WebKitColorChooserRequest* webkitColorChooserRequestCreate(WebKit::WebKitColorChooser*); > >-#endif // WebKitColorChooserRequestPrivate_h >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitContextMenu.h b/Source/WebKit/UIProcess/API/gtk/WebKitContextMenu.h >index 9b50c6470f4..86102f67a3d 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitContextMenu.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitContextMenu.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitContextMenu_h >-#define WebKitContextMenu_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitContextMenuItem.h> >@@ -114,4 +113,3 @@ webkit_context_menu_get_user_data (WebKitContextMenu *menu); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitContextMenuActions.h b/Source/WebKit/UIProcess/API/gtk/WebKitContextMenuActions.h >index 61dc24399a2..3c0c7d46f0f 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitContextMenuActions.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitContextMenuActions.h >@@ -23,8 +23,7 @@ > > #include <glib.h> > >-#ifndef WebKitContextMenuActions_h >-#define WebKitContextMenuActions_h >+#pragma once > > G_BEGIN_DECLS > >@@ -131,4 +130,3 @@ typedef enum { > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitContextMenuItem.h b/Source/WebKit/UIProcess/API/gtk/WebKitContextMenuItem.h >index 9e622d1d7a9..ade14d92c3c 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitContextMenuItem.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitContextMenuItem.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitContextMenuItem_h >-#define WebKitContextMenuItem_h >+#pragma once > > #include <gtk/gtk.h> > #include <webkit2/WebKitDefines.h> >@@ -103,4 +102,3 @@ webkit_context_menu_item_get_submenu (WebKitContextMenuItem > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitCookieManager.h b/Source/WebKit/UIProcess/API/gtk/WebKitCookieManager.h >index 1b8d167696b..9325dc7edd6 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitCookieManager.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitCookieManager.h >@@ -22,8 +22,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitCookieManager_h >-#define WebKitCookieManager_h >+#pragma once > > #include <gio/gio.h> > #include <glib-object.h> >@@ -165,4 +164,3 @@ webkit_cookie_manager_delete_all_cookies (WebKitCookieManager > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitCredential.h b/Source/WebKit/UIProcess/API/gtk/WebKitCredential.h >index 6350e5e129c..0be49decd2a 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitCredential.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitCredential.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitCredential_h >-#define WebKitCredential_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -77,4 +76,3 @@ webkit_credential_get_persistence (WebKitCredential *credential) > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitDefines.h b/Source/WebKit/UIProcess/API/gtk/WebKitDefines.h >index 520e9957c38..96c39be73c4 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitDefines.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitDefines.h >@@ -27,8 +27,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitDefines_h >-#define WebKitDefines_h >+#pragma once > > #include <glib.h> > >@@ -45,4 +44,3 @@ > #define WEBKIT_DEPRECATED WEBKIT_API G_DEPRECATED > #define WEBKIT_DEPRECATED_FOR(f) WEBKIT_API G_DEPRECATED_FOR(f) > >-#endif // WebKitDefines_h >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitDownload.h b/Source/WebKit/UIProcess/API/gtk/WebKitDownload.h >index 7e6bfeb46dc..64a96da5e1d 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitDownload.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitDownload.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitDownload_h >-#define WebKitDownload_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -101,4 +100,3 @@ webkit_download_set_allow_overwrite (WebKitDownload *download, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitEditingCommands.h b/Source/WebKit/UIProcess/API/gtk/WebKitEditingCommands.h >index f6a2061caba..bc231436e34 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitEditingCommands.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitEditingCommands.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitEditingCommands_h >-#define WebKitEditingCommands_h >+#pragma once > > G_BEGIN_DECLS > >@@ -121,4 +120,3 @@ G_BEGIN_DECLS > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitEditorState.h b/Source/WebKit/UIProcess/API/gtk/WebKitEditorState.h >index 7014053e216..b9b775c8690 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitEditorState.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitEditorState.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitEditorState_h >-#define WebKitEditorState_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -99,4 +98,3 @@ webkit_editor_state_is_redo_available (WebKitEditorState *editor_state); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitError.h b/Source/WebKit/UIProcess/API/gtk/WebKitError.h >index 78b8ddcb8a7..c362a055d34 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitError.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitError.h >@@ -22,8 +22,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitError_h >-#define WebKitError_h >+#pragma once > > #include <webkit2/WebKitDefines.h> > >@@ -164,4 +163,3 @@ webkit_snapshot_error_quark (void); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitFaviconDatabase.h b/Source/WebKit/UIProcess/API/gtk/WebKitFaviconDatabase.h >index 45fbb5d88d9..5310d9fdf3d 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitFaviconDatabase.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitFaviconDatabase.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitFaviconDatabase_h >-#define WebKitFaviconDatabase_h >+#pragma once > > #include <cairo.h> > #include <gio/gio.h> >@@ -96,4 +95,3 @@ webkit_favicon_database_clear (WebKitFaviconDatabase *database); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitFileChooserRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitFileChooserRequest.h >index 2b006902406..77926acd3da 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitFileChooserRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitFileChooserRequest.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitFileChooserRequest_h >-#define WebKitFileChooserRequest_h >+#pragma once > > #include <gtk/gtk.h> > #include <webkit2/WebKitDefines.h> >@@ -80,4 +79,3 @@ webkit_file_chooser_request_cancel (WebKitFileChooserRequest *req > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitFindController.h b/Source/WebKit/UIProcess/API/gtk/WebKitFindController.h >index 8f3e438ff23..c728f4be2a4 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitFindController.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitFindController.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitFindController_h >-#define WebKitFindController_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -119,4 +118,3 @@ webkit_find_controller_get_web_view (WebKitFindController *find_controlle > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitFormSubmissionRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitFormSubmissionRequest.h >index e555ef1e944..61de1c10ea9 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitFormSubmissionRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitFormSubmissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitFormSubmissionRequest_h >-#define WebKitFormSubmissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -72,4 +71,3 @@ webkit_form_submission_request_submit (WebKitFormSubmissionRequest *r > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitForwardDeclarations.h b/Source/WebKit/UIProcess/API/gtk/WebKitForwardDeclarations.h >index 543f4b13688..e1f26cf2251 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitForwardDeclarations.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitForwardDeclarations.h >@@ -27,8 +27,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitForward_h >-#define WebKitForward_h >+#pragma once > > typedef struct _WebKitPrintOperation WebKitPrintOperation; > typedef struct _WebKitFindController WebKitFindController; >@@ -36,4 +35,3 @@ typedef struct _WebKitWebView WebKitWebView; > typedef struct _WebKitContextMenu WebKitContextMenu; > typedef struct _WebKitContextMenuItem WebKitContextMenuItem; > >-#endif // WebKitForward_h >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitGeolocationPermissionRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitGeolocationPermissionRequest.h >index 4b44af09fb9..b05d4e55ba2 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitGeolocationPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitGeolocationPermissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitGeolocationPermissionRequest_h >-#define WebKitGeolocationPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -61,4 +60,3 @@ webkit_geolocation_permission_request_get_type (void); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitHitTestResult.h b/Source/WebKit/UIProcess/API/gtk/WebKitHitTestResult.h >index 718573b9004..d9bbacf8bed 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitHitTestResult.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitHitTestResult.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitHitTestResult_h >-#define WebKitHitTestResult_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -119,4 +118,3 @@ webkit_hit_test_result_context_is_scrollbar (WebKitHitTestResult *hit_test_resul > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitInstallMissingMediaPluginsPermissionRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitInstallMissingMediaPluginsPermissionRequest.h >index e0632afa55d..e3c4c592570 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitInstallMissingMediaPluginsPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitInstallMissingMediaPluginsPermissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitInstallMissingMediaPluginsPermissionRequest_h >-#define WebKitInstallMissingMediaPluginsPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -63,4 +62,3 @@ webkit_install_missing_media_plugins_permission_request_get_description (WebKitI > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitJavascriptResult.h b/Source/WebKit/UIProcess/API/gtk/WebKitJavascriptResult.h >index daccdeb0da1..df772e74ff4 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitJavascriptResult.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitJavascriptResult.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitJavascriptResult_h >-#define WebKitJavascriptResult_h >+#pragma once > > #include <JavaScriptCore/JSBase.h> > #include <jsc/jsc.h> >@@ -56,4 +55,3 @@ webkit_javascript_result_get_js_value (WebKitJavascriptResult *js_result); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitMimeInfo.h b/Source/WebKit/UIProcess/API/gtk/WebKitMimeInfo.h >index 7ec8e69c549..93246297835 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitMimeInfo.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitMimeInfo.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitMimeInfo_h >-#define WebKitMimeInfo_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -54,4 +53,3 @@ webkit_mime_info_get_extensions (WebKitMimeInfo *info); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitNavigationAction.h b/Source/WebKit/UIProcess/API/gtk/WebKitNavigationAction.h >index 8848acbd110..a38885a0893 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitNavigationAction.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitNavigationAction.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitNavigationAction_h >-#define WebKitNavigationAction_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -84,4 +83,3 @@ webkit_navigation_action_is_redirect (WebKitNavigationAction *navigation > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitNavigationPolicyDecision.h b/Source/WebKit/UIProcess/API/gtk/WebKitNavigationPolicyDecision.h >index 0d9fb261af5..dbf855d7988 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitNavigationPolicyDecision.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitNavigationPolicyDecision.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitNavigationPolicyDecision_h >-#define WebKitNavigationPolicyDecision_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -82,4 +81,3 @@ webkit_navigation_policy_decision_get_frame_name (WebKitNavigationPolicyD > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitNetworkProxySettings.h b/Source/WebKit/UIProcess/API/gtk/WebKitNetworkProxySettings.h >index 00c2b39f33d..0a7061bc9b0 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitNetworkProxySettings.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitNetworkProxySettings.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitNetworkProxySettings_h >-#define WebKitNetworkProxySettings_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -53,4 +52,3 @@ webkit_network_proxy_settings_add_proxy_for_scheme (WebKitNetworkProxySettings * > > G_END_DECLS > >-#endif /* WebKitNetworkProxySettings_h */ >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitNotification.h b/Source/WebKit/UIProcess/API/gtk/WebKitNotification.h >index 1fd9ac64686..9407b7139e5 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitNotification.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitNotification.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitNotification_h >-#define WebKitNotification_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -81,4 +80,3 @@ webkit_notification_clicked (WebKitNotification *notification); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitNotificationPermissionRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitNotificationPermissionRequest.h >index d2fb41104f4..b4696631f33 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitNotificationPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitNotificationPermissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitNotificationPermissionRequest_h >-#define WebKitNotificationPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -56,4 +55,3 @@ webkit_notification_permission_request_get_type (void); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitOptionMenu.h b/Source/WebKit/UIProcess/API/gtk/WebKitOptionMenu.h >index e668f8b4142..00322af372f 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitOptionMenu.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitOptionMenu.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitOptionMenu_h >-#define WebKitOptionMenu_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -79,4 +78,3 @@ webkit_option_menu_close (WebKitOptionMenu *menu); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitOptionMenuItem.h b/Source/WebKit/UIProcess/API/gtk/WebKitOptionMenuItem.h >index ded26f1e9e0..d71948151d8 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitOptionMenuItem.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitOptionMenuItem.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitOptionMenuItem_h >-#define WebKitOptionMenuItem_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -62,4 +61,3 @@ webkit_option_menu_item_is_selected (WebKitOptionMenuItem *item); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitPermissionRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitPermissionRequest.h >index a62f1f1a5b6..a57b535fb00 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitPermissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitPermissionRequest_h >-#define WebKitPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -55,4 +54,3 @@ webkit_permission_request_deny (WebKitPermissionRequest *request); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitPlugin.h b/Source/WebKit/UIProcess/API/gtk/WebKitPlugin.h >index d7533c920e4..7d299b49ea3 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitPlugin.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitPlugin.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitPlugin_h >-#define WebKitPlugin_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -72,4 +71,3 @@ webkit_plugin_get_mime_info_list (WebKitPlugin *plugin); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitPolicyDecision.h b/Source/WebKit/UIProcess/API/gtk/WebKitPolicyDecision.h >index f192a1d379d..e7bf6512a27 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitPolicyDecision.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitPolicyDecision.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitPolicyDecision_h >-#define WebKitPolicyDecision_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -70,4 +69,3 @@ webkit_policy_decision_download (WebKitPolicyDecision *decision); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitPrintCustomWidget.h b/Source/WebKit/UIProcess/API/gtk/WebKitPrintCustomWidget.h >index e6cc84a0c35..f7519e1f805 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitPrintCustomWidget.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitPrintCustomWidget.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitPrintCustomWidget_h >-#define WebKitPrintCustomWidget_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -78,4 +77,3 @@ webkit_print_custom_widget_get_title (WebKitPrintCustomWidget *print_custom_wid > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitPrintOperation.h b/Source/WebKit/UIProcess/API/gtk/WebKitPrintOperation.h >index 7eee5d893cf..7a02f2146de 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitPrintOperation.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitPrintOperation.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitPrintOperation_h >-#define WebKitPrintOperation_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -98,4 +97,3 @@ webkit_print_operation_print (WebKitPrintOperation *print_operation > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitPrintOperationPrivate.h b/Source/WebKit/UIProcess/API/gtk/WebKitPrintOperationPrivate.h >index 8572ca7c626..8900a0bc396 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitPrintOperationPrivate.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitPrintOperationPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitPrintOperationPrivate_h >-#define WebKitPrintOperationPrivate_h >+#pragma once > > #include "PrintInfo.h" > #include "WebFrameProxy.h" >@@ -27,4 +26,3 @@ > WebKitPrintOperationResponse webkitPrintOperationRunDialogForFrame(WebKitPrintOperation*, GtkWindow* parent, WebKit::WebFrameProxy*); > void webkitPrintOperationSetPrintMode(WebKitPrintOperation*, WebKit::PrintInfo::PrintMode); > >-#endif // WebKitPrintOperationPrivate_h >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitResponsePolicyDecision.h b/Source/WebKit/UIProcess/API/gtk/WebKitResponsePolicyDecision.h >index b4e8fe2ffbe..1035dc78d2d 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitResponsePolicyDecision.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitResponsePolicyDecision.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitResponsePolicyDecision_h >-#define WebKitResponsePolicyDecision_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -73,4 +72,3 @@ webkit_response_policy_decision_is_mime_type_supported (WebKitResponsePolicyDeci > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitScriptDialog.h b/Source/WebKit/UIProcess/API/gtk/WebKitScriptDialog.h >index 71095beed98..90285790715 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitScriptDialog.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitScriptDialog.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitScriptDialog_h >-#define WebKitScriptDialog_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -75,4 +74,3 @@ webkit_script_dialog_prompt_set_text (WebKitScriptDialog *dialog, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitSecurityManager.h b/Source/WebKit/UIProcess/API/gtk/WebKitSecurityManager.h >index e8cf9e7cdc7..453ec6f5052 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitSecurityManager.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitSecurityManager.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitSecurityManager_h >-#define WebKitSecurityManager_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -108,4 +107,3 @@ webkit_security_manager_uri_scheme_is_empty_document (WebKitSecurityM > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitSecurityOrigin.h b/Source/WebKit/UIProcess/API/gtk/WebKitSecurityOrigin.h >index 6dca2b77ea6..e9948878bb6 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitSecurityOrigin.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitSecurityOrigin.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitSecurityOrigin_h >-#define WebKitSecurityOrigin_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -67,4 +66,3 @@ webkit_security_origin_to_string (WebKitSecurityOrigin *origin); > > G_END_DECLS > >-#endif /* WebKitSecurityOrigin_h */ >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitSettings.h b/Source/WebKit/UIProcess/API/gtk/WebKitSettings.h >index a749d406c5f..3018c8183f5 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitSettings.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitSettings.h >@@ -32,8 +32,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitSettings_h >-#define WebKitSettings_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -466,4 +465,3 @@ webkit_settings_font_size_to_pixels (guint32 points); > > G_END_DECLS > >-#endif /* WebKitSettings_h */ >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitURIRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitURIRequest.h >index 10cf63489c5..3fe5517f653 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitURIRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitURIRequest.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitURIRequest_h >-#define WebKitURIRequest_h >+#pragma once > > #include <glib-object.h> > #include <libsoup/soup.h> >@@ -78,4 +77,3 @@ webkit_uri_request_get_http_headers (WebKitURIRequest *request); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitURIResponse.h b/Source/WebKit/UIProcess/API/gtk/WebKitURIResponse.h >index 67316165f2e..314712ead79 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitURIResponse.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitURIResponse.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitURIResponse_h >-#define WebKitURIResponse_h >+#pragma once > > #include <gio/gio.h> > #include <libsoup/soup.h> >@@ -80,4 +79,3 @@ webkit_uri_response_get_http_headers (WebKitURIResponse *response); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitURISchemeRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitURISchemeRequest.h >index 71895da5183..e82a05a3b5b 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitURISchemeRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitURISchemeRequest.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitURISchemeRequest_h >-#define WebKitURISchemeRequest_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -83,4 +82,3 @@ webkit_uri_scheme_request_finish_error (WebKitURISchemeRequest *request, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitUserContent.h b/Source/WebKit/UIProcess/API/gtk/WebKitUserContent.h >index c3f1ed569f8..c95ab8d1bcf 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitUserContent.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitUserContent.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitUserContent_h >-#define WebKitUserContent_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -122,4 +121,3 @@ webkit_user_script_new (const gchar *source, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitUserContentManager.h b/Source/WebKit/UIProcess/API/gtk/WebKitUserContentManager.h >index 86d24a11352..cb97bcebd05 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitUserContentManager.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitUserContentManager.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitUserContentManager_h >-#define WebKitUserContentManager_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -87,4 +86,3 @@ webkit_user_content_manager_remove_all_scripts (WebKitUserContentManager *m > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitUserMediaPermissionRequest.h b/Source/WebKit/UIProcess/API/gtk/WebKitUserMediaPermissionRequest.h >index ad382b1ba4d..57a5312d61e 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitUserMediaPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitUserMediaPermissionRequest.h >@@ -20,8 +20,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitUserMediaPermissionRequest_h >-#define WebKitUserMediaPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -66,4 +65,3 @@ webkit_user_media_permission_is_for_video_device (WebKitUserMediaPermissionReque > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebContext.h b/Source/WebKit/UIProcess/API/gtk/WebKitWebContext.h >index 3149a329c27..0f7b65eb1b0 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebContext.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebContext.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitWebContext_h >-#define WebKitWebContext_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitAutomationSession.h> >@@ -308,4 +307,3 @@ webkit_web_context_initialize_notification_permissions > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebInspector.h b/Source/WebKit/UIProcess/API/gtk/WebKitWebInspector.h >index 686f949acaa..71a92b1bb6a 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebInspector.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebInspector.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitWebInspector_h >-#define WebKitWebInspector_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -88,4 +87,3 @@ webkit_web_inspector_get_can_attach (WebKitWebInspector* inspector); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebResource.h b/Source/WebKit/UIProcess/API/gtk/WebKitWebResource.h >index 7463686abcb..1e3009e68da 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebResource.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebResource.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitWebResource_h >-#define WebKitWebResource_h >+#pragma once > > #include <glib-object.h> > #include <gio/gio.h> >@@ -80,4 +79,3 @@ webkit_web_resource_get_data_finish (WebKitWebResource *resource, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebView.h b/Source/WebKit/UIProcess/API/gtk/WebKitWebView.h >index 03dfea538bf..1bbe8c630e9 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebView.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebView.h >@@ -25,8 +25,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitWebView_h >-#define WebKitWebView_h >+#pragma once > > #include <JavaScriptCore/JSBase.h> > #include <webkit2/WebKitAuthenticationRequest.h> >@@ -542,4 +541,3 @@ webkit_web_view_restore_session_state (WebKitWebView > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.h b/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.h >index f24457f57bc..63a26dcbada 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.h >@@ -29,8 +29,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitWebViewBase_h >-#define WebKitWebViewBase_h >+#pragma once > > #include <gtk/gtk.h> > #include <webkit2/WebKitDefines.h> >@@ -68,4 +67,3 @@ webkit_web_view_base_get_type (void); > > G_END_DECLS > >-#endif // WebKitWebViewBase_h >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBaseAccessible.h b/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBaseAccessible.h >index 3e932c3cd0c..973abe7cbff 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBaseAccessible.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBaseAccessible.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitWebViewBaseAccessible_h >-#define WebKitWebViewBaseAccessible_h >+#pragma once > > #include <atk/atk.h> > >@@ -52,4 +51,3 @@ WebKitWebViewBaseAccessible* webkitWebViewBaseAccessibleNew(GtkWidget*); > > G_END_DECLS > >-#endif // WebKitWebViewBaseAccessible_h >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebViewSessionState.h b/Source/WebKit/UIProcess/API/gtk/WebKitWebViewSessionState.h >index 73f4a4a6996..b8a27eae5e8 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebViewSessionState.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebViewSessionState.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitWebViewSessionState_h >-#define WebKitWebViewSessionState_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -50,4 +49,3 @@ webkit_web_view_session_state_serialize (WebKitWebViewSessionState *state); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebsiteData.h b/Source/WebKit/UIProcess/API/gtk/WebKitWebsiteData.h >index 0bcfc203f53..f5737b3c897 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebsiteData.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebsiteData.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitWebsiteData_h >-#define WebKitWebsiteData_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -86,4 +85,3 @@ webkit_website_data_get_size (WebKitWebsiteData *website_data, > > G_END_DECLS > >-#endif /* WebKitWebsiteData_h */ >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebsiteDataManager.h b/Source/WebKit/UIProcess/API/gtk/WebKitWebsiteDataManager.h >index 71e67891c65..e74f3794a71 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebsiteDataManager.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebsiteDataManager.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitWebsiteDataManager_h >-#define WebKitWebsiteDataManager_h >+#pragma once > > #include <gio/gio.h> > #include <webkit2/WebKitCookieManager.h> >@@ -141,4 +140,3 @@ webkit_website_data_manager_clear_finish (WebKitWe > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWindowProperties.h b/Source/WebKit/UIProcess/API/gtk/WebKitWindowProperties.h >index edbcee98da9..8c8cffb5dca 100644 >--- a/Source/WebKit/UIProcess/API/gtk/WebKitWindowProperties.h >+++ b/Source/WebKit/UIProcess/API/gtk/WebKitWindowProperties.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit2.h> can be included directly." > #endif > >-#ifndef WebKitWindowProperties_h >-#define WebKitWindowProperties_h >+#pragma once > > #include <glib-object.h> > #include <gtk/gtk.h> >@@ -86,4 +85,3 @@ webkit_window_properties_get_fullscreen (WebKitWindowProperties *window > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/gtk/webkit2.h b/Source/WebKit/UIProcess/API/gtk/webkit2.h >index fb0476f1b17..15e6f6024e5 100644 >--- a/Source/WebKit/UIProcess/API/gtk/webkit2.h >+++ b/Source/WebKit/UIProcess/API/gtk/webkit2.h >@@ -22,8 +22,7 @@ > #error "Headers <webkit2/webkit2.h> and <webkit2/webkit-web-extension.h> cannot be included together." > #endif > >-#ifndef __WEBKIT_2_H__ >-#define __WEBKIT_2_H__ >+#pragma once > > #define __WEBKIT2_H_INSIDE__ > >@@ -90,4 +89,3 @@ > > #undef __WEBKIT2_H_INSIDE__ > >-#endif /* __WEBKIT2_H__ */ >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitApplicationInfo.h b/Source/WebKit/UIProcess/API/wpe/WebKitApplicationInfo.h >index 18736215a32..efff102135b 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitApplicationInfo.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitApplicationInfo.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitApplicationInfo_h >-#define WebKitApplicationInfo_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -66,4 +65,3 @@ webkit_application_info_get_version (WebKitApplicationInfo *info, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitAuthenticationRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitAuthenticationRequest.h >index 98ea6fcf3ea..0abeb7b5339 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitAuthenticationRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitAuthenticationRequest.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitAuthenticationRequest_h >-#define WebKitAuthenticationRequest_h >+#pragma once > > #include <wpe/WebKitCredential.h> > #include <wpe/WebKitDefines.h> >@@ -121,4 +120,3 @@ webkit_authentication_request_cancel (WebKitAuthenticationReque > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitAutomationSession.h b/Source/WebKit/UIProcess/API/wpe/WebKitAutomationSession.h >index c0d4f256727..bd81f8b68d8 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitAutomationSession.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitAutomationSession.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitAutomationSession_h >-#define WebKitAutomationSession_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitApplicationInfo.h> >@@ -71,4 +70,3 @@ webkit_automation_session_get_application_info (WebKitAutomationSession *session > > G_END_DECLS > >-#endif /* WebKitAutomationSession_h */ >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitBackForwardList.h b/Source/WebKit/UIProcess/API/wpe/WebKitBackForwardList.h >index cb39e8c97bc..5e227900cff 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitBackForwardList.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitBackForwardList.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitBackForwardList_h >-#define WebKitBackForwardList_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitBackForwardListItem.h> >@@ -90,4 +89,3 @@ webkit_back_forward_list_get_forward_list_with_limit (WebKitBackForwardList *bac > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitBackForwardListItem.h b/Source/WebKit/UIProcess/API/wpe/WebKitBackForwardListItem.h >index c971ec00f59..bab7a0b4066 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitBackForwardListItem.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitBackForwardListItem.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitBackForwardListItem_h >-#define WebKitBackForwardListItem_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -69,4 +68,3 @@ webkit_back_forward_list_item_get_original_uri (WebKitBackForwardListItem* list_ > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitContextMenu.h b/Source/WebKit/UIProcess/API/wpe/WebKitContextMenu.h >index 4145fb06f99..56c2116eb58 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitContextMenu.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitContextMenu.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitContextMenu_h >-#define WebKitContextMenu_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -115,4 +114,3 @@ webkit_context_menu_get_user_data (WebKitContextMenu *menu); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitContextMenuActions.h b/Source/WebKit/UIProcess/API/wpe/WebKitContextMenuActions.h >index 301c219d83a..443211cb6e7 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitContextMenuActions.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitContextMenuActions.h >@@ -23,8 +23,7 @@ > > #include <glib.h> > >-#ifndef WebKitContextMenuActions_h >-#define WebKitContextMenuActions_h >+#pragma once > > G_BEGIN_DECLS > >@@ -121,4 +120,3 @@ typedef enum { > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitContextMenuItem.h b/Source/WebKit/UIProcess/API/wpe/WebKitContextMenuItem.h >index 9f540aa0fd7..fb4d48ab12a 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitContextMenuItem.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitContextMenuItem.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitContextMenuItem_h >-#define WebKitContextMenuItem_h >+#pragma once > > #include <gio/gio.h> > #include <wpe/WebKitDefines.h> >@@ -97,4 +96,3 @@ webkit_context_menu_item_get_submenu (WebKitContextMenuItem > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitCookieManager.h b/Source/WebKit/UIProcess/API/wpe/WebKitCookieManager.h >index 3c310cf1908..63070171fad 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitCookieManager.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitCookieManager.h >@@ -22,8 +22,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitCookieManager_h >-#define WebKitCookieManager_h >+#pragma once > > #include <gio/gio.h> > #include <glib-object.h> >@@ -147,4 +146,3 @@ webkit_cookie_manager_delete_cookie_finish (WebKitCookieManager > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitCredential.h b/Source/WebKit/UIProcess/API/wpe/WebKitCredential.h >index babff3f6210..69b48fb6e4a 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitCredential.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitCredential.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitCredential_h >-#define WebKitCredential_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -77,4 +76,3 @@ webkit_credential_get_persistence (WebKitCredential *credential) > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitDefines.h b/Source/WebKit/UIProcess/API/wpe/WebKitDefines.h >index 77c3524c592..0cfe9ecb599 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitDefines.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitDefines.h >@@ -27,8 +27,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitDefines_h >-#define WebKitDefines_h >+#pragma once > > #include <glib.h> > >@@ -45,4 +44,3 @@ > #define WEBKIT_DEPRECATED WEBKIT_API G_DEPRECATED > #define WEBKIT_DEPRECATED_FOR(f) WEBKIT_API G_DEPRECATED_FOR(f) > >-#endif // WebKitDefines_h >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitDownload.h b/Source/WebKit/UIProcess/API/wpe/WebKitDownload.h >index 9bff4bb57d9..80523aa862e 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitDownload.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitDownload.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitDownload_h >-#define WebKitDownload_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -102,4 +101,3 @@ webkit_download_set_allow_overwrite (WebKitDownload *download, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitEditingCommands.h b/Source/WebKit/UIProcess/API/wpe/WebKitEditingCommands.h >index f6767933525..b47e57d653d 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitEditingCommands.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitEditingCommands.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitEditingCommands_h >-#define WebKitEditingCommands_h >+#pragma once > > G_BEGIN_DECLS > >@@ -121,4 +120,3 @@ G_BEGIN_DECLS > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitEditorState.h b/Source/WebKit/UIProcess/API/wpe/WebKitEditorState.h >index f9e7c7deab4..e4e0c579e93 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitEditorState.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitEditorState.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitEditorState_h >-#define WebKitEditorState_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -99,4 +98,3 @@ webkit_editor_state_is_redo_available (WebKitEditorState *editor_state); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitError.h b/Source/WebKit/UIProcess/API/wpe/WebKitError.h >index 4dad4ef3d1f..8c9b3e00b98 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitError.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitError.h >@@ -22,8 +22,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitError_h >-#define WebKitError_h >+#pragma once > > #include <wpe/WebKitDefines.h> > >@@ -146,4 +145,3 @@ webkit_snapshot_error_quark (void); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitFaviconDatabase.h b/Source/WebKit/UIProcess/API/wpe/WebKitFaviconDatabase.h >index 1736b22f749..8928ac68b49 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitFaviconDatabase.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitFaviconDatabase.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitFaviconDatabase_h >-#define WebKitFaviconDatabase_h >+#pragma once > > #include <gio/gio.h> > #include <glib-object.h> >@@ -85,4 +84,3 @@ webkit_favicon_database_clear (WebKitFaviconDatabase *database); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitFileChooserRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitFileChooserRequest.h >index d54ef2c9dfa..a10dea552a7 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitFileChooserRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitFileChooserRequest.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitFileChooserRequest_h >-#define WebKitFileChooserRequest_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -77,4 +76,3 @@ webkit_file_chooser_request_cancel (WebKitFileChooserRequest *req > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitFindController.h b/Source/WebKit/UIProcess/API/wpe/WebKitFindController.h >index ad3204ad0b2..660e7301783 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitFindController.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitFindController.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitFindController_h >-#define WebKitFindController_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -121,4 +120,3 @@ webkit_find_controller_get_web_view (WebKitFindController *find_controlle > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitFormSubmissionRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitFormSubmissionRequest.h >index bfd7879e66a..182474810de 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitFormSubmissionRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitFormSubmissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitFormSubmissionRequest_h >-#define WebKitFormSubmissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -69,4 +68,3 @@ webkit_form_submission_request_submit (WebKitFormSubmissionRequest *r > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitGeolocationPermissionRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitGeolocationPermissionRequest.h >index d7c8a9dfeb1..cd62d14ccd7 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitGeolocationPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitGeolocationPermissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitGeolocationPermissionRequest_h >-#define WebKitGeolocationPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -61,4 +60,3 @@ webkit_geolocation_permission_request_get_type (void); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitHitTestResult.h b/Source/WebKit/UIProcess/API/wpe/WebKitHitTestResult.h >index 679aa0760e4..25c74093c09 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitHitTestResult.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitHitTestResult.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitHitTestResult_h >-#define WebKitHitTestResult_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -119,4 +118,3 @@ webkit_hit_test_result_context_is_scrollbar (WebKitHitTestResult *hit_test_resul > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitInstallMissingMediaPluginsPermissionRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitInstallMissingMediaPluginsPermissionRequest.h >index 51c2813a049..c60ea625a7f 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitInstallMissingMediaPluginsPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitInstallMissingMediaPluginsPermissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitInstallMissingMediaPluginsPermissionRequest_h >-#define WebKitInstallMissingMediaPluginsPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -63,4 +62,3 @@ webkit_install_missing_media_plugins_permission_request_get_description (WebKitI > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitJavascriptResult.h b/Source/WebKit/UIProcess/API/wpe/WebKitJavascriptResult.h >index 1fee2efd4ba..4b839ed9d48 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitJavascriptResult.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitJavascriptResult.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitJavascriptResult_h >-#define WebKitJavascriptResult_h >+#pragma once > > #include <glib-object.h> > #include <jsc/jsc.h> >@@ -49,4 +48,3 @@ webkit_javascript_result_get_js_value (WebKitJavascriptResult *js_result); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitMimeInfo.h b/Source/WebKit/UIProcess/API/wpe/WebKitMimeInfo.h >index 2fc3926c61e..5a8bde0095b 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitMimeInfo.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitMimeInfo.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitMimeInfo_h >-#define WebKitMimeInfo_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -54,4 +53,3 @@ webkit_mime_info_get_extensions (WebKitMimeInfo *info); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitNavigationAction.h b/Source/WebKit/UIProcess/API/wpe/WebKitNavigationAction.h >index 0fdec1dc182..18da8b84cbc 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitNavigationAction.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitNavigationAction.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitNavigationAction_h >-#define WebKitNavigationAction_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -84,4 +83,3 @@ webkit_navigation_action_is_redirect (WebKitNavigationAction *navigation > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitNavigationPolicyDecision.h b/Source/WebKit/UIProcess/API/wpe/WebKitNavigationPolicyDecision.h >index 9311e540028..a66209221ab 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitNavigationPolicyDecision.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitNavigationPolicyDecision.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitNavigationPolicyDecision_h >-#define WebKitNavigationPolicyDecision_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -70,4 +69,3 @@ webkit_navigation_policy_decision_get_frame_name (WebKitNavigationPolicyD > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitNetworkProxySettings.h b/Source/WebKit/UIProcess/API/wpe/WebKitNetworkProxySettings.h >index cb5657c0e55..46753511dd4 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitNetworkProxySettings.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitNetworkProxySettings.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitNetworkProxySettings_h >-#define WebKitNetworkProxySettings_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -53,4 +52,3 @@ webkit_network_proxy_settings_add_proxy_for_scheme (WebKitNetworkProxySettings * > > G_END_DECLS > >-#endif /* WebKitNetworkProxySettings_h */ >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitNotification.h b/Source/WebKit/UIProcess/API/wpe/WebKitNotification.h >index bab986d845e..5ae744227b8 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitNotification.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitNotification.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitNotification_h >-#define WebKitNotification_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -80,4 +79,3 @@ webkit_notification_clicked (WebKitNotification *notification); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitNotificationPermissionRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitNotificationPermissionRequest.h >index 6f6debb9371..c0297367243 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitNotificationPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitNotificationPermissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitNotificationPermissionRequest_h >-#define WebKitNotificationPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -56,4 +55,3 @@ webkit_notification_permission_request_get_type (void); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitPermissionRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitPermissionRequest.h >index 8ae7598e2ec..839a295a396 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitPermissionRequest.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitPermissionRequest_h >-#define WebKitPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -55,4 +54,3 @@ webkit_permission_request_deny (WebKitPermissionRequest *request); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitPlugin.h b/Source/WebKit/UIProcess/API/wpe/WebKitPlugin.h >index 15b68005b89..f68cefeb6d7 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitPlugin.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitPlugin.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitPlugin_h >-#define WebKitPlugin_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -72,4 +71,3 @@ webkit_plugin_get_mime_info_list (WebKitPlugin *plugin); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitPolicyDecision.h b/Source/WebKit/UIProcess/API/wpe/WebKitPolicyDecision.h >index bfffed1c74b..380ccb9eab3 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitPolicyDecision.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitPolicyDecision.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitPolicyDecision_h >-#define WebKitPolicyDecision_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -70,4 +69,3 @@ webkit_policy_decision_download (WebKitPolicyDecision *decision); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitResponsePolicyDecision.h b/Source/WebKit/UIProcess/API/wpe/WebKitResponsePolicyDecision.h >index defd0026a15..7c370b77371 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitResponsePolicyDecision.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitResponsePolicyDecision.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitResponsePolicyDecision_h >-#define WebKitResponsePolicyDecision_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -73,4 +72,3 @@ webkit_response_policy_decision_is_mime_type_supported (WebKitResponsePolicyDeci > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitScriptDialog.h b/Source/WebKit/UIProcess/API/wpe/WebKitScriptDialog.h >index f50dabe2633..7d9596d4902 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitScriptDialog.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitScriptDialog.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitScriptDialog_h >-#define WebKitScriptDialog_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -75,4 +74,3 @@ webkit_script_dialog_prompt_set_text (WebKitScriptDialog *dialog, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitSecurityManager.h b/Source/WebKit/UIProcess/API/wpe/WebKitSecurityManager.h >index 982284db935..17e800afc6f 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitSecurityManager.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitSecurityManager.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitSecurityManager_h >-#define WebKitSecurityManager_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -108,4 +107,3 @@ webkit_security_manager_uri_scheme_is_empty_document (WebKitSecurityM > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitSecurityOrigin.h b/Source/WebKit/UIProcess/API/wpe/WebKitSecurityOrigin.h >index 80e04523c7f..c9df9766b78 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitSecurityOrigin.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitSecurityOrigin.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitSecurityOrigin_h >-#define WebKitSecurityOrigin_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -67,4 +66,3 @@ webkit_security_origin_to_string (WebKitSecurityOrigin *origin); > > G_END_DECLS > >-#endif /* WebKitSecurityOrigin_h */ >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitSettings.h b/Source/WebKit/UIProcess/API/wpe/WebKitSettings.h >index 91b3d44ab95..ec9ab007508 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitSettings.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitSettings.h >@@ -32,8 +32,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitSettings_h >-#define WebKitSettings_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -430,4 +429,3 @@ webkit_settings_set_allow_universal_access_from_file_urls (WebKitSettings * > > G_END_DECLS > >-#endif /* WebKitSettings_h */ >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitURIRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitURIRequest.h >index af9e319bc29..88b8268344c 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitURIRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitURIRequest.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitURIRequest_h >-#define WebKitURIRequest_h >+#pragma once > > #include <glib-object.h> > #include <libsoup/soup.h> >@@ -78,4 +77,3 @@ webkit_uri_request_get_http_headers (WebKitURIRequest *request); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitURIResponse.h b/Source/WebKit/UIProcess/API/wpe/WebKitURIResponse.h >index 79b09ce48db..bde3d46f905 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitURIResponse.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitURIResponse.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitURIResponse_h >-#define WebKitURIResponse_h >+#pragma once > > #include <gio/gio.h> > #include <libsoup/soup.h> >@@ -80,4 +79,3 @@ webkit_uri_response_get_http_headers (WebKitURIResponse *response); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitURISchemeRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitURISchemeRequest.h >index 682ff64684e..0275a2e6732 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitURISchemeRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitURISchemeRequest.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitURISchemeRequest_h >-#define WebKitURISchemeRequest_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -84,4 +83,3 @@ webkit_uri_scheme_request_finish_error (WebKitURISchemeRequest *request, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitUserContent.h b/Source/WebKit/UIProcess/API/wpe/WebKitUserContent.h >index e7b5aeebdba..f35c3e1238b 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitUserContent.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitUserContent.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitUserContent_h >-#define WebKitUserContent_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -122,4 +121,3 @@ webkit_user_script_new (const gchar *source, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitUserContentManager.h b/Source/WebKit/UIProcess/API/wpe/WebKitUserContentManager.h >index 27a27c83a4f..fd06b450622 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitUserContentManager.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitUserContentManager.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitUserContentManager_h >-#define WebKitUserContentManager_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -87,4 +86,3 @@ webkit_user_content_manager_remove_all_scripts (WebKitUserContentManager *m > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitUserMediaPermissionRequest.h b/Source/WebKit/UIProcess/API/wpe/WebKitUserMediaPermissionRequest.h >index be14d363798..266f91543dc 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitUserMediaPermissionRequest.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitUserMediaPermissionRequest.h >@@ -20,8 +20,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitUserMediaPermissionRequest_h >-#define WebKitUserMediaPermissionRequest_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -66,4 +65,3 @@ webkit_user_media_permission_is_for_video_device (WebKitUserMediaPermissionReque > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitWebContext.h b/Source/WebKit/UIProcess/API/wpe/WebKitWebContext.h >index 8cf646f4ede..b7118356653 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitWebContext.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitWebContext.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitWebContext_h >-#define WebKitWebContext_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitAutomationSession.h> >@@ -304,4 +303,3 @@ webkit_web_context_initialize_notification_permissions > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitWebResource.h b/Source/WebKit/UIProcess/API/wpe/WebKitWebResource.h >index 320ac3a4263..e24a12a827e 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitWebResource.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitWebResource.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitWebResource_h >-#define WebKitWebResource_h >+#pragma once > > #include <glib-object.h> > #include <gio/gio.h> >@@ -80,4 +79,3 @@ webkit_web_resource_get_data_finish (WebKitWebResource *resource, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitWebView.h b/Source/WebKit/UIProcess/API/wpe/WebKitWebView.h >index 3c02f0d9073..6409063bc09 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitWebView.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitWebView.h >@@ -25,8 +25,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitWebView_h >-#define WebKitWebView_h >+#pragma once > > #include <wpe/WebKitAuthenticationRequest.h> > #include <wpe/WebKitBackForwardList.h> >@@ -485,4 +484,3 @@ webkit_web_view_restore_session_state (WebKitWebView > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitWebViewBackend.h b/Source/WebKit/UIProcess/API/wpe/WebKitWebViewBackend.h >index 6663964d5ab..ee216db4a13 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitWebViewBackend.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitWebViewBackend.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitWebViewBackend_h >-#define WebKitWebViewBackend_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -46,4 +45,3 @@ webkit_web_view_backend_get_wpe_backend (WebKitWebViewBackend *view_backend); > > G_END_DECLS > >-#endif /* WebKitWebViewBackend_h */ >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitWebViewSessionState.h b/Source/WebKit/UIProcess/API/wpe/WebKitWebViewSessionState.h >index 5355645a198..c510942733e 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitWebViewSessionState.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitWebViewSessionState.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitWebViewSessionState_h >-#define WebKitWebViewSessionState_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -50,4 +49,3 @@ webkit_web_view_session_state_serialize (WebKitWebViewSessionState *state); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitWebsiteData.h b/Source/WebKit/UIProcess/API/wpe/WebKitWebsiteData.h >index 6326419bb6f..f5b70d31b7c 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitWebsiteData.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitWebsiteData.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitWebsiteData_h >-#define WebKitWebsiteData_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -86,4 +85,3 @@ webkit_website_data_get_size (WebKitWebsiteData *website_data, > > G_END_DECLS > >-#endif /* WebKitWebsiteData_h */ >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitWebsiteDataManager.h b/Source/WebKit/UIProcess/API/wpe/WebKitWebsiteDataManager.h >index ace1682520f..0573f321242 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitWebsiteDataManager.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitWebsiteDataManager.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitWebsiteDataManager_h >-#define WebKitWebsiteDataManager_h >+#pragma once > > #include <gio/gio.h> > #include <wpe/WebKitCookieManager.h> >@@ -141,4 +140,3 @@ webkit_website_data_manager_clear_finish (WebKitWe > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/WebKitWindowProperties.h b/Source/WebKit/UIProcess/API/wpe/WebKitWindowProperties.h >index 060d3105c2e..cd001769fdc 100644 >--- a/Source/WebKit/UIProcess/API/wpe/WebKitWindowProperties.h >+++ b/Source/WebKit/UIProcess/API/wpe/WebKitWindowProperties.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit.h> can be included directly." > #endif > >-#ifndef WebKitWindowProperties_h >-#define WebKitWindowProperties_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -82,4 +81,3 @@ webkit_window_properties_get_fullscreen (WebKitWindowProperties *window > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/UIProcess/API/wpe/webkit.h b/Source/WebKit/UIProcess/API/wpe/webkit.h >index 943ade2afa8..8292dfc746b 100644 >--- a/Source/WebKit/UIProcess/API/wpe/webkit.h >+++ b/Source/WebKit/UIProcess/API/wpe/webkit.h >@@ -22,8 +22,7 @@ > #error "Headers <wpe/webkit.h> and <wpe/webkit-web-extension.h> cannot be included together." > #endif > >-#ifndef __WEBKIT_H__ >-#define __WEBKIT_H__ >+#pragma once > > #define __WEBKIT_H_INSIDE__ > >@@ -80,4 +79,3 @@ > > #undef __WEBKIT_H_INSIDE__ > >-#endif /* __WEBKIT_H__ */ >diff --git a/Source/WebKit/UIProcess/ApplicationStateTracker.h b/Source/WebKit/UIProcess/ApplicationStateTracker.h >index 696e29031a5..503ab12f143 100644 >--- a/Source/WebKit/UIProcess/ApplicationStateTracker.h >+++ b/Source/WebKit/UIProcess/ApplicationStateTracker.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ApplicationStateTracker_h >-#define ApplicationStateTracker_h >+#pragma once > > #if PLATFORM(IOS) > >@@ -72,4 +71,3 @@ private: > > #endif > >-#endif // ApplicationStateTracker_h >diff --git a/Source/WebKit/UIProcess/Authentication/AuthenticationDecisionListener.h b/Source/WebKit/UIProcess/Authentication/AuthenticationDecisionListener.h >index b5bd2b09aad..6632b78496f 100644 >--- a/Source/WebKit/UIProcess/Authentication/AuthenticationDecisionListener.h >+++ b/Source/WebKit/UIProcess/Authentication/AuthenticationDecisionListener.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef AuthenticationDecisionListener_h >-#define AuthenticationDecisionListener_h >+#pragma once > > #include "APIObject.h" > >@@ -57,4 +56,3 @@ private: > > } // namespace WebKit > >-#endif // WebAuthenticationDecisionListener_h >diff --git a/Source/WebKit/UIProcess/Authentication/WebCredential.h b/Source/WebKit/UIProcess/Authentication/WebCredential.h >index eaaa1f70c6d..33944d255d9 100644 >--- a/Source/WebKit/UIProcess/Authentication/WebCredential.h >+++ b/Source/WebKit/UIProcess/Authentication/WebCredential.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebCredential_h >-#define WebCredential_h >+#pragma once > > #include "APIObject.h" > #include "APIString.h" >@@ -62,4 +61,3 @@ private: > > } // namespace WebKit > >-#endif // WebCredential_h >diff --git a/Source/WebKit/UIProcess/Authentication/WebProtectionSpace.h b/Source/WebKit/UIProcess/Authentication/WebProtectionSpace.h >index 28beba6e8c0..acaa822d74b 100644 >--- a/Source/WebKit/UIProcess/Authentication/WebProtectionSpace.h >+++ b/Source/WebKit/UIProcess/Authentication/WebProtectionSpace.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebProtectionSpace_h >-#define WebProtectionSpace_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/ProtectionSpace.h> >@@ -57,4 +56,3 @@ private: > > } // namespace WebKit > >-#endif // WebProtectionSpace_h >diff --git a/Source/WebKit/UIProcess/AutoCorrectionCallback.h b/Source/WebKit/UIProcess/AutoCorrectionCallback.h >index fca183cdcc0..3da180419b4 100644 >--- a/Source/WebKit/UIProcess/AutoCorrectionCallback.h >+++ b/Source/WebKit/UIProcess/AutoCorrectionCallback.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef AutoCorrectionCallback_h >-#define AutoCorrectionCallback_h >+#pragma once > > #include "APIError.h" > #include "GenericCallback.h" >@@ -40,4 +39,3 @@ typedef GenericCallback<const String&, const String&, const String&> SelectionCo > > } // namespace WebKit > >-#endif // AutoCorrectionCallback_h >diff --git a/Source/WebKit/UIProcess/BackingStore.h b/Source/WebKit/UIProcess/BackingStore.h >index 14de1f424aa..eec8e27c2bd 100644 >--- a/Source/WebKit/UIProcess/BackingStore.h >+++ b/Source/WebKit/UIProcess/BackingStore.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef BackingStore_h >-#define BackingStore_h >+#pragma once > > #include <WebCore/IntRect.h> > #include <wtf/Noncopyable.h> >@@ -74,4 +73,3 @@ private: > > } // namespace WebKit > >-#endif // BackingStore_h >diff --git a/Source/WebKit/UIProcess/Cocoa/AutomationSessionClient.h b/Source/WebKit/UIProcess/Cocoa/AutomationSessionClient.h >index b2b9d4490ab..63eb3ebe284 100644 >--- a/Source/WebKit/UIProcess/Cocoa/AutomationSessionClient.h >+++ b/Source/WebKit/UIProcess/Cocoa/AutomationSessionClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef AutomationSessionClient_h >-#define AutomationSessionClient_h >+#pragma once > > #import "WKFoundation.h" > >@@ -91,4 +90,3 @@ private: > > #endif > >-#endif // AutomationSessionClient_h >diff --git a/Source/WebKit/UIProcess/Cocoa/DiagnosticLoggingClient.h b/Source/WebKit/UIProcess/Cocoa/DiagnosticLoggingClient.h >index 8b0937cf6d1..306106e370c 100644 >--- a/Source/WebKit/UIProcess/Cocoa/DiagnosticLoggingClient.h >+++ b/Source/WebKit/UIProcess/Cocoa/DiagnosticLoggingClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef DiagnosticLoggingClient_h >-#define DiagnosticLoggingClient_h >+#pragma once > > #import "WKFoundation.h" > >@@ -68,5 +67,4 @@ private: > > #endif // WK_API_ENABLED > >-#endif // DiagnosticLoggingClient_h > >diff --git a/Source/WebKit/UIProcess/Cocoa/FindClient.h b/Source/WebKit/UIProcess/Cocoa/FindClient.h >index 6d46936236a..185382b3516 100644 >--- a/Source/WebKit/UIProcess/Cocoa/FindClient.h >+++ b/Source/WebKit/UIProcess/Cocoa/FindClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef FindClient_h >-#define FindClient_h >+#pragma once > > #import "WKFoundation.h" > >@@ -65,4 +64,3 @@ private: > > #endif // WK_API_ENABLED > >-#endif // FindClient_h >diff --git a/Source/WebKit/UIProcess/Cocoa/LayerRepresentation.h b/Source/WebKit/UIProcess/Cocoa/LayerRepresentation.h >index 2b6f1e3fbc6..94d6e434ac4 100644 >--- a/Source/WebKit/UIProcess/Cocoa/LayerRepresentation.h >+++ b/Source/WebKit/UIProcess/Cocoa/LayerRepresentation.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef LayerRepresentation_h >-#define LayerRepresentation_h >+#pragma once > > #if PLATFORM(IOS) > >@@ -46,4 +45,3 @@ inline CALayer *asLayer(LayerOrView *layer) > > #endif > >-#endif // LayerRepresentation_h >diff --git a/Source/WebKit/UIProcess/Cocoa/SessionStateCoding.h b/Source/WebKit/UIProcess/Cocoa/SessionStateCoding.h >index 98a3188caa6..79e9192c0f9 100644 >--- a/Source/WebKit/UIProcess/Cocoa/SessionStateCoding.h >+++ b/Source/WebKit/UIProcess/Cocoa/SessionStateCoding.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef SessionStateCoding_h >-#define SessionStateCoding_h >+#pragma once > > #import <wtf/RetainPtr.h> > >@@ -38,4 +37,3 @@ bool decodeSessionState(NSData *, SessionState&); > > } > >-#endif // SessionStateCoding_h >diff --git a/Source/WebKit/UIProcess/Cocoa/ViewGestureController.h b/Source/WebKit/UIProcess/Cocoa/ViewGestureController.h >index a713a34f5f5..6fb4f15864d 100644 >--- a/Source/WebKit/UIProcess/Cocoa/ViewGestureController.h >+++ b/Source/WebKit/UIProcess/Cocoa/ViewGestureController.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ViewGestureController_h >-#define ViewGestureController_h >+#pragma once > > #include "MessageReceiver.h" > #include "SameDocumentNavigationType.h" >@@ -300,4 +299,3 @@ private: > > } // namespace WebKit > >-#endif // ViewGestureController_h >diff --git a/Source/WebKit/UIProcess/DefaultUndoController.h b/Source/WebKit/UIProcess/DefaultUndoController.h >index 8002dc94cb2..2d2e99a0f9f 100644 >--- a/Source/WebKit/UIProcess/DefaultUndoController.h >+++ b/Source/WebKit/UIProcess/DefaultUndoController.h >@@ -19,8 +19,7 @@ > Boston, MA 02110-1301, USA. > */ > >-#ifndef DefaultUndoController_h >-#define DefaultUndoController_h >+#pragma once > > #include "WebEditCommandProxy.h" > #include "WebPageProxy.h" >@@ -42,4 +41,3 @@ private: > > } // namespace WebKit > >-#endif // DefaultUndoController_h >diff --git a/Source/WebKit/UIProcess/Downloads/DownloadProxyMap.h b/Source/WebKit/UIProcess/Downloads/DownloadProxyMap.h >index 8f89cd6ab29..7c3b6329ace 100644 >--- a/Source/WebKit/UIProcess/Downloads/DownloadProxyMap.h >+++ b/Source/WebKit/UIProcess/Downloads/DownloadProxyMap.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef DownloadProxyMap_h >-#define DownloadProxyMap_h >+#pragma once > > #include "DownloadID.h" > #include <wtf/HashMap.h> >@@ -61,4 +60,3 @@ private: > > } // namespace WebKit > >-#endif // DownloadProxyMap_h >diff --git a/Source/WebKit/UIProcess/DrawingAreaProxyImpl.h b/Source/WebKit/UIProcess/DrawingAreaProxyImpl.h >index 96652252ea3..949d14152a2 100644 >--- a/Source/WebKit/UIProcess/DrawingAreaProxyImpl.h >+++ b/Source/WebKit/UIProcess/DrawingAreaProxyImpl.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef DrawingAreaProxyImpl_h >-#define DrawingAreaProxyImpl_h >+#pragma once > > #include "AcceleratedDrawingAreaProxy.h" > #include "BackingStore.h" >@@ -90,4 +89,3 @@ private: > > } // namespace WebKit > >-#endif // DrawingAreaProxyImpl_h >diff --git a/Source/WebKit/UIProcess/GeolocationPermissionRequestManagerProxy.h b/Source/WebKit/UIProcess/GeolocationPermissionRequestManagerProxy.h >index 83050f2e7d6..c5961e019fb 100644 >--- a/Source/WebKit/UIProcess/GeolocationPermissionRequestManagerProxy.h >+++ b/Source/WebKit/UIProcess/GeolocationPermissionRequestManagerProxy.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef GeolocationPermissionRequestManagerProxy_h >-#define GeolocationPermissionRequestManagerProxy_h >+#pragma once > > #include "GeolocationPermissionRequestProxy.h" > #include <wtf/HashMap.h> >@@ -52,4 +51,3 @@ private: > > } // namespace WebKit > >-#endif // GeolocationPermissionRequestManagerProxy_h >diff --git a/Source/WebKit/UIProcess/LegacySessionStateCoding.h b/Source/WebKit/UIProcess/LegacySessionStateCoding.h >index 2321a2ecd15..51a346213b6 100644 >--- a/Source/WebKit/UIProcess/LegacySessionStateCoding.h >+++ b/Source/WebKit/UIProcess/LegacySessionStateCoding.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef LegacySessionStateCoding_h >-#define LegacySessionStateCoding_h >+#pragma once > > #include <wtf/Forward.h> > >@@ -42,4 +41,3 @@ bool decodeLegacySessionState(const uint8_t* data, size_t, SessionState&); > > } // namespace WebKit > >-#endif // LegacySessionStateCoding_h >diff --git a/Source/WebKit/UIProcess/Network/NetworkProcessProxy.h b/Source/WebKit/UIProcess/Network/NetworkProcessProxy.h >index c9dc792a9b5..f894694a2cd 100644 >--- a/Source/WebKit/UIProcess/Network/NetworkProcessProxy.h >+++ b/Source/WebKit/UIProcess/Network/NetworkProcessProxy.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkProcessProxy_h >-#define NetworkProcessProxy_h >+#pragma once > > #include "ChildProcessProxy.h" > #if ENABLE(LEGACY_CUSTOM_PROTOCOL_MANAGER) >@@ -179,4 +178,3 @@ private: > > } // namespace WebKit > >-#endif // NetworkProcessProxy_h >diff --git a/Source/WebKit/UIProcess/Notifications/WebNotification.h b/Source/WebKit/UIProcess/Notifications/WebNotification.h >index 870b264540e..ea8519d79a2 100644 >--- a/Source/WebKit/UIProcess/Notifications/WebNotification.h >+++ b/Source/WebKit/UIProcess/Notifications/WebNotification.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebNotification_h >-#define WebNotification_h >+#pragma once > > #include "APIObject.h" > #include "APISecurityOrigin.h" >@@ -76,4 +75,3 @@ inline bool isNotificationIDValid(uint64_t id) > > } // namespace WebKit > >-#endif // WebNotification_h >diff --git a/Source/WebKit/UIProcess/Notifications/WebNotificationManagerProxy.h b/Source/WebKit/UIProcess/Notifications/WebNotificationManagerProxy.h >index 542fbd9726e..a3b85627cf0 100644 >--- a/Source/WebKit/UIProcess/Notifications/WebNotificationManagerProxy.h >+++ b/Source/WebKit/UIProcess/Notifications/WebNotificationManagerProxy.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebNotificationManagerProxy_h >-#define WebNotificationManagerProxy_h >+#pragma once > > #include "APIObject.h" > #include "MessageReceiver.h" >@@ -96,4 +95,3 @@ private: > > } // namespace WebKit > >-#endif // WebNotificationManagerProxy_h >diff --git a/Source/WebKit/UIProcess/Notifications/WebNotificationProvider.h b/Source/WebKit/UIProcess/Notifications/WebNotificationProvider.h >index 64614dcc941..69591940469 100644 >--- a/Source/WebKit/UIProcess/Notifications/WebNotificationProvider.h >+++ b/Source/WebKit/UIProcess/Notifications/WebNotificationProvider.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebNotificationProvider_h >-#define WebNotificationProvider_h >+#pragma once > > #include "APIClient.h" > #include "APINotificationProvider.h" >@@ -60,4 +59,3 @@ public: > > } // namespace WebKit > >-#endif // WebNotificationProvider_h >diff --git a/Source/WebKit/UIProcess/PageLoadState.h b/Source/WebKit/UIProcess/PageLoadState.h >index e2afdfd8d54..51a971f2e1d 100644 >--- a/Source/WebKit/UIProcess/PageLoadState.h >+++ b/Source/WebKit/UIProcess/PageLoadState.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PageLoadState_h >-#define PageLoadState_h >+#pragma once > > #include "WebCertificateInfo.h" > #include <wtf/text/WTFString.h> >@@ -230,4 +229,3 @@ private: > > } // namespace WebKit > >-#endif // PageLoadState_h >diff --git a/Source/WebKit/UIProcess/Plugins/PlugInAutoStartProvider.h b/Source/WebKit/UIProcess/Plugins/PlugInAutoStartProvider.h >index c8d710e5160..d6b085e7eed 100644 >--- a/Source/WebKit/UIProcess/Plugins/PlugInAutoStartProvider.h >+++ b/Source/WebKit/UIProcess/Plugins/PlugInAutoStartProvider.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PlugInAutoStartProvider_h >-#define PlugInAutoStartProvider_h >+#pragma once > > #include <pal/SessionID.h> > #include <wtf/HashMap.h> >@@ -80,4 +79,3 @@ private: > > } // namespace WebKit > >-#endif /* PlugInAutoStartProvider_h */ >diff --git a/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.h b/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.h >index 2530ffe34b4..3e8a80ff915 100644 >--- a/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.h >+++ b/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginProcessProxy_h >-#define PluginProcessProxy_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -185,4 +184,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // PluginProcessProxy_h >diff --git a/Source/WebKit/UIProcess/Plugins/gtk/PluginInfoCache.h b/Source/WebKit/UIProcess/Plugins/gtk/PluginInfoCache.h >index 05ab1cfa15a..8a5b24e5832 100644 >--- a/Source/WebKit/UIProcess/Plugins/gtk/PluginInfoCache.h >+++ b/Source/WebKit/UIProcess/Plugins/gtk/PluginInfoCache.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginInfoCache_h >-#define PluginInfoCache_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -60,4 +59,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // PluginInfoCache_h >diff --git a/Source/WebKit/UIProcess/ProcessAssertion.h b/Source/WebKit/UIProcess/ProcessAssertion.h >index dc9afd80943..4c10f418163 100644 >--- a/Source/WebKit/UIProcess/ProcessAssertion.h >+++ b/Source/WebKit/UIProcess/ProcessAssertion.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ProcessAssertion_h >-#define ProcessAssertion_h >+#pragma once > > #include <wtf/Function.h> > #include <wtf/ProcessID.h> >@@ -103,4 +102,3 @@ private: > > } > >-#endif // ProcessAssertion_h >diff --git a/Source/WebKit/UIProcess/ProcessThrottler.h b/Source/WebKit/UIProcess/ProcessThrottler.h >index 7d90db6643f..838a3372e0b 100644 >--- a/Source/WebKit/UIProcess/ProcessThrottler.h >+++ b/Source/WebKit/UIProcess/ProcessThrottler.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ProcessThrottler_h >-#define ProcessThrottler_h >+#pragma once > > #include "ProcessAssertion.h" > >@@ -91,4 +90,3 @@ inline ProcessThrottler::BackgroundActivityToken ProcessThrottler::backgroundAct > > } > >-#endif // ProcessThrottler_h >diff --git a/Source/WebKit/UIProcess/ProcessThrottlerClient.h b/Source/WebKit/UIProcess/ProcessThrottlerClient.h >index f8def87b680..2e727c0b335 100644 >--- a/Source/WebKit/UIProcess/ProcessThrottlerClient.h >+++ b/Source/WebKit/UIProcess/ProcessThrottlerClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ProcessThrottlerClient_h >-#define ProcessThrottlerClient_h >+#pragma once > > #include "ProcessAssertion.h" > >@@ -43,5 +42,4 @@ public: > > } // namespace WebKit > >-#endif // ProcessThrottlerClient_h > >diff --git a/Source/WebKit/UIProcess/ResponsivenessTimer.h b/Source/WebKit/UIProcess/ResponsivenessTimer.h >index 7dd7dbbf5b3..048b3b58db2 100644 >--- a/Source/WebKit/UIProcess/ResponsivenessTimer.h >+++ b/Source/WebKit/UIProcess/ResponsivenessTimer.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ResponsivenessTimer_h >-#define ResponsivenessTimer_h >+#pragma once > > #include <wtf/RunLoop.h> > >@@ -67,5 +66,4 @@ private: > > } // namespace WebKit > >-#endif // ResponsivenessTimer_h > >diff --git a/Source/WebKit/UIProcess/UserContent/WebScriptMessageHandler.h b/Source/WebKit/UIProcess/UserContent/WebScriptMessageHandler.h >index 9e012dc2752..f2ba2ad4ed9 100644 >--- a/Source/WebKit/UIProcess/UserContent/WebScriptMessageHandler.h >+++ b/Source/WebKit/UIProcess/UserContent/WebScriptMessageHandler.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebScriptMessageHandler_h >-#define WebScriptMessageHandler_h >+#pragma once > > #include "WebUserContentControllerDataTypes.h" > #include <wtf/Identified.h> >@@ -75,4 +74,3 @@ private: > > } // namespace API > >-#endif // WebScriptMessageHandler_h >diff --git a/Source/WebKit/UIProcess/WebContextClient.h b/Source/WebKit/UIProcess/WebContextClient.h >index 038f63a5c40..6de69ceba39 100644 >--- a/Source/WebKit/UIProcess/WebContextClient.h >+++ b/Source/WebKit/UIProcess/WebContextClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebContextClient_h >-#define WebContextClient_h >+#pragma once > > #include "APIClient.h" > #include "APIData.h" >@@ -50,4 +49,3 @@ public: > > } // namespace WebKit > >-#endif // WebContextClient_h >diff --git a/Source/WebKit/UIProcess/WebContextConnectionClient.h b/Source/WebKit/UIProcess/WebContextConnectionClient.h >index 23bddf0a6dc..c73bc946ad9 100644 >--- a/Source/WebKit/UIProcess/WebContextConnectionClient.h >+++ b/Source/WebKit/UIProcess/WebContextConnectionClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebContextConnectionClient_h >-#define WebContextConnectionClient_h >+#pragma once > > #include "APIClient.h" > #include "WKContext.h" >@@ -47,4 +46,3 @@ public: > > } // namespace WebKit > >-#endif // WebContextConnectionClient_h >diff --git a/Source/WebKit/UIProcess/WebContextSupplement.h b/Source/WebKit/UIProcess/WebContextSupplement.h >index 80ca3a533a1..e77c18d9095 100644 >--- a/Source/WebKit/UIProcess/WebContextSupplement.h >+++ b/Source/WebKit/UIProcess/WebContextSupplement.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebContextSupplement_h >-#define WebContextSupplement_h >+#pragma once > > namespace WebKit { > >@@ -75,4 +74,3 @@ private: > > } // namespace WebKit > >-#endif // WebContextSupplement_h >diff --git a/Source/WebKit/UIProcess/WebCookieManagerProxyClient.h b/Source/WebKit/UIProcess/WebCookieManagerProxyClient.h >index 0346fd8e556..2161d10620f 100644 >--- a/Source/WebKit/UIProcess/WebCookieManagerProxyClient.h >+++ b/Source/WebKit/UIProcess/WebCookieManagerProxyClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebCookieManagerProxyClient_h >-#define WebCookieManagerProxyClient_h >+#pragma once > > #include "APIClient.h" > #include "WKCookieManager.h" >@@ -47,4 +46,3 @@ public: > > } // namespace WebKit > >-#endif // WebCookieManagerProxyClient_h >diff --git a/Source/WebKit/UIProcess/WebGeolocationProvider.h b/Source/WebKit/UIProcess/WebGeolocationProvider.h >index 41bbc6c3b82..be816a268a2 100644 >--- a/Source/WebKit/UIProcess/WebGeolocationProvider.h >+++ b/Source/WebKit/UIProcess/WebGeolocationProvider.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebGeolocationProvider_h >-#define WebGeolocationProvider_h >+#pragma once > > #include "APIClient.h" > #include "APIGeolocationProvider.h" >@@ -52,4 +51,3 @@ public: > > } // namespace WebKit > >-#endif // WebGeolocationProvider_h >diff --git a/Source/WebKit/UIProcess/WebGrammarDetail.h b/Source/WebKit/UIProcess/WebGrammarDetail.h >index c9b7553cd7b..9de53bc5483 100644 >--- a/Source/WebKit/UIProcess/WebGrammarDetail.h >+++ b/Source/WebKit/UIProcess/WebGrammarDetail.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebGrammarDetail_h >-#define WebGrammarDetail_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/TextCheckerClient.h> >@@ -58,4 +57,3 @@ private: > > } // namespace WebKit > >-#endif // WebGrammarDetail_h >diff --git a/Source/WebKit/UIProcess/WebMediaSessionFocusManagerClient.h b/Source/WebKit/UIProcess/WebMediaSessionFocusManagerClient.h >index ef69a669058..089998dfc2d 100644 >--- a/Source/WebKit/UIProcess/WebMediaSessionFocusManagerClient.h >+++ b/Source/WebKit/UIProcess/WebMediaSessionFocusManagerClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebMediaSessionFocusManagerClient_h >-#define WebMediaSessionFocusManagerClient_h >+#pragma once > > #if ENABLE(MEDIA_SESSION) > >@@ -51,4 +50,3 @@ public: > > #endif // ENABLE(MEDIA_SESSION) > >-#endif // WebMediaSessionFocusManagerClient_h >diff --git a/Source/WebKit/UIProcess/WebPageDiagnosticLoggingClient.h b/Source/WebKit/UIProcess/WebPageDiagnosticLoggingClient.h >index baadc1527cf..e7e8e27ee4d 100644 >--- a/Source/WebKit/UIProcess/WebPageDiagnosticLoggingClient.h >+++ b/Source/WebKit/UIProcess/WebPageDiagnosticLoggingClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebPageDiagnosticLoggingClient_h >-#define WebPageDiagnosticLoggingClient_h >+#pragma once > > #include "APIClient.h" > #include "APIDiagnosticLoggingClient.h" >@@ -56,4 +55,3 @@ public: > > } // namespace WebKit > >-#endif // WebPageDiagnosticLoggingClient_h >diff --git a/Source/WebKit/UIProcess/WebPageInjectedBundleClient.h b/Source/WebKit/UIProcess/WebPageInjectedBundleClient.h >index 30c7f354c00..c0cbc8a0a73 100644 >--- a/Source/WebKit/UIProcess/WebPageInjectedBundleClient.h >+++ b/Source/WebKit/UIProcess/WebPageInjectedBundleClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebPageInjectedBundleClient_h >-#define WebPageInjectedBundleClient_h >+#pragma once > > #include "APIClient.h" > #include "WKPage.h" >@@ -50,4 +49,3 @@ public: > > } // namespace WebKit > >-#endif // WebPageInjectedBundleClient_h >diff --git a/Source/WebKit/UIProcess/WebPopupMenuProxy.h b/Source/WebKit/UIProcess/WebPopupMenuProxy.h >index 61dee2e4b66..d2cfdda28b7 100644 >--- a/Source/WebKit/UIProcess/WebPopupMenuProxy.h >+++ b/Source/WebKit/UIProcess/WebPopupMenuProxy.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebPopupMenuProxy_h >-#define WebPopupMenuProxy_h >+#pragma once > > #include <WebCore/WritingMode.h> > #include <wtf/Forward.h> >@@ -78,4 +77,3 @@ protected: > > } // namespace WebKit > >-#endif // WebPopupMenuProxy_h >diff --git a/Source/WebKit/UIProcess/WebProcessLifetimeObserver.h b/Source/WebKit/UIProcess/WebProcessLifetimeObserver.h >index 48f7a0e2a4f..c67476f9316 100644 >--- a/Source/WebKit/UIProcess/WebProcessLifetimeObserver.h >+++ b/Source/WebKit/UIProcess/WebProcessLifetimeObserver.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebProcessLifetimeObserver_h >-#define WebProcessLifetimeObserver_h >+#pragma once > > #include <wtf/HashCountedSet.h> > #include <wtf/IteratorRange.h> >@@ -63,4 +62,3 @@ private: > > } > >-#endif // WebProcessLifetimeObserver_h >diff --git a/Source/WebKit/UIProcess/WebProcessLifetimeTracker.h b/Source/WebKit/UIProcess/WebProcessLifetimeTracker.h >index fdc4def2833..9e6adc0bdbf 100644 >--- a/Source/WebKit/UIProcess/WebProcessLifetimeTracker.h >+++ b/Source/WebKit/UIProcess/WebProcessLifetimeTracker.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebProcessLifetimeTracker_h >-#define WebProcessLifetimeTracker_h >+#pragma once > > #include <wtf/HashSet.h> > >@@ -59,4 +58,3 @@ private: > > } > >-#endif // WebProcessLifetimeTracker_h >diff --git a/Source/WebKit/UIProcess/WebTextChecker.h b/Source/WebKit/UIProcess/WebTextChecker.h >index 7c945c72627..44738ee1596 100644 >--- a/Source/WebKit/UIProcess/WebTextChecker.h >+++ b/Source/WebKit/UIProcess/WebTextChecker.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebTextChecker_h >-#define WebTextChecker_h >+#pragma once > > #include "APIObject.h" > #include "WKTextChecker.h" >@@ -56,4 +55,3 @@ private: > > } // namespace WebKit > >-#endif // WebTextChecker_h >diff --git a/Source/WebKit/UIProcess/WebTextCheckerClient.h b/Source/WebKit/UIProcess/WebTextCheckerClient.h >index 1fd4897dd4d..b9b2ec8ec7c 100644 >--- a/Source/WebKit/UIProcess/WebTextCheckerClient.h >+++ b/Source/WebKit/UIProcess/WebTextCheckerClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebTextCheckerClient_h >-#define WebTextCheckerClient_h >+#pragma once > > #include "APIClient.h" > #include "WKTextChecker.h" >@@ -63,4 +62,3 @@ public: > > } // namespace WebKit > >-#endif // WebTextCheckerClient_h >diff --git a/Source/WebKit/UIProcess/WebViewportAttributes.h b/Source/WebKit/UIProcess/WebViewportAttributes.h >index e3b16006c53..267cbf1bbe6 100644 >--- a/Source/WebKit/UIProcess/WebViewportAttributes.h >+++ b/Source/WebKit/UIProcess/WebViewportAttributes.h >@@ -23,8 +23,7 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebViewportAttributes_h >-#define WebViewportAttributes_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/ViewportArguments.h> >@@ -50,4 +49,3 @@ private: > > } // namespace WebKit > >-#endif // WebViewportAttributes_h >diff --git a/Source/WebKit/UIProcess/gstreamer/InstallMissingMediaPluginsPermissionRequest.h b/Source/WebKit/UIProcess/gstreamer/InstallMissingMediaPluginsPermissionRequest.h >index 5416014cbde..d86749a8c99 100644 >--- a/Source/WebKit/UIProcess/gstreamer/InstallMissingMediaPluginsPermissionRequest.h >+++ b/Source/WebKit/UIProcess/gstreamer/InstallMissingMediaPluginsPermissionRequest.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InstallMissingMediaPluginsPermissionRequest_h >-#define InstallMissingMediaPluginsPermissionRequest_h >+#pragma once > > #if ENABLE(VIDEO) && USE(GSTREAMER) > #include <WebCore/GUniquePtrGStreamer.h> >@@ -70,4 +69,3 @@ class InstallMissingMediaPluginsPermissionRequest; > } // namespace WebKit > > #endif // ENABLE(VIDEO) && USE(GSTREAMER) >-#endif // InstallMissingMediaPluginsPermissionRequest_h >diff --git a/Source/WebKit/UIProcess/gtk/InputMethodFilter.h b/Source/WebKit/UIProcess/gtk/InputMethodFilter.h >index f6d66eb5ab5..631b4dd3a8b 100644 >--- a/Source/WebKit/UIProcess/gtk/InputMethodFilter.h >+++ b/Source/WebKit/UIProcess/gtk/InputMethodFilter.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef InputMethodFilter_h >-#define InputMethodFilter_h >+#pragma once > > #include <WebCore/IntPoint.h> > #include <wtf/Function.h> >@@ -124,4 +123,3 @@ private: > > } // namespace WebKit > >-#endif // InputMethodFilter_h >diff --git a/Source/WebKit/UIProcess/gtk/KeyBindingTranslator.h b/Source/WebKit/UIProcess/gtk/KeyBindingTranslator.h >index b2ded5de6c0..b7425b9e6cf 100644 >--- a/Source/WebKit/UIProcess/gtk/KeyBindingTranslator.h >+++ b/Source/WebKit/UIProcess/gtk/KeyBindingTranslator.h >@@ -16,8 +16,7 @@ > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > */ > >-#ifndef KeyBindingTranslator_h >-#define KeyBindingTranslator_h >+#pragma once > > #include <WebCore/GRefPtrGtk.h> > #include <wtf/Vector.h> >@@ -41,6 +40,5 @@ private: > > } // namespace WebKit > >-#endif > > >diff --git a/Source/WebKit/UIProcess/gtk/WebColorPickerGtk.h b/Source/WebKit/UIProcess/gtk/WebColorPickerGtk.h >index 0bb96a5dd1d..589f1f28056 100644 >--- a/Source/WebKit/UIProcess/gtk/WebColorPickerGtk.h >+++ b/Source/WebKit/UIProcess/gtk/WebColorPickerGtk.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebColorPickerGtk_h >-#define WebColorPickerGtk_h >+#pragma once > > #if ENABLE(INPUT_TYPE_COLOR) > >@@ -70,4 +69,3 @@ private: > } // namespace WebKit > > #endif // ENABLE(INPUT_TYPE_COLOR) >-#endif // WebColorPickerGtk_h >diff --git a/Source/WebKit/UIProcess/gtk/WebPopupMenuProxyGtk.h b/Source/WebKit/UIProcess/gtk/WebPopupMenuProxyGtk.h >index 252c3187451..81d2f249514 100644 >--- a/Source/WebKit/UIProcess/gtk/WebPopupMenuProxyGtk.h >+++ b/Source/WebKit/UIProcess/gtk/WebPopupMenuProxyGtk.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebPopupMenuProxyGtk_h >-#define WebPopupMenuProxyGtk_h >+#pragma once > > #include "WebPopupMenuProxy.h" > #include <wtf/RunLoop.h> >@@ -80,4 +79,3 @@ private: > } // namespace WebKit > > >-#endif // WebPopupMenuProxyGtk_h >diff --git a/Source/WebKit/UIProcess/ios/SmartMagnificationController.h b/Source/WebKit/UIProcess/ios/SmartMagnificationController.h >index 5754ab9fb62..d8a82e97a54 100644 >--- a/Source/WebKit/UIProcess/ios/SmartMagnificationController.h >+++ b/Source/WebKit/UIProcess/ios/SmartMagnificationController.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef SmartMagnificationController_h >-#define SmartMagnificationController_h >+#pragma once > > #if PLATFORM(IOS) > >@@ -64,4 +63,3 @@ private: > > #endif // PLATFORM(IOS) > >-#endif // SmartMagnificationController_h >diff --git a/Source/WebKit/UIProcess/mac/CorrectionPanel.h b/Source/WebKit/UIProcess/mac/CorrectionPanel.h >index 4979ce39640..ef02da9d1ab 100644 >--- a/Source/WebKit/UIProcess/mac/CorrectionPanel.h >+++ b/Source/WebKit/UIProcess/mac/CorrectionPanel.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef CorrectionPanel_h >-#define CorrectionPanel_h >+#pragma once > > #import <WebCore/TextChecking.h> > >@@ -62,4 +61,3 @@ private: > > #endif // USE(AUTOCORRECTION_PANEL) > >-#endif // CorrectionPanel_h >diff --git a/Source/WebKit/UIProcess/mac/ServicesController.h b/Source/WebKit/UIProcess/mac/ServicesController.h >index 67c60ee9ddb..f172827dd52 100644 >--- a/Source/WebKit/UIProcess/mac/ServicesController.h >+++ b/Source/WebKit/UIProcess/mac/ServicesController.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ServicesController_h >-#define ServicesController_h >+#pragma once > > #if ENABLE(SERVICE_CONTROLS) > >@@ -63,4 +62,3 @@ private: > } // namespace WebKit > > #endif // ENABLE(SERVICE_CONTROLS) >-#endif // ServicesController_h >diff --git a/Source/WebKit/UIProcess/mac/ViewSnapshotStore.h b/Source/WebKit/UIProcess/mac/ViewSnapshotStore.h >index 26a600bc1d7..e8d2af9bd9b 100644 >--- a/Source/WebKit/UIProcess/mac/ViewSnapshotStore.h >+++ b/Source/WebKit/UIProcess/mac/ViewSnapshotStore.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ViewSnapshotStore_h >-#define ViewSnapshotStore_h >+#pragma once > > #include <WebCore/Color.h> > #include <WebCore/IntPoint.h> >@@ -144,4 +143,3 @@ private: > > } // namespace WebKit > >-#endif // ViewSnapshotStore_h >diff --git a/Source/WebKit/UIProcess/mac/WKFullKeyboardAccessWatcher.h b/Source/WebKit/UIProcess/mac/WKFullKeyboardAccessWatcher.h >index 1eb9a5e3d54..a2547062824 100644 >--- a/Source/WebKit/UIProcess/mac/WKFullKeyboardAccessWatcher.h >+++ b/Source/WebKit/UIProcess/mac/WKFullKeyboardAccessWatcher.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKFullKeyboardAccessWatcher_h >-#define WKFullKeyboardAccessWatcher_h >+#pragma once > > #if PLATFORM(MAC) > >@@ -39,4 +38,3 @@ > > #endif // PLATFORM(MAC) > >-#endif // WKFullKeyboardAccessWatcher_h >diff --git a/Source/WebKit/UIProcess/mac/WKImmediateActionController.h b/Source/WebKit/UIProcess/mac/WKImmediateActionController.h >index f6bf65f0742..17d1d1318f5 100644 >--- a/Source/WebKit/UIProcess/mac/WKImmediateActionController.h >+++ b/Source/WebKit/UIProcess/mac/WKImmediateActionController.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKImmediateActionController_h >-#define WKImmediateActionController_h >+#pragma once > > #if PLATFORM(MAC) > >@@ -78,4 +77,3 @@ enum class ImmediateActionState { > > #endif // PLATFORM(MAC) > >-#endif // WKImmediateActionController_h >diff --git a/Source/WebKit/UIProcess/mac/WKSharingServicePickerDelegate.h b/Source/WebKit/UIProcess/mac/WKSharingServicePickerDelegate.h >index fc9766c80c6..8ee95420068 100644 >--- a/Source/WebKit/UIProcess/mac/WKSharingServicePickerDelegate.h >+++ b/Source/WebKit/UIProcess/mac/WKSharingServicePickerDelegate.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKSharingServicePickerDelegate_h >-#define WKSharingServicePickerDelegate_h >+#pragma once > > #if ENABLE(SERVICE_CONTROLS) > >@@ -52,4 +51,3 @@ class WebContextMenuProxyMac; > @end > > #endif // ENABLE(SERVICE_CONTROLS) >-#endif // WKSharingServicePickerDelegate_h >diff --git a/Source/WebKit/UIProcess/mac/WKTextFinderClient.h b/Source/WebKit/UIProcess/mac/WKTextFinderClient.h >index eacc951977d..7de19af6d82 100644 >--- a/Source/WebKit/UIProcess/mac/WKTextFinderClient.h >+++ b/Source/WebKit/UIProcess/mac/WKTextFinderClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKTextFinderClient_h >-#define WKTextFinderClient_h >+#pragma once > > #import <WebKit/WKFoundation.h> > >@@ -45,4 +44,3 @@ class WebPageProxy; > > #endif // PLATFORM(MAC) > >-#endif // WKTextFinderClient_h >diff --git a/Source/WebKit/UIProcess/mac/WKTextInputWindowController.h b/Source/WebKit/UIProcess/mac/WKTextInputWindowController.h >index d28beaca22c..97646aa10cd 100644 >--- a/Source/WebKit/UIProcess/mac/WKTextInputWindowController.h >+++ b/Source/WebKit/UIProcess/mac/WKTextInputWindowController.h >@@ -23,8 +23,7 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKTextInputWindowController_h >-#define WKTextInputWindowController_h >+#pragma once > > #if USE(APPKIT) > >@@ -46,4 +45,3 @@ > > #endif // USE(APPKIT) > >-#endif // WKTextInputWindowController_h >diff --git a/Source/WebKit/UIProcess/mac/WKViewLayoutStrategy.h b/Source/WebKit/UIProcess/mac/WKViewLayoutStrategy.h >index 2df7e07db9e..40da6baea38 100644 >--- a/Source/WebKit/UIProcess/mac/WKViewLayoutStrategy.h >+++ b/Source/WebKit/UIProcess/mac/WKViewLayoutStrategy.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKViewLayoutStrategy_h >-#define WKViewLayoutStrategy_h >+#pragma once > > #if PLATFORM(MAC) > >@@ -67,4 +66,3 @@ class WebViewImpl; > > #endif // PLATFORM(MAC) > >-#endif // WKViewLayoutStrategy_h >diff --git a/Source/WebKit/UIProcess/mac/WebColorPickerMac.h b/Source/WebKit/UIProcess/mac/WebColorPickerMac.h >index c1732c44657..905e981e01d 100644 >--- a/Source/WebKit/UIProcess/mac/WebColorPickerMac.h >+++ b/Source/WebKit/UIProcess/mac/WebColorPickerMac.h >@@ -29,8 +29,7 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebColorPickerMac_h >-#define WebColorPickerMac_h >+#pragma once > > #if ENABLE(INPUT_TYPE_COLOR) > >@@ -79,4 +78,3 @@ private: > > #endif // USE(APPKIT) > >-#endif // WebContextMenuProxyMac_h >diff --git a/Source/WebKit/UIProcess/mac/WebPopupMenuProxyMac.h b/Source/WebKit/UIProcess/mac/WebPopupMenuProxyMac.h >index 090e1498254..2975d81b30c 100644 >--- a/Source/WebKit/UIProcess/mac/WebPopupMenuProxyMac.h >+++ b/Source/WebKit/UIProcess/mac/WebPopupMenuProxyMac.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebPopupMenuProxyMac_h >-#define WebPopupMenuProxyMac_h >+#pragma once > > #if USE(APPKIT) > >@@ -64,4 +63,3 @@ private: > > #endif // USE(APPKIT) > >-#endif // WebPopupMenuProxyMac_h >diff --git a/Source/WebKit/WebProcess/Databases/WebDatabaseProvider.h b/Source/WebKit/WebProcess/Databases/WebDatabaseProvider.h >index f9daaf11ac7..21e3004026d 100644 >--- a/Source/WebKit/WebProcess/Databases/WebDatabaseProvider.h >+++ b/Source/WebKit/WebProcess/Databases/WebDatabaseProvider.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebDatabaseProvider_h >-#define WebDatabaseProvider_h >+#pragma once > > #include <WebCore/DatabaseProvider.h> > #include <WebCore/InProcessIDBServer.h> >@@ -53,4 +52,3 @@ private: > > } > >-#endif // WebDatabaseProvider_h >diff --git a/Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.h b/Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.h >index cd9478037c4..e625ada8e1a 100644 >--- a/Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.h >+++ b/Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.h >@@ -22,8 +22,7 @@ > * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF > * THE POSSIBILITY OF SUCH DAMAGE. > */ >-#ifndef WebFullScreenManager_h >-#define WebFullScreenManager_h >+#pragma once > > #if ENABLE(FULLSCREEN_API) > >@@ -94,4 +93,3 @@ protected: > > #endif // ENABLE(FULLSCREEN_API) > >-#endif // WebFullScreenManager_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageContextMenuClient.h b/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageContextMenuClient.h >index 29794558aad..508afd47c47 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageContextMenuClient.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageContextMenuClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIInjectedBundlePageContextMenuClient_h >-#define APIInjectedBundlePageContextMenuClient_h >+#pragma once > > #if ENABLE(CONTEXT_MENUS) > >@@ -60,4 +59,3 @@ public: > } // namespace API > > #endif // ENABLE(CONTEXT_MENUS) >-#endif // APIInjectedBundlePageContextMenuClient_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleAPICast.h b/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleAPICast.h >index a165038ebea..22e00062925 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleAPICast.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleAPICast.h >@@ -23,7 +23,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKBundleAPICast_h >+#define WKBundleAPICast_h > > #include "WKSharedAPICast.h" > #include "WKBundlePage.h" >@@ -97,3 +98,5 @@ inline WKAffinityType toAPI(WebCore::EAffinity affinity) > } > > } // namespace WebKit >+ >+#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp b/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp >index 3c07d2e0781..df9286f41c8 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp >@@ -36,10 +36,10 @@ > #include "WKSharedAPICast.h" > #include "WKStringPrivate.h" > #include "WebPage.h" >+#include "WebPageOverlay.h" > #include <WebCore/GraphicsContext.h> > #include <WebCore/PageOverlay.h> > #include <WebCore/PlatformMouseEvent.h> >-#include <WebKit/WebPageOverlay.h> > > namespace API { > >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePageUIClient.h b/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePageUIClient.h >index f566bbd6ad1..c97971dc647 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePageUIClient.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePageUIClient.h >@@ -23,7 +23,8 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#pragma once >+#ifndef WKBundlePageUIClient_h >+#define WKBundlePageUIClient_h > > #include <WebKit/WKBase.h> > #include <WebKit/WKEvent.h> >@@ -210,3 +211,5 @@ typedef struct WKBundlePageUIClientV4 { > // Version 4. > WKBundlePageDidResignInputElementStrongPasswordAppearance didResignInputElementStrongPasswordAppearance; > } WKBundlePageUIClientV4; >+ >+#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitConsoleMessagePrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitConsoleMessagePrivate.h >index edd79668f3f..6bbe204ced0 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitConsoleMessagePrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitConsoleMessagePrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitConsoleMessagePrivate_h >-#define WebKitConsoleMessagePrivate_h >+#pragma once > > #include "WebKitConsoleMessage.h" > #include <JavaScriptCore/ConsoleTypes.h> >@@ -51,4 +50,3 @@ struct _WebKitConsoleMessage { > CString sourceID; > }; > >-#endif // WebKitConsoleMessagePrivate_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFramePrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFramePrivate.h >index 81bc8ac406f..393d9eaec0a 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFramePrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFramePrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitFramePrivate_h >-#define WebKitFramePrivate_h >+#pragma once > > #include "WebFrame.h" > #include "WebKitFrame.h" >@@ -26,4 +25,3 @@ > WebKitFrame* webkitFrameCreate(WebKit::WebFrame*); > WebKit::WebFrame* webkitFrameGetWebFrame(WebKitFrame*); > >-#endif // WebKitFramePrivate_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitScriptWorldPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitScriptWorldPrivate.h >index 3f3c3ff59b7..dad9b103dee 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitScriptWorldPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitScriptWorldPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitScriptWorldPrivate_h >-#define WebKitScriptWorldPrivate_h >+#pragma once > > #include "InjectedBundleScriptWorld.h" > #include "WebKitFrame.h" >@@ -29,4 +28,3 @@ WebKitScriptWorld* webkitScriptWorldGet(WebKit::InjectedBundleScriptWorld*); > void webkitScriptWorldWindowObjectCleared(WebKitScriptWorld*, WebKitWebPage*, WebKitFrame*); > WebKit::InjectedBundleScriptWorld* webkitScriptWorldGetInjectedBundleScriptWorld(WebKitScriptWorld*); > >-#endif // WebKitScriptWorldPrivate_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebEditorPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebEditorPrivate.h >index 88159eb2080..31be1bf7418 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebEditorPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebEditorPrivate.h >@@ -17,12 +17,10 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitWebEditorPrivate_h >-#define WebKitWebEditorPrivate_h >+#pragma once > > #include "WebKitWebEditor.h" > #include "WebKitWebPage.h" > > WebKitWebEditor* webkitWebEditorCreate(WebKitWebPage*); > >-#endif // WebKitWebEditor_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebHitTestResultPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebHitTestResultPrivate.h >index 66dd7e7ec5b..90112a9f945 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebHitTestResultPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebHitTestResultPrivate.h >@@ -17,12 +17,10 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitWebHitTestResultPrivate_h >-#define WebKitWebHitTestResultPrivate_h >+#pragma once > > #include "WebKitWebHitTestResult.h" > #include <WebCore/HitTestResult.h> > > WebKitWebHitTestResult* webkitWebHitTestResultCreate(const WebCore::HitTestResult&); > >-#endif // WebKitWebHitTestResultPrivate_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPagePrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPagePrivate.h >index 8dcd42a9dbc..77e50ecb7cd 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPagePrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPagePrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitWebPagePrivate_h >-#define WebKitWebPagePrivate_h >+#pragma once > > #include "APIDictionary.h" > #include "WebKitWebPage.h" >@@ -28,4 +27,3 @@ WebKitWebPage* webkitWebPageCreate(WebKit::WebPage*); > void webkitWebPageDidReceiveMessage(WebKitWebPage*, const String& messageName, API::Dictionary& message); > WebKit::WebPage* webkitWebPageGetPage(WebKitWebPage*); > >-#endif // WebKitWebPagePrivate_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/ConvertToUTF8String.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/ConvertToUTF8String.h >index e494113a3f8..97d846f953c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/ConvertToUTF8String.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/ConvertToUTF8String.h >@@ -18,8 +18,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef ConvertToUTF8String_h >-#define ConvertToUTF8String_h >+#pragma once > > #include <wtf/Forward.h> > >@@ -32,4 +31,3 @@ typedef char gchar; > gchar* convertToUTF8String(WTF::String const& s); > gchar* convertToUTF8String(WebCore::URL const& s); > >-#endif /* ConvertToUTF8String_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttr.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttr.h >index 71c4a11110f..972624d744e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttr.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttr.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMAttr_h >-#define WebKitDOMAttr_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMNode.h> >@@ -145,4 +144,3 @@ webkit_dom_attr_get_local_name(WebKitDOMAttr* self); > > G_END_DECLS > >-#endif /* WebKitDOMAttr_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttrPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttrPrivate.h >index 9fbc83fc18f..d0506b28492 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttrPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMAttrPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMAttrPrivate_h >-#define WebKitDOMAttrPrivate_h >+#pragma once > > #include <WebCore/Attr.h> > #include <webkitdom/WebKitDOMAttr.h> >@@ -29,4 +28,3 @@ WebKitDOMAttr* kit(WebCore::Attr*); > WebCore::Attr* core(WebKitDOMAttr*); > } // namespace WebKit > >-#endif /* WebKitDOMAttrPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlob.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlob.h >index a3fb77ec979..b9461f29a33 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlob.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlob.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMBlob_h >-#define WebKitDOMBlob_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -61,4 +60,3 @@ webkit_dom_blob_get_size(WebKitDOMBlob* self); > > G_END_DECLS > >-#endif /* WebKitDOMBlob_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlobPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlobPrivate.h >index 1ae3a7cb162..186754bed41 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlobPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMBlobPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMBlobPrivate_h >-#define WebKitDOMBlobPrivate_h >+#pragma once > > #include <WebCore/Blob.h> > #include <webkitdom/WebKitDOMBlob.h> >@@ -29,4 +28,3 @@ WebKitDOMBlob* kit(WebCore::Blob*); > WebCore::Blob* core(WebKitDOMBlob*); > } // namespace WebKit > >-#endif /* WebKitDOMBlobPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASection.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASection.h >index 10468f88d98..a2670a273ac 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASection.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASection.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMCDATASection_h >-#define WebKitDOMCDATASection_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMText.h> >@@ -50,4 +49,3 @@ webkit_dom_cdata_section_get_type(void); > > G_END_DECLS > >-#endif /* WebKitDOMCDATASection_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASectionPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASectionPrivate.h >index d7b9672ca54..1c40fa35f44 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASectionPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCDATASectionPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMCDATASectionPrivate_h >-#define WebKitDOMCDATASectionPrivate_h >+#pragma once > > #include <WebCore/CDATASection.h> > #include <webkitdom/WebKitDOMCDATASection.h> >@@ -29,4 +28,3 @@ WebKitDOMCDATASection* kit(WebCore::CDATASection*); > WebCore::CDATASection* core(WebKitDOMCDATASection*); > } // namespace WebKit > >-#endif /* WebKitDOMCDATASectionPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRule.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRule.h >index 59b580a7f61..915d2b6df1e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRule.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRule.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMCSSRule_h >-#define WebKitDOMCSSRule_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -159,4 +158,3 @@ webkit_dom_css_rule_get_parent_rule(WebKitDOMCSSRule* self); > > G_END_DECLS > >-#endif /* WebKitDOMCSSRule_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleList.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleList.h >index d9a4da5b8e6..2f9c01a0b93 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleList.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleList.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMCSSRuleList_h >-#define WebKitDOMCSSRuleList_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -73,4 +72,3 @@ webkit_dom_css_rule_list_get_length(WebKitDOMCSSRuleList* self); > > G_END_DECLS > >-#endif /* WebKitDOMCSSRuleList_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleListPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleListPrivate.h >index f02d3bad7f1..03a88bb85d1 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleListPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRuleListPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMCSSRuleListPrivate_h >-#define WebKitDOMCSSRuleListPrivate_h >+#pragma once > > #include <WebCore/CSSRuleList.h> > #include <webkitdom/WebKitDOMCSSRuleList.h> >@@ -29,4 +28,3 @@ WebKitDOMCSSRuleList* kit(WebCore::CSSRuleList*); > WebCore::CSSRuleList* core(WebKitDOMCSSRuleList*); > } // namespace WebKit > >-#endif /* WebKitDOMCSSRuleListPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRulePrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRulePrivate.h >index 7c6d7fd3eb8..68756036651 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRulePrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRulePrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMCSSRulePrivate_h >-#define WebKitDOMCSSRulePrivate_h >+#pragma once > > #include <WebCore/CSSRule.h> > #include <webkitdom/WebKitDOMCSSRule.h> >@@ -29,4 +28,3 @@ WebKitDOMCSSRule* kit(WebCore::CSSRule*); > WebCore::CSSRule* core(WebKitDOMCSSRule*); > } // namespace WebKit > >-#endif /* WebKitDOMCSSRulePrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclaration.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclaration.h >index 735fc308f32..d76927456f5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclaration.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclaration.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMCSSStyleDeclaration_h >-#define WebKitDOMCSSStyleDeclaration_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -182,4 +181,3 @@ webkit_dom_css_style_declaration_get_parent_rule(WebKitDOMCSSStyleDeclaration* s > > G_END_DECLS > >-#endif /* WebKitDOMCSSStyleDeclaration_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclarationPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclarationPrivate.h >index e98646f773f..f945c0e766b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclarationPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleDeclarationPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMCSSStyleDeclarationPrivate_h >-#define WebKitDOMCSSStyleDeclarationPrivate_h >+#pragma once > > #include <WebCore/CSSStyleDeclaration.h> > #include <webkitdom/WebKitDOMCSSStyleDeclaration.h> >@@ -29,4 +28,3 @@ WebKitDOMCSSStyleDeclaration* kit(WebCore::CSSStyleDeclaration*); > WebCore::CSSStyleDeclaration* core(WebKitDOMCSSStyleDeclaration*); > } // namespace WebKit > >-#endif /* WebKitDOMCSSStyleDeclarationPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheet.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheet.h >index a04e04fa180..e05c0cb766b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheet.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheet.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMCSSStyleSheet_h >-#define WebKitDOMCSSStyleSheet_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMStyleSheet.h> >@@ -136,4 +135,3 @@ webkit_dom_css_style_sheet_get_rules(WebKitDOMCSSStyleSheet* self); > > G_END_DECLS > >-#endif /* WebKitDOMCSSStyleSheet_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheetPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheetPrivate.h >index de64d0b2880..256a8aef11d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheetPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSStyleSheetPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMCSSStyleSheetPrivate_h >-#define WebKitDOMCSSStyleSheetPrivate_h >+#pragma once > > #include <WebCore/CSSStyleSheet.h> > #include <webkitdom/WebKitDOMCSSStyleSheet.h> >@@ -29,4 +28,3 @@ WebKitDOMCSSStyleSheet* kit(WebCore::CSSStyleSheet*); > WebCore::CSSStyleSheet* core(WebKitDOMCSSStyleSheet*); > } // namespace WebKit > >-#endif /* WebKitDOMCSSStyleSheetPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValue.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValue.h >index 26554aed03c..6b44f5454be 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValue.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValue.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMCSSValue_h >-#define WebKitDOMCSSValue_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -116,4 +115,3 @@ webkit_dom_css_value_get_css_value_type(WebKitDOMCSSValue* self); > > G_END_DECLS > >-#endif /* WebKitDOMCSSValue_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValuePrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValuePrivate.h >index fb2eefbc3d7..e0e82e0ddbe 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValuePrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSValuePrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMCSSValuePrivate_h >-#define WebKitDOMCSSValuePrivate_h >+#pragma once > > #include <WebCore/DeprecatedCSSOMValue.h> > #include <webkitdom/WebKitDOMCSSValue.h> >@@ -29,4 +28,3 @@ WebKitDOMCSSValue* kit(WebCore::DeprecatedCSSOMValue*); > WebCore::DeprecatedCSSOMValue* core(WebKitDOMCSSValue*); > } // namespace WebKit > >-#endif /* WebKitDOMCSSValuePrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterData.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterData.h >index b4f980f076a..5f05b3c5d19 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterData.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterData.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMCharacterData_h >-#define WebKitDOMCharacterData_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMNode.h> >@@ -150,4 +149,3 @@ webkit_dom_character_data_get_length(WebKitDOMCharacterData* self); > > G_END_DECLS > >-#endif /* WebKitDOMCharacterData_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterDataPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterDataPrivate.h >index cd39a77768d..946134013c4 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterDataPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCharacterDataPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMCharacterDataPrivate_h >-#define WebKitDOMCharacterDataPrivate_h >+#pragma once > > #include <WebCore/CharacterData.h> > #include <webkitdom/WebKitDOMCharacterData.h> >@@ -29,4 +28,3 @@ WebKitDOMCharacterData* kit(WebCore::CharacterData*); > WebCore::CharacterData* core(WebKitDOMCharacterData*); > } // namespace WebKit > >-#endif /* WebKitDOMCharacterDataPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRect.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRect.h >index b491d22aa82..5d1b377e8f5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRect.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRect.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMClientRect_h >-#define WebKitDOMClientRect_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -140,4 +139,3 @@ webkit_dom_client_rect_get_height(WebKitDOMClientRect* self); > > G_END_DECLS > >-#endif /* WebKitDOMClientRect_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRectList.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRectList.h >index 2d9c05ff8b2..63b7471cd14 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRectList.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMClientRectList.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMClientRectList_h >-#define WebKitDOMClientRectList_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -80,4 +79,3 @@ WEBKIT_DEPRECATED WebKitDOMClientRect* webkit_dom_client_rect_list_item(WebKitDO > > G_END_DECLS > >-#endif /* WebKitDOMClientRectList_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMComment.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMComment.h >index fc73ab00bc1..f0258e6bbfa 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMComment.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMComment.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMComment_h >-#define WebKitDOMComment_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMCharacterData.h> >@@ -50,4 +49,3 @@ webkit_dom_comment_get_type(void); > > G_END_DECLS > >-#endif /* WebKitDOMComment_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCommentPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCommentPrivate.h >index 5e7a31ebd44..0937e22ebc0 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCommentPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCommentPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMCommentPrivate_h >-#define WebKitDOMCommentPrivate_h >+#pragma once > > #include <WebCore/Comment.h> > #include <webkitdom/WebKitDOMComment.h> >@@ -29,4 +28,3 @@ WebKitDOMComment* kit(WebCore::Comment*); > WebCore::Comment* core(WebKitDOMComment*); > } // namespace WebKit > >-#endif /* WebKitDOMCommentPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCustomUnstable.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCustomUnstable.h >index 69ff206d5ed..d845d259e15 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCustomUnstable.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCustomUnstable.h >@@ -16,8 +16,7 @@ > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > */ > >-#ifndef WebKitDOMCustomUnstable_h >-#define WebKitDOMCustomUnstable_h >+#pragma once > > #ifdef WEBKIT_DOM_USE_UNSTABLE_API > #define __WEBKITDOM_H_INSIDE__ >@@ -25,4 +24,3 @@ > #undef __WEBKITDOM_H_INSIDE__ > #endif /* WEBKIT_DOM_USE_UNSTABLE_API */ > >-#endif /* WebKitDOMCustomUnstable_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementation.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementation.h >index 2ec042fd8f6..79a55e1c4bb 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementation.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementation.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMDOMImplementation_h >-#define WebKitDOMDOMImplementation_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -119,4 +118,3 @@ webkit_dom_dom_implementation_create_html_document(WebKitDOMDOMImplementation* s > > G_END_DECLS > >-#endif /* WebKitDOMDOMImplementation_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementationPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementationPrivate.h >index a4195a5d4b2..5093038a116 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementationPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMImplementationPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMDOMImplementationPrivate_h >-#define WebKitDOMDOMImplementationPrivate_h >+#pragma once > > #include <WebCore/DOMImplementation.h> > #include <webkitdom/WebKitDOMDOMImplementation.h> >@@ -29,4 +28,3 @@ WebKitDOMDOMImplementation* kit(WebCore::DOMImplementation*); > WebCore::DOMImplementation* core(WebKitDOMDOMImplementation*); > } // namespace WebKit > >-#endif /* WebKitDOMDOMImplementationPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelection.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelection.h >index 9ca07efa316..adc08064b9c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelection.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelection.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMDOMSelection_h >-#define WebKitDOMDOMSelection_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -373,4 +372,3 @@ webkit_dom_dom_selection_get_extent_offset(WebKitDOMDOMSelection* self); > > G_END_DECLS > >-#endif /* WebKitDOMDOMSelection_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelectionPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelectionPrivate.h >index 415e27eb497..dddae1d6d32 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelectionPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMSelectionPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMDOMSelectionPrivate_h >-#define WebKitDOMDOMSelectionPrivate_h >+#pragma once > > #include <WebCore/DOMSelection.h> > #include <webkitdom/WebKitDOMDOMSelection.h> >@@ -29,4 +28,3 @@ WebKitDOMDOMSelection* kit(WebCore::DOMSelection*); > WebCore::DOMSelection* core(WebKitDOMDOMSelection*); > } // namespace WebKit > >-#endif /* WebKitDOMDOMSelectionPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenList.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenList.h >index 603db71a799..3971cd8b12e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenList.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenList.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMDOMTokenList_h >-#define WebKitDOMDOMTokenList_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -172,4 +171,3 @@ webkit_dom_dom_token_list_set_value(WebKitDOMDOMTokenList* self, const gchar* va > > G_END_DECLS > >-#endif /* WebKitDOMDOMTokenList_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenListPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenListPrivate.h >index 7ebe821c2c9..49ea9e23b74 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenListPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMTokenListPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMDOMTokenListPrivate_h >-#define WebKitDOMDOMTokenListPrivate_h >+#pragma once > > #include <WebCore/DOMTokenList.h> > #include <webkitdom/WebKitDOMDOMTokenList.h> >@@ -29,4 +28,3 @@ WebKitDOMDOMTokenList* kit(WebCore::DOMTokenList*); > WebCore::DOMTokenList* core(WebKitDOMDOMTokenList*); > } // namespace WebKit > >-#endif /* WebKitDOMDOMTokenListPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindow.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindow.h >index c0f54b8ec33..b6dd1d54ee1 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindow.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindow.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMDOMWindow_h >-#define WebKitDOMDOMWindow_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -709,4 +708,3 @@ webkit_dom_dom_window_webkit_message_handlers_post_message(WebKitDOMDOMWindow* w > > G_END_DECLS > >-#endif /* WebKitDOMDOMWindow_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindowPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindowPrivate.h >index 6684ec6788e..7fdb7a0eee3 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindowPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindowPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMDOMWindowPrivate_h >-#define WebKitDOMDOMWindowPrivate_h >+#pragma once > > #include <WebCore/DOMWindow.h> > #include <WebCore/WindowProxy.h> >@@ -32,4 +31,3 @@ WebCore::DOMWindow* core(WebKitDOMDOMWindow*); > WebCore::WindowProxy* toWindowProxy(WebKitDOMDOMWindow*); > } // namespace WebKit > >-#endif /* WebKitDOMDOMWindowPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindowUnstable.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindowUnstable.h >index 35cb62e6bbc..3ebe9d392f8 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindowUnstable.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDOMWindowUnstable.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMDOMWindowUnstable_h >-#define WebKitDOMDOMWindowUnstable_h >+#pragma once > > #ifdef WEBKIT_DOM_USE_UNSTABLE_API > #define __WEBKITDOM_H_INSIDE__ >@@ -26,4 +25,3 @@ > #undef __WEBKITDOM_H_INSIDE__ > #endif /* WEBKIT_DOM_USE_UNSTABLE_API */ > >-#endif /* WebKitDOMDOMWindowUnstable_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDeprecated.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDeprecated.h >index c5bb19d0a6e..20f96162f92 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDeprecated.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDeprecated.h >@@ -16,8 +16,7 @@ > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > */ > >-#ifndef WebKitDOMDeprecated_h >-#define WebKitDOMDeprecated_h >+#pragma once > > #if !defined(WEBKIT_DISABLE_DEPRECATED) > >@@ -487,4 +486,3 @@ G_END_DECLS > > #endif /* WEBKIT_DISABLE_DEPRECATED */ > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocument.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocument.h >index 669a6a16780..b92be5c629d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocument.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocument.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMDocument_h >-#define WebKitDOMDocument_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMNode.h> >@@ -1277,4 +1276,3 @@ webkit_dom_document_get_child_element_count(WebKitDOMDocument* self); > > G_END_DECLS > >-#endif /* WebKitDOMDocument_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragment.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragment.h >index 0976692f34d..2409cdd4096 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragment.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragment.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMDocumentFragment_h >-#define WebKitDOMDocumentFragment_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMNode.h> >@@ -146,4 +145,3 @@ webkit_dom_document_fragment_get_child_element_count(WebKitDOMDocumentFragment* > > G_END_DECLS > >-#endif /* WebKitDOMDocumentFragment_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragmentPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragmentPrivate.h >index 097be7e8fc6..04423eb115e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragmentPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragmentPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMDocumentFragmentPrivate_h >-#define WebKitDOMDocumentFragmentPrivate_h >+#pragma once > > #include <WebCore/DocumentFragment.h> > #include <webkitdom/WebKitDOMDocumentFragment.h> >@@ -29,4 +28,3 @@ WebKitDOMDocumentFragment* kit(WebCore::DocumentFragment*); > WebCore::DocumentFragment* core(WebKitDOMDocumentFragment*); > } // namespace WebKit > >-#endif /* WebKitDOMDocumentFragmentPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragmentUnstable.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragmentUnstable.h >index 3c3e740f6e0..d7a0d31900b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragmentUnstable.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentFragmentUnstable.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMDocumentFragmentUnstable_h >-#define WebKitDOMDocumentFragmentUnstable_h >+#pragma once > > #ifdef WEBKIT_DOM_USE_UNSTABLE_API > #define __WEBKITDOM_H_INSIDE__ >@@ -26,4 +25,3 @@ > #undef __WEBKITDOM_H_INSIDE__ > #endif /* WEBKIT_DOM_USE_UNSTABLE_API */ > >-#endif /* WebKitDOMDocumentFragmentUnstable_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentType.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentType.h >index 39b512225f8..a12d6a3294e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentType.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentType.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMDocumentType_h >-#define WebKitDOMDocumentType_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMNode.h> >@@ -116,4 +115,3 @@ webkit_dom_document_type_get_system_id(WebKitDOMDocumentType* self); > > G_END_DECLS > >-#endif /* WebKitDOMDocumentType_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentTypePrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentTypePrivate.h >index a86cec5529a..ba2e06b4557 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentTypePrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentTypePrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMDocumentTypePrivate_h >-#define WebKitDOMDocumentTypePrivate_h >+#pragma once > > #include <WebCore/DocumentType.h> > #include <webkitdom/WebKitDOMDocumentType.h> >@@ -29,4 +28,3 @@ WebKitDOMDocumentType* kit(WebCore::DocumentType*); > WebCore::DocumentType* core(WebKitDOMDocumentType*); > } // namespace WebKit > >-#endif /* WebKitDOMDocumentTypePrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentUnstable.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentUnstable.h >index f771a12f804..062a0b73f78 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentUnstable.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentUnstable.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMDocumentUnstable_h >-#define WebKitDOMDocumentUnstable_h >+#pragma once > > #ifdef WEBKIT_DOM_USE_UNSTABLE_API > #define __WEBKITDOM_H_INSIDE__ >@@ -26,4 +25,3 @@ > #undef __WEBKITDOM_H_INSIDE__ > #endif /* WEBKIT_DOM_USE_UNSTABLE_API */ > >-#endif /* WebKitDOMDocumentUnstable_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElement.h >index 02263c489c4..951edfa6168 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMElement_h >-#define WebKitDOMElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMNode.h> >@@ -951,4 +950,3 @@ webkit_dom_element_get_class_list(WebKitDOMElement* self); > > G_END_DECLS > >-#endif /* WebKitDOMElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElementUnstable.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElementUnstable.h >index 04eba922762..300e848eb3d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElementUnstable.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElementUnstable.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMElementUnstable_h >-#define WebKitDOMElementUnstable_h >+#pragma once > > #ifdef WEBKIT_DOM_USE_UNSTABLE_API > #define __WEBKITDOM_H_INSIDE__ >@@ -26,4 +25,3 @@ > #undef __WEBKITDOM_H_INSIDE__ > #endif /* WEBKIT_DOM_USE_UNSTABLE_API */ > >-#endif /* WebKitDOMElementUnstable_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEvent.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEvent.h >index e3630e1834d..175c1b7af9f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEvent.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEvent.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMEvent_h >-#define WebKitDOMEvent_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -359,4 +358,3 @@ webkit_dom_event_set_cancel_bubble(WebKitDOMEvent* self, gboolean value); > > G_END_DECLS > >-#endif /* WebKitDOMEvent_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventPrivate.h >index b0908622d31..54d48dcb2da 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMEventPrivate_h >-#define WebKitDOMEventPrivate_h >+#pragma once > > #include <WebCore/Event.h> > #include <webkitdom/WebKitDOMEvent.h> >@@ -29,4 +28,3 @@ WebKitDOMEvent* kit(WebCore::Event*); > WebCore::Event* core(WebKitDOMEvent*); > } // namespace WebKit > >-#endif /* WebKitDOMEventPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h >index 75aac189438..20504b7d462 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h >@@ -16,8 +16,7 @@ > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > */ > >-#ifndef WebKitDOMEventTarget_h >-#define WebKitDOMEventTarget_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/webkitdomdefines.h> >@@ -145,4 +144,3 @@ WEBKIT_DEPRECATED gboolean webkit_dom_event_target_remove_event_listener_with_cl > > G_END_DECLS > >-#endif /* WebKitDOMEventTarget_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTargetPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTargetPrivate.h >index e79be3845f2..99383844a24 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTargetPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTargetPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMEventTargetPrivate_h >-#define WebKitDOMEventTargetPrivate_h >+#pragma once > > #include <webkitdom/WebKitDOMEventTarget.h> > >@@ -31,4 +30,3 @@ WebKitDOMEventTarget* kit(WebCore::EventTarget*); > WebCore::EventTarget* core(WebKitDOMEventTarget*); > } // namespace WebKit > >-#endif /* WebKitDOMEventTargetPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFile.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFile.h >index 0c023502156..3fea8292bb5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFile.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFile.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMFile_h >-#define WebKitDOMFile_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMBlob.h> >@@ -61,4 +60,3 @@ webkit_dom_file_get_name(WebKitDOMFile* self); > > G_END_DECLS > >-#endif /* WebKitDOMFile_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileList.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileList.h >index 0fbc948b0c8..2ec26b1eafb 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileList.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileList.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMFileList_h >-#define WebKitDOMFileList_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -73,4 +72,3 @@ webkit_dom_file_list_get_length(WebKitDOMFileList* self); > > G_END_DECLS > >-#endif /* WebKitDOMFileList_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileListPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileListPrivate.h >index a952c718e0b..f6adb4c126e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileListPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFileListPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMFileListPrivate_h >-#define WebKitDOMFileListPrivate_h >+#pragma once > > #include <WebCore/FileList.h> > #include <webkitdom/WebKitDOMFileList.h> >@@ -29,4 +28,3 @@ WebKitDOMFileList* kit(WebCore::FileList*); > WebCore::FileList* core(WebKitDOMFileList*); > } // namespace WebKit > >-#endif /* WebKitDOMFileListPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFilePrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFilePrivate.h >index 353d335d598..9214d733da9 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFilePrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMFilePrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMFilePrivate_h >-#define WebKitDOMFilePrivate_h >+#pragma once > > #include <WebCore/File.h> > #include <webkitdom/WebKitDOMFile.h> >@@ -29,4 +28,3 @@ WebKitDOMFile* kit(WebCore::File*); > WebCore::File* core(WebKitDOMFile*); > } // namespace WebKit > >-#endif /* WebKitDOMFilePrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElement.h >index 84cc7584100..9faef38e007 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLAnchorElement_h >-#define WebKitDOMHTMLAnchorElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -447,4 +446,3 @@ webkit_dom_html_anchor_element_set_hash(WebKitDOMHTMLAnchorElement* self, const > > G_END_DECLS > >-#endif /* WebKitDOMHTMLAnchorElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElementPrivate.h >index a7cb53bac48..6eb3b69b566 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAnchorElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLAnchorElementPrivate_h >-#define WebKitDOMHTMLAnchorElementPrivate_h >+#pragma once > > #include <WebCore/HTMLAnchorElement.h> > #include <webkitdom/WebKitDOMHTMLAnchorElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLAnchorElement* kit(WebCore::HTMLAnchorElement*); > WebCore::HTMLAnchorElement* core(WebKitDOMHTMLAnchorElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLAnchorElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElement.h >index bce09acbb15..7985d11fd5c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLAppletElement_h >-#define WebKitDOMHTMLAppletElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -292,4 +291,3 @@ webkit_dom_html_applet_element_set_width(WebKitDOMHTMLAppletElement* self, const > > G_END_DECLS > >-#endif /* WebKitDOMHTMLAppletElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElementPrivate.h >index 04eb89c2895..06471a37bc4 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAppletElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLAppletElementPrivate_h >-#define WebKitDOMHTMLAppletElementPrivate_h >+#pragma once > > #include <WebCore/HTMLAppletElement.h> > #include <webkitdom/WebKitDOMHTMLAppletElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLAppletElement* kit(WebCore::HTMLAppletElement*); > WebCore::HTMLAppletElement* core(WebKitDOMHTMLAppletElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLAppletElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElement.h >index 309c73ce6dc..3f550ed344b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLAreaElement_h >-#define WebKitDOMHTMLAreaElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -343,4 +342,3 @@ webkit_dom_html_area_element_set_hash(WebKitDOMHTMLAreaElement* self, const gcha > > G_END_DECLS > >-#endif /* WebKitDOMHTMLAreaElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElementPrivate.h >index 5449ae45a12..083360f1788 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLAreaElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLAreaElementPrivate_h >-#define WebKitDOMHTMLAreaElementPrivate_h >+#pragma once > > #include <WebCore/HTMLAreaElement.h> > #include <webkitdom/WebKitDOMHTMLAreaElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLAreaElement* kit(WebCore::HTMLAreaElement*); > WebCore::HTMLAreaElement* core(WebKitDOMHTMLAreaElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLAreaElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElement.h >index 2540277538c..6b8c49454a3 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLBRElement_h >-#define WebKitDOMHTMLBRElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_br_element_set_clear(WebKitDOMHTMLBRElement* self, const gchar* > > G_END_DECLS > >-#endif /* WebKitDOMHTMLBRElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElementPrivate.h >index 3df8d863c06..83238b3808d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBRElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLBRElementPrivate_h >-#define WebKitDOMHTMLBRElementPrivate_h >+#pragma once > > #include <WebCore/HTMLBRElement.h> > #include <webkitdom/WebKitDOMHTMLBRElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLBRElement* kit(WebCore::HTMLBRElement*); > WebCore::HTMLBRElement* core(WebKitDOMHTMLBRElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLBRElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElement.h >index 48f150bcde4..ef322c7121d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLBaseElement_h >-#define WebKitDOMHTMLBaseElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -94,4 +93,3 @@ webkit_dom_html_base_element_set_target(WebKitDOMHTMLBaseElement* self, const gc > > G_END_DECLS > >-#endif /* WebKitDOMHTMLBaseElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElementPrivate.h >index 6fc31984d32..90a16693b66 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBaseElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLBaseElementPrivate_h >-#define WebKitDOMHTMLBaseElementPrivate_h >+#pragma once > > #include <WebCore/HTMLBaseElement.h> > #include <webkitdom/WebKitDOMHTMLBaseElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLBaseElement* kit(WebCore::HTMLBaseElement*); > WebCore::HTMLBaseElement* core(WebKitDOMHTMLBaseElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLBaseElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElement.h >index 19f1520f423..6b10b457a7d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLBodyElement_h >-#define WebKitDOMHTMLBodyElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -182,4 +181,3 @@ webkit_dom_html_body_element_set_v_link(WebKitDOMHTMLBodyElement* self, const gc > > G_END_DECLS > >-#endif /* WebKitDOMHTMLBodyElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElementPrivate.h >index b31710b4793..f60b4604cf6 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLBodyElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLBodyElementPrivate_h >-#define WebKitDOMHTMLBodyElementPrivate_h >+#pragma once > > #include <WebCore/HTMLBodyElement.h> > #include <webkitdom/WebKitDOMHTMLBodyElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLBodyElement* kit(WebCore::HTMLBodyElement*); > WebCore::HTMLBodyElement* core(WebKitDOMHTMLBodyElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLBodyElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElement.h >index a7a2690cf77..f84aab642fa 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLButtonElement_h >-#define WebKitDOMHTMLButtonElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -182,4 +181,3 @@ webkit_dom_html_button_element_get_will_validate(WebKitDOMHTMLButtonElement* sel > > G_END_DECLS > >-#endif /* WebKitDOMHTMLButtonElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElementPrivate.h >index 8b79accca25..7fa4dcfd817 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLButtonElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLButtonElementPrivate_h >-#define WebKitDOMHTMLButtonElementPrivate_h >+#pragma once > > #include <WebCore/HTMLButtonElement.h> > #include <webkitdom/WebKitDOMHTMLButtonElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLButtonElement* kit(WebCore::HTMLButtonElement*); > WebCore::HTMLButtonElement* core(WebKitDOMHTMLButtonElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLButtonElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElement.h >index 60d567293e3..31becdca022 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLCanvasElement_h >-#define WebKitDOMHTMLCanvasElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -94,4 +93,3 @@ webkit_dom_html_canvas_element_set_height(WebKitDOMHTMLCanvasElement* self, glon > > G_END_DECLS > >-#endif /* WebKitDOMHTMLCanvasElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElementPrivate.h >index 745cf576413..8b1fa2ebea0 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCanvasElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLCanvasElementPrivate_h >-#define WebKitDOMHTMLCanvasElementPrivate_h >+#pragma once > > #include <WebCore/HTMLCanvasElement.h> > #include <webkitdom/WebKitDOMHTMLCanvasElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLCanvasElement* kit(WebCore::HTMLCanvasElement*); > WebCore::HTMLCanvasElement* core(WebKitDOMHTMLCanvasElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLCanvasElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollection.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollection.h >index 2c3b1528133..3c587b33d05 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollection.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollection.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLCollection_h >-#define WebKitDOMHTMLCollection_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -85,4 +84,3 @@ webkit_dom_html_collection_get_length(WebKitDOMHTMLCollection* self); > > G_END_DECLS > >-#endif /* WebKitDOMHTMLCollection_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollectionPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollectionPrivate.h >index a5c86598559..b80bc24eb5f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollectionPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLCollectionPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLCollectionPrivate_h >-#define WebKitDOMHTMLCollectionPrivate_h >+#pragma once > > #include <WebCore/HTMLCollection.h> > #include <webkitdom/WebKitDOMHTMLCollection.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLCollection* kit(WebCore::HTMLCollection*); > WebCore::HTMLCollection* core(WebKitDOMHTMLCollection*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLCollectionPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElement.h >index 2801792b99c..3ea4d9fc36f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLDListElement_h >-#define WebKitDOMHTMLDListElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_d_list_element_set_compact(WebKitDOMHTMLDListElement* self, gboo > > G_END_DECLS > >-#endif /* WebKitDOMHTMLDListElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElementPrivate.h >index 580bd9b432b..bf798dec8ca 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDListElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLDListElementPrivate_h >-#define WebKitDOMHTMLDListElementPrivate_h >+#pragma once > > #include <WebCore/HTMLDListElement.h> > #include <webkitdom/WebKitDOMHTMLDListElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLDListElement* kit(WebCore::HTMLDListElement*); > WebCore::HTMLDListElement* core(WebKitDOMHTMLDListElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLDListElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElement.h >index 997be24648a..daeaa8871b6 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLDirectoryElement_h >-#define WebKitDOMHTMLDirectoryElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_directory_element_set_compact(WebKitDOMHTMLDirectoryElement* sel > > G_END_DECLS > >-#endif /* WebKitDOMHTMLDirectoryElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElementPrivate.h >index f10e4442e47..a1aa19306ea 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDirectoryElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLDirectoryElementPrivate_h >-#define WebKitDOMHTMLDirectoryElementPrivate_h >+#pragma once > > #include <WebCore/HTMLDirectoryElement.h> > #include <webkitdom/WebKitDOMHTMLDirectoryElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLDirectoryElement* kit(WebCore::HTMLDirectoryElement*); > WebCore::HTMLDirectoryElement* core(WebKitDOMHTMLDirectoryElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLDirectoryElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElement.h >index 62143b9211d..88afbde2625 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLDivElement_h >-#define WebKitDOMHTMLDivElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_div_element_set_align(WebKitDOMHTMLDivElement* self, const gchar > > G_END_DECLS > >-#endif /* WebKitDOMHTMLDivElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElementPrivate.h >index dc41139ec2d..0e9f08b9210 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDivElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLDivElementPrivate_h >-#define WebKitDOMHTMLDivElementPrivate_h >+#pragma once > > #include <WebCore/HTMLDivElement.h> > #include <webkitdom/WebKitDOMHTMLDivElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLDivElement* kit(WebCore::HTMLDivElement*); > WebCore::HTMLDivElement* core(WebKitDOMHTMLDivElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLDivElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocument.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocument.h >index 94c2a72475b..52ae622ddb9 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocument.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocument.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLDocument_h >-#define WebKitDOMHTMLDocument_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMDocument.h> >@@ -244,4 +243,3 @@ webkit_dom_html_document_set_vlink_color(WebKitDOMHTMLDocument* self, const gcha > > G_END_DECLS > >-#endif /* WebKitDOMHTMLDocument_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocumentPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocumentPrivate.h >index 12d60100dd2..250a5fc5ece 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocumentPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLDocumentPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLDocumentPrivate_h >-#define WebKitDOMHTMLDocumentPrivate_h >+#pragma once > > #include <WebCore/HTMLDocument.h> > #include <webkitdom/WebKitDOMHTMLDocument.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLDocument* kit(WebCore::HTMLDocument*); > WebCore::HTMLDocument* core(WebKitDOMHTMLDocument*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLDocumentPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElement.h >index 3c385d16b78..f3f44f6612b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLElement_h >-#define WebKitDOMHTMLElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMElement.h> >@@ -375,4 +374,3 @@ webkit_dom_html_element_set_spellcheck(WebKitDOMHTMLElement* self, gboolean valu > > G_END_DECLS > >-#endif /* WebKitDOMHTMLElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElementPrivate.h >index 5f9d1c1c5e0..d0b11880a8d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLElementPrivate_h >-#define WebKitDOMHTMLElementPrivate_h >+#pragma once > > #include <WebCore/HTMLElement.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLElement* kit(WebCore::HTMLElement*); > WebCore::HTMLElement* core(WebKitDOMHTMLElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElementUnstable.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElementUnstable.h >index cf3b73ecf45..ecbbf3b9d7e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElementUnstable.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLElementUnstable.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLElementUnstable_h >-#define WebKitDOMHTMLElementUnstable_h >+#pragma once > > #ifdef WEBKIT_DOM_USE_UNSTABLE_API > #define __WEBKITDOM_H_INSIDE__ >@@ -26,4 +25,3 @@ > #undef __WEBKITDOM_H_INSIDE__ > #endif /* WEBKIT_DOM_USE_UNSTABLE_API */ > >-#endif /* WebKitDOMHTMLElementUnstable_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElement.h >index 6eafd57cff9..b349612dfa1 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLEmbedElement_h >-#define WebKitDOMHTMLEmbedElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -182,4 +181,3 @@ webkit_dom_html_embed_element_set_width(WebKitDOMHTMLEmbedElement* self, glong v > > G_END_DECLS > >-#endif /* WebKitDOMHTMLEmbedElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElementPrivate.h >index a9d657e4c4c..77ebdb06d92 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLEmbedElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLEmbedElementPrivate_h >-#define WebKitDOMHTMLEmbedElementPrivate_h >+#pragma once > > #include <WebCore/HTMLEmbedElement.h> > #include <webkitdom/WebKitDOMHTMLEmbedElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLEmbedElement* kit(WebCore::HTMLEmbedElement*); > WebCore::HTMLEmbedElement* core(WebKitDOMHTMLEmbedElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLEmbedElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElement.h >index 44aea644492..ff6a0deb77b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLFieldSetElement_h >-#define WebKitDOMHTMLFieldSetElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -61,4 +60,3 @@ webkit_dom_html_field_set_element_get_form(WebKitDOMHTMLFieldSetElement* self); > > G_END_DECLS > >-#endif /* WebKitDOMHTMLFieldSetElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElementPrivate.h >index 59f7740a4d6..07f829c923a 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFieldSetElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLFieldSetElementPrivate_h >-#define WebKitDOMHTMLFieldSetElementPrivate_h >+#pragma once > > #include <WebCore/HTMLFieldSetElement.h> > #include <webkitdom/WebKitDOMHTMLFieldSetElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLFieldSetElement* kit(WebCore::HTMLFieldSetElement*); > WebCore::HTMLFieldSetElement* core(WebKitDOMHTMLFieldSetElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLFieldSetElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElement.h >index 7829d6b3b53..2ecc67bee3c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLFontElement_h >-#define WebKitDOMHTMLFontElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -116,4 +115,3 @@ webkit_dom_html_font_element_set_size(WebKitDOMHTMLFontElement* self, const gcha > > G_END_DECLS > >-#endif /* WebKitDOMHTMLFontElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElementPrivate.h >index eaabd4863a5..5a83a6a1f06 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFontElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLFontElementPrivate_h >-#define WebKitDOMHTMLFontElementPrivate_h >+#pragma once > > #include <WebCore/HTMLFontElement.h> > #include <webkitdom/WebKitDOMHTMLFontElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLFontElement* kit(WebCore::HTMLFontElement*); > WebCore::HTMLFontElement* core(WebKitDOMHTMLFontElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLFontElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElement.h >index 5e64a3fcaf5..896f54cefd6 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLFormElement_h >-#define WebKitDOMHTMLFormElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -246,4 +245,3 @@ webkit_dom_html_form_element_get_length(WebKitDOMHTMLFormElement* self); > > G_END_DECLS > >-#endif /* WebKitDOMHTMLFormElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElementPrivate.h >index 82038dfc353..53dac43e5c9 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFormElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLFormElementPrivate_h >-#define WebKitDOMHTMLFormElementPrivate_h >+#pragma once > > #include <WebCore/HTMLFormElement.h> > #include <webkitdom/WebKitDOMHTMLFormElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLFormElement* kit(WebCore::HTMLFormElement*); > WebCore::HTMLFormElement* core(WebKitDOMHTMLFormElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLFormElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElement.h >index 0feff47222a..3d9215bb1bc 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLFrameElement_h >-#define WebKitDOMHTMLFrameElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -270,4 +269,3 @@ webkit_dom_html_frame_element_get_height(WebKitDOMHTMLFrameElement* self); > > G_END_DECLS > >-#endif /* WebKitDOMHTMLFrameElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElementPrivate.h >index f1635ee84ad..1a636b9cfe8 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLFrameElementPrivate_h >-#define WebKitDOMHTMLFrameElementPrivate_h >+#pragma once > > #include <WebCore/HTMLFrameElement.h> > #include <webkitdom/WebKitDOMHTMLFrameElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLFrameElement* kit(WebCore::HTMLFrameElement*); > WebCore::HTMLFrameElement* core(WebKitDOMHTMLFrameElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLFrameElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElement.h >index 25208f34a7e..9db09777167 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLFrameSetElement_h >-#define WebKitDOMHTMLFrameSetElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -94,4 +93,3 @@ webkit_dom_html_frame_set_element_set_rows(WebKitDOMHTMLFrameSetElement* self, c > > G_END_DECLS > >-#endif /* WebKitDOMHTMLFrameSetElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElementPrivate.h >index 280c6138fa6..b21a284237a 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameSetElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLFrameSetElementPrivate_h >-#define WebKitDOMHTMLFrameSetElementPrivate_h >+#pragma once > > #include <WebCore/HTMLFrameSetElement.h> > #include <webkitdom/WebKitDOMHTMLFrameSetElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLFrameSetElement* kit(WebCore::HTMLFrameSetElement*); > WebCore::HTMLFrameSetElement* core(WebKitDOMHTMLFrameSetElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLFrameSetElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElement.h >index f03d07edab1..b2a2bfcbfbd 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLHRElement_h >-#define WebKitDOMHTMLHRElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -138,4 +137,3 @@ webkit_dom_html_hr_element_set_width(WebKitDOMHTMLHRElement* self, const gchar* > > G_END_DECLS > >-#endif /* WebKitDOMHTMLHRElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElementPrivate.h >index dc12b3e7790..9a8630c6127 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHRElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLHRElementPrivate_h >-#define WebKitDOMHTMLHRElementPrivate_h >+#pragma once > > #include <WebCore/HTMLHRElement.h> > #include <webkitdom/WebKitDOMHTMLHRElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLHRElement* kit(WebCore::HTMLHRElement*); > WebCore::HTMLHRElement* core(WebKitDOMHTMLHRElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLHRElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElement.h >index 9fcdc4f2137..8e5266dc352 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLHeadElement_h >-#define WebKitDOMHTMLHeadElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_head_element_set_profile(WebKitDOMHTMLHeadElement* self, const g > > G_END_DECLS > >-#endif /* WebKitDOMHTMLHeadElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElementPrivate.h >index 4af7a76788d..9c29a1bbca6 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLHeadElementPrivate_h >-#define WebKitDOMHTMLHeadElementPrivate_h >+#pragma once > > #include <WebCore/HTMLHeadElement.h> > #include <webkitdom/WebKitDOMHTMLHeadElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLHeadElement* kit(WebCore::HTMLHeadElement*); > WebCore::HTMLHeadElement* core(WebKitDOMHTMLHeadElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLHeadElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElement.h >index c2b42d12ded..3e1d3557e67 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLHeadingElement_h >-#define WebKitDOMHTMLHeadingElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_heading_element_set_align(WebKitDOMHTMLHeadingElement* self, con > > G_END_DECLS > >-#endif /* WebKitDOMHTMLHeadingElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElementPrivate.h >index 797350bab95..23982eaf44e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadingElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLHeadingElementPrivate_h >-#define WebKitDOMHTMLHeadingElementPrivate_h >+#pragma once > > #include <WebCore/HTMLHeadingElement.h> > #include <webkitdom/WebKitDOMHTMLHeadingElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLHeadingElement* kit(WebCore::HTMLHeadingElement*); > WebCore::HTMLHeadingElement* core(WebKitDOMHTMLHeadingElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLHeadingElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElement.h >index 8c8eaf749c4..5cd4a678f8c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLHtmlElement_h >-#define WebKitDOMHTMLHtmlElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_html_element_set_version(WebKitDOMHTMLHtmlElement* self, const g > > G_END_DECLS > >-#endif /* WebKitDOMHTMLHtmlElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElementPrivate.h >index 300c6f10228..6c4cb473fa2 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHtmlElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLHtmlElementPrivate_h >-#define WebKitDOMHTMLHtmlElementPrivate_h >+#pragma once > > #include <WebCore/HTMLHtmlElement.h> > #include <webkitdom/WebKitDOMHTMLHtmlElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLHtmlElement* kit(WebCore::HTMLHtmlElement*); > WebCore::HTMLHtmlElement* core(WebKitDOMHTMLHtmlElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLHtmlElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElement.h >index 59f45df176c..a34d4d293b5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLIFrameElement_h >-#define WebKitDOMHTMLIFrameElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -292,4 +291,3 @@ webkit_dom_html_iframe_element_get_content_window(WebKitDOMHTMLIFrameElement* se > > G_END_DECLS > >-#endif /* WebKitDOMHTMLIFrameElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElementPrivate.h >index 2e45508ab79..94862fae6a7 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLIFrameElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLIFrameElementPrivate_h >-#define WebKitDOMHTMLIFrameElementPrivate_h >+#pragma once > > #include <WebCore/HTMLIFrameElement.h> > #include <webkitdom/WebKitDOMHTMLIFrameElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLIFrameElement* kit(WebCore::HTMLIFrameElement*); > WebCore::HTMLIFrameElement* core(WebKitDOMHTMLIFrameElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLIFrameElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElement.h >index bd4cb58fd19..331b8466675 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLImageElement_h >-#define WebKitDOMHTMLImageElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -391,4 +390,3 @@ webkit_dom_html_image_element_get_y(WebKitDOMHTMLImageElement* self); > > G_END_DECLS > >-#endif /* WebKitDOMHTMLImageElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElementPrivate.h >index e42fceebfb4..805f72dee09 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLImageElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLImageElementPrivate_h >-#define WebKitDOMHTMLImageElementPrivate_h >+#pragma once > > #include <WebCore/HTMLImageElement.h> > #include <webkitdom/WebKitDOMHTMLImageElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLImageElement* kit(WebCore::HTMLImageElement*); > WebCore::HTMLImageElement* core(WebKitDOMHTMLImageElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLImageElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElement.h >index 96aebb24db2..4307b3983d6 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLInputElement_h >-#define WebKitDOMHTMLInputElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -622,4 +621,3 @@ webkit_dom_html_input_element_set_editing_value(WebKitDOMHTMLInputElement* self, > > G_END_DECLS > >-#endif /* WebKitDOMHTMLInputElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElementPrivate.h >index 14e72974918..1d11fb9b64f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLInputElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLInputElementPrivate_h >-#define WebKitDOMHTMLInputElementPrivate_h >+#pragma once > > #include <WebCore/HTMLInputElement.h> > #include <webkitdom/WebKitDOMHTMLInputElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLInputElement* kit(WebCore::HTMLInputElement*); > WebCore::HTMLInputElement* core(WebKitDOMHTMLInputElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLInputElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElement.h >index 77b3d51ce53..a7504b6c0eb 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLLIElement_h >-#define WebKitDOMHTMLLIElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -94,4 +93,3 @@ webkit_dom_html_li_element_set_value(WebKitDOMHTMLLIElement* self, glong value); > > G_END_DECLS > >-#endif /* WebKitDOMHTMLLIElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElementPrivate.h >index f2536701a9c..35c22e8a45e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLIElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLLIElementPrivate_h >-#define WebKitDOMHTMLLIElementPrivate_h >+#pragma once > > #include <WebCore/HTMLLIElement.h> > #include <webkitdom/WebKitDOMHTMLLIElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLLIElement* kit(WebCore::HTMLLIElement*); > WebCore::HTMLLIElement* core(WebKitDOMHTMLLIElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLLIElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElement.h >index 6d3e51687ee..2fcd150b82b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLLabelElement_h >-#define WebKitDOMHTMLLabelElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -83,4 +82,3 @@ webkit_dom_html_label_element_set_html_for(WebKitDOMHTMLLabelElement* self, cons > > G_END_DECLS > >-#endif /* WebKitDOMHTMLLabelElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElementPrivate.h >index 94800575b7f..56d9843446d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLabelElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLLabelElementPrivate_h >-#define WebKitDOMHTMLLabelElementPrivate_h >+#pragma once > > #include <WebCore/HTMLLabelElement.h> > #include <webkitdom/WebKitDOMHTMLLabelElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLLabelElement* kit(WebCore::HTMLLabelElement*); > WebCore::HTMLLabelElement* core(WebKitDOMHTMLLabelElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLLabelElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElement.h >index 8266b06666f..6569109eb1a 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLLegendElement_h >-#define WebKitDOMHTMLLegendElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -83,4 +82,3 @@ webkit_dom_html_legend_element_set_align(WebKitDOMHTMLLegendElement* self, const > > G_END_DECLS > >-#endif /* WebKitDOMHTMLLegendElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElementPrivate.h >index 28b12653712..fa8c1e89fa0 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLegendElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLLegendElementPrivate_h >-#define WebKitDOMHTMLLegendElementPrivate_h >+#pragma once > > #include <WebCore/HTMLLegendElement.h> > #include <webkitdom/WebKitDOMHTMLLegendElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLLegendElement* kit(WebCore::HTMLLegendElement*); > WebCore::HTMLLegendElement* core(WebKitDOMHTMLLegendElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLLegendElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElement.h >index 75fc9b6a8cb..839730984bb 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLLinkElement_h >-#define WebKitDOMHTMLLinkElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -284,4 +283,3 @@ webkit_dom_html_link_element_set_sizes(WebKitDOMHTMLLinkElement* self, const gch > > G_END_DECLS > >-#endif /* WebKitDOMHTMLLinkElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElementPrivate.h >index 1c73d0f5348..d15b79b7478 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLLinkElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLLinkElementPrivate_h >-#define WebKitDOMHTMLLinkElementPrivate_h >+#pragma once > > #include <WebCore/HTMLLinkElement.h> > #include <webkitdom/WebKitDOMHTMLLinkElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLLinkElement* kit(WebCore::HTMLLinkElement*); > WebCore::HTMLLinkElement* core(WebKitDOMHTMLLinkElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLLinkElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElement.h >index deca138f273..ce5c043bffb 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLMapElement_h >-#define WebKitDOMHTMLMapElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -83,4 +82,3 @@ webkit_dom_html_map_element_set_name(WebKitDOMHTMLMapElement* self, const gchar* > > G_END_DECLS > >-#endif /* WebKitDOMHTMLMapElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElementPrivate.h >index 3fbcc4e36ba..dd72b408425 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMapElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLMapElementPrivate_h >-#define WebKitDOMHTMLMapElementPrivate_h >+#pragma once > > #include <WebCore/HTMLMapElement.h> > #include <webkitdom/WebKitDOMHTMLMapElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLMapElement* kit(WebCore::HTMLMapElement*); > WebCore::HTMLMapElement* core(WebKitDOMHTMLMapElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLMapElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElement.h >index c6f0a196f41..aee439a5ebe 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLMarqueeElement_h >-#define WebKitDOMHTMLMarqueeElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -70,4 +69,3 @@ webkit_dom_html_marquee_element_stop(WebKitDOMHTMLMarqueeElement* self); > > G_END_DECLS > >-#endif /* WebKitDOMHTMLMarqueeElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElementPrivate.h >index 50a405f3b7d..592fb55eef5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMarqueeElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLMarqueeElementPrivate_h >-#define WebKitDOMHTMLMarqueeElementPrivate_h >+#pragma once > > #include <WebCore/HTMLMarqueeElement.h> > #include <webkitdom/WebKitDOMHTMLMarqueeElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLMarqueeElement* kit(WebCore::HTMLMarqueeElement*); > WebCore::HTMLMarqueeElement* core(WebKitDOMHTMLMarqueeElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLMarqueeElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElement.h >index 2a46b585350..2c9c5bf05d6 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLMenuElement_h >-#define WebKitDOMHTMLMenuElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_menu_element_set_compact(WebKitDOMHTMLMenuElement* self, gboolea > > G_END_DECLS > >-#endif /* WebKitDOMHTMLMenuElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElementPrivate.h >index 43906f52ca6..b845410244d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMenuElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLMenuElementPrivate_h >-#define WebKitDOMHTMLMenuElementPrivate_h >+#pragma once > > #include <WebCore/HTMLMenuElement.h> > #include <webkitdom/WebKitDOMHTMLMenuElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLMenuElement* kit(WebCore::HTMLMenuElement*); > WebCore::HTMLMenuElement* core(WebKitDOMHTMLMenuElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLMenuElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElement.h >index dc8372cf1c1..94e7e41a934 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLMetaElement_h >-#define WebKitDOMHTMLMetaElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -138,4 +137,3 @@ webkit_dom_html_meta_element_set_scheme(WebKitDOMHTMLMetaElement* self, const gc > > G_END_DECLS > >-#endif /* WebKitDOMHTMLMetaElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElementPrivate.h >index fb4c31a79f9..c2dd193b2e3 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLMetaElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLMetaElementPrivate_h >-#define WebKitDOMHTMLMetaElementPrivate_h >+#pragma once > > #include <WebCore/HTMLMetaElement.h> > #include <webkitdom/WebKitDOMHTMLMetaElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLMetaElement* kit(WebCore::HTMLMetaElement*); > WebCore::HTMLMetaElement* core(WebKitDOMHTMLMetaElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLMetaElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElement.h >index 617f0d01d6e..7bbc78363d4 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLModElement_h >-#define WebKitDOMHTMLModElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -94,4 +93,3 @@ webkit_dom_html_mod_element_set_date_time(WebKitDOMHTMLModElement* self, const g > > G_END_DECLS > >-#endif /* WebKitDOMHTMLModElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElementPrivate.h >index dde83567dc3..9ffb4625ced 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLModElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLModElementPrivate_h >-#define WebKitDOMHTMLModElementPrivate_h >+#pragma once > > #include <WebCore/HTMLModElement.h> > #include <webkitdom/WebKitDOMHTMLModElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLModElement* kit(WebCore::HTMLModElement*); > WebCore::HTMLModElement* core(WebKitDOMHTMLModElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLModElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElement.h >index dee128f1029..b8b29da9840 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLOListElement_h >-#define WebKitDOMHTMLOListElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -116,4 +115,3 @@ webkit_dom_html_o_list_element_set_type_attr(WebKitDOMHTMLOListElement* self, co > > G_END_DECLS > >-#endif /* WebKitDOMHTMLOListElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElementPrivate.h >index 1a2eaf64959..a0efbf6be43 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOListElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLOListElementPrivate_h >-#define WebKitDOMHTMLOListElementPrivate_h >+#pragma once > > #include <WebCore/HTMLOListElement.h> > #include <webkitdom/WebKitDOMHTMLOListElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLOListElement* kit(WebCore::HTMLOListElement*); > WebCore::HTMLOListElement* core(WebKitDOMHTMLOListElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLOListElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.h >index 10cefa0d6fe..c84e1c4690c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLObjectElement_h >-#define WebKitDOMHTMLObjectElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -424,4 +423,3 @@ webkit_dom_html_object_element_get_content_document(WebKitDOMHTMLObjectElement* > > G_END_DECLS > >-#endif /* WebKitDOMHTMLObjectElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElementPrivate.h >index 588a4ffea73..21c1a2b8343 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLObjectElementPrivate_h >-#define WebKitDOMHTMLObjectElementPrivate_h >+#pragma once > > #include <WebCore/HTMLObjectElement.h> > #include <webkitdom/WebKitDOMHTMLObjectElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLObjectElement* kit(WebCore::HTMLObjectElement*); > WebCore::HTMLObjectElement* core(WebKitDOMHTMLObjectElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLObjectElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElement.h >index ee6756123f4..fca339cdbd4 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLOptGroupElement_h >-#define WebKitDOMHTMLOptGroupElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -94,4 +93,3 @@ webkit_dom_html_opt_group_element_set_label(WebKitDOMHTMLOptGroupElement* self, > > G_END_DECLS > >-#endif /* WebKitDOMHTMLOptGroupElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElementPrivate.h >index ef2cb619d74..cbde4247e72 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptGroupElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLOptGroupElementPrivate_h >-#define WebKitDOMHTMLOptGroupElementPrivate_h >+#pragma once > > #include <WebCore/HTMLOptGroupElement.h> > #include <webkitdom/WebKitDOMHTMLOptGroupElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLOptGroupElement* kit(WebCore::HTMLOptGroupElement*); > WebCore::HTMLOptGroupElement* core(WebKitDOMHTMLOptGroupElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLOptGroupElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElement.h >index 3e9fd877ab2..f757d6c827c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLOptionElement_h >-#define WebKitDOMHTMLOptionElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -193,4 +192,3 @@ webkit_dom_html_option_element_get_index(WebKitDOMHTMLOptionElement* self); > > G_END_DECLS > >-#endif /* WebKitDOMHTMLOptionElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElementPrivate.h >index 6205133b975..254e83604d5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLOptionElementPrivate_h >-#define WebKitDOMHTMLOptionElementPrivate_h >+#pragma once > > #include <WebCore/HTMLOptionElement.h> > #include <webkitdom/WebKitDOMHTMLOptionElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLOptionElement* kit(WebCore::HTMLOptionElement*); > WebCore::HTMLOptionElement* core(WebKitDOMHTMLOptionElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLOptionElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollection.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollection.h >index 00f0a83d41e..c14267ebe45 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollection.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollection.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLOptionsCollection_h >-#define WebKitDOMHTMLOptionsCollection_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLCollection.h> >@@ -95,4 +94,3 @@ webkit_dom_html_options_collection_get_length(WebKitDOMHTMLOptionsCollection* se > > G_END_DECLS > >-#endif /* WebKitDOMHTMLOptionsCollection_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollectionPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollectionPrivate.h >index 82c65e29fa2..191785914f0 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollectionPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLOptionsCollectionPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLOptionsCollectionPrivate_h >-#define WebKitDOMHTMLOptionsCollectionPrivate_h >+#pragma once > > #include <WebCore/HTMLOptionsCollection.h> > #include <webkitdom/WebKitDOMHTMLOptionsCollection.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLOptionsCollection* kit(WebCore::HTMLOptionsCollection*); > WebCore::HTMLOptionsCollection* core(WebKitDOMHTMLOptionsCollection*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLOptionsCollectionPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElement.h >index ad73c4518fc..7a73ec656bf 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLParagraphElement_h >-#define WebKitDOMHTMLParagraphElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_paragraph_element_set_align(WebKitDOMHTMLParagraphElement* self, > > G_END_DECLS > >-#endif /* WebKitDOMHTMLParagraphElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElementPrivate.h >index 8bff0db842f..2e804f52344 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParagraphElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLParagraphElementPrivate_h >-#define WebKitDOMHTMLParagraphElementPrivate_h >+#pragma once > > #include <WebCore/HTMLParagraphElement.h> > #include <webkitdom/WebKitDOMHTMLParagraphElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLParagraphElement* kit(WebCore::HTMLParagraphElement*); > WebCore::HTMLParagraphElement* core(WebKitDOMHTMLParagraphElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLParagraphElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElement.h >index 08f713bcee7..c395e8e08a6 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLParamElement_h >-#define WebKitDOMHTMLParamElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -138,4 +137,3 @@ webkit_dom_html_param_element_set_value_type(WebKitDOMHTMLParamElement* self, co > > G_END_DECLS > >-#endif /* WebKitDOMHTMLParamElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElementPrivate.h >index b0fc939cc28..2a60f0ca99b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLParamElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLParamElementPrivate_h >-#define WebKitDOMHTMLParamElementPrivate_h >+#pragma once > > #include <WebCore/HTMLParamElement.h> > #include <webkitdom/WebKitDOMHTMLParamElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLParamElement* kit(WebCore::HTMLParamElement*); > WebCore::HTMLParamElement* core(WebKitDOMHTMLParamElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLParamElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElement.h >index b0aca39285b..fd233099785 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLPreElement_h >-#define WebKitDOMHTMLPreElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -94,4 +93,3 @@ webkit_dom_html_pre_element_set_wrap(WebKitDOMHTMLPreElement* self, gboolean val > > G_END_DECLS > >-#endif /* WebKitDOMHTMLPreElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElementPrivate.h >index ec81962b5b1..93f20148ff9 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPreElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLPreElementPrivate_h >-#define WebKitDOMHTMLPreElementPrivate_h >+#pragma once > > #include <WebCore/HTMLPreElement.h> > #include <webkitdom/WebKitDOMHTMLPreElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLPreElement* kit(WebCore::HTMLPreElement*); > WebCore::HTMLPreElement* core(WebKitDOMHTMLPreElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLPreElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPrivate.h >index 8cbc5245b09..aae1acb41a5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLPrivate.h >@@ -23,8 +23,7 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebKitDOMHTMLPrivate_h >-#define WebKitDOMHTMLPrivate_h >+#pragma once > > #include <webkitdom/webkitdomdefines.h> > >@@ -36,4 +35,3 @@ namespace WebKit { > WebKitDOMHTMLElement* wrap(WebCore::HTMLElement*); > } > >-#endif // WebKitDOMHTMLPrivate_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElement.h >index d65e734efe2..78457d72ce7 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLQuoteElement_h >-#define WebKitDOMHTMLQuoteElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_quote_element_set_cite(WebKitDOMHTMLQuoteElement* self, const gc > > G_END_DECLS > >-#endif /* WebKitDOMHTMLQuoteElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElementPrivate.h >index e785c942d4f..fbccad7f55d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLQuoteElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLQuoteElementPrivate_h >-#define WebKitDOMHTMLQuoteElementPrivate_h >+#pragma once > > #include <WebCore/HTMLQuoteElement.h> > #include <webkitdom/WebKitDOMHTMLQuoteElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLQuoteElement* kit(WebCore::HTMLQuoteElement*); > WebCore::HTMLQuoteElement* core(WebKitDOMHTMLQuoteElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLQuoteElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElement.h >index 1a1119dc6cb..0a4b7e8c530 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLScriptElement_h >-#define WebKitDOMHTMLScriptElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -205,4 +204,3 @@ webkit_dom_html_script_element_set_type_attr(WebKitDOMHTMLScriptElement* self, c > > G_END_DECLS > >-#endif /* WebKitDOMHTMLScriptElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElementPrivate.h >index 83b7ba33999..3232ef50356 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLScriptElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLScriptElementPrivate_h >-#define WebKitDOMHTMLScriptElementPrivate_h >+#pragma once > > #include <WebCore/HTMLScriptElement.h> > #include <webkitdom/WebKitDOMHTMLScriptElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLScriptElement* kit(WebCore::HTMLScriptElement*); > WebCore::HTMLScriptElement* core(WebKitDOMHTMLScriptElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLScriptElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElement.h >index 092cdee26c6..bfd526e521d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLSelectElement_h >-#define WebKitDOMHTMLSelectElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -319,4 +318,3 @@ webkit_dom_html_select_element_get_will_validate(WebKitDOMHTMLSelectElement* sel > > G_END_DECLS > >-#endif /* WebKitDOMHTMLSelectElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElementPrivate.h >index 75fd05e3ca3..2501a73651b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLSelectElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLSelectElementPrivate_h >-#define WebKitDOMHTMLSelectElementPrivate_h >+#pragma once > > #include <WebCore/HTMLSelectElement.h> > #include <webkitdom/WebKitDOMHTMLSelectElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLSelectElement* kit(WebCore::HTMLSelectElement*); > WebCore::HTMLSelectElement* core(WebKitDOMHTMLSelectElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLSelectElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElement.h >index 2a7645f88d7..81219f4e773 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLStyleElement_h >-#define WebKitDOMHTMLStyleElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -127,4 +126,3 @@ webkit_dom_html_style_element_get_sheet(WebKitDOMHTMLStyleElement* self); > > G_END_DECLS > >-#endif /* WebKitDOMHTMLStyleElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElementPrivate.h >index 8efea4cab6a..1c491568260 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLStyleElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLStyleElementPrivate_h >-#define WebKitDOMHTMLStyleElementPrivate_h >+#pragma once > > #include <WebCore/HTMLStyleElement.h> > #include <webkitdom/WebKitDOMHTMLStyleElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLStyleElement* kit(WebCore::HTMLStyleElement*); > WebCore::HTMLStyleElement* core(WebKitDOMHTMLStyleElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLStyleElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElement.h >index c297463986d..af5f4357cea 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLTableCaptionElement_h >-#define WebKitDOMHTMLTableCaptionElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_table_caption_element_set_align(WebKitDOMHTMLTableCaptionElement > > G_END_DECLS > >-#endif /* WebKitDOMHTMLTableCaptionElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElementPrivate.h >index 2bd64ba1293..05718025e8c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCaptionElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLTableCaptionElementPrivate_h >-#define WebKitDOMHTMLTableCaptionElementPrivate_h >+#pragma once > > #include <WebCore/HTMLTableCaptionElement.h> > #include <webkitdom/WebKitDOMHTMLTableCaptionElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLTableCaptionElement* kit(WebCore::HTMLTableCaptionElement*); > WebCore::HTMLTableCaptionElement* core(WebKitDOMHTMLTableCaptionElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLTableCaptionElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElement.h >index def75c657d0..eb9302b56f0 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLTableCellElement_h >-#define WebKitDOMHTMLTableCellElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -369,4 +368,3 @@ webkit_dom_html_table_cell_element_set_scope(WebKitDOMHTMLTableCellElement* self > > G_END_DECLS > >-#endif /* WebKitDOMHTMLTableCellElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElementPrivate.h >index cdab24e4155..6a73991dfe3 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableCellElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLTableCellElementPrivate_h >-#define WebKitDOMHTMLTableCellElementPrivate_h >+#pragma once > > #include <WebCore/HTMLTableCellElement.h> > #include <webkitdom/WebKitDOMHTMLTableCellElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLTableCellElement* kit(WebCore::HTMLTableCellElement*); > WebCore::HTMLTableCellElement* core(WebKitDOMHTMLTableCellElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLTableCellElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.h >index 72a240f1364..1a69a4c4bdb 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLTableColElement_h >-#define WebKitDOMHTMLTableColElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -182,4 +181,3 @@ webkit_dom_html_table_col_element_set_width(WebKitDOMHTMLTableColElement* self, > > G_END_DECLS > >-#endif /* WebKitDOMHTMLTableColElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElementPrivate.h >index e0a3cf84739..8214efe4419 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLTableColElementPrivate_h >-#define WebKitDOMHTMLTableColElementPrivate_h >+#pragma once > > #include <WebCore/HTMLTableColElement.h> > #include <webkitdom/WebKitDOMHTMLTableColElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLTableColElement* kit(WebCore::HTMLTableColElement*); > WebCore::HTMLTableColElement* core(WebKitDOMHTMLTableColElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLTableColElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElement.h >index fa78bfe3779..ac4ccbca6e0 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLTableElement_h >-#define WebKitDOMHTMLTableElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -405,4 +404,3 @@ webkit_dom_html_table_element_set_width(WebKitDOMHTMLTableElement* self, const g > > G_END_DECLS > >-#endif /* WebKitDOMHTMLTableElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElementPrivate.h >index 4088dd53c4b..f294286b669 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLTableElementPrivate_h >-#define WebKitDOMHTMLTableElementPrivate_h >+#pragma once > > #include <WebCore/HTMLTableElement.h> > #include <webkitdom/WebKitDOMHTMLTableElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLTableElement* kit(WebCore::HTMLTableElement*); > WebCore::HTMLTableElement* core(WebKitDOMHTMLTableElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLTableElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElement.h >index 92ec1e5b50d..f1d14144d09 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLTableRowElement_h >-#define WebKitDOMHTMLTableRowElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -218,4 +217,3 @@ webkit_dom_html_table_row_element_set_v_align(WebKitDOMHTMLTableRowElement* self > > G_END_DECLS > >-#endif /* WebKitDOMHTMLTableRowElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElementPrivate.h >index d3f43124d45..1981a5ca11f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableRowElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLTableRowElementPrivate_h >-#define WebKitDOMHTMLTableRowElementPrivate_h >+#pragma once > > #include <WebCore/HTMLTableRowElement.h> > #include <webkitdom/WebKitDOMHTMLTableRowElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLTableRowElement* kit(WebCore::HTMLTableRowElement*); > WebCore::HTMLTableRowElement* core(WebKitDOMHTMLTableRowElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLTableRowElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElement.h >index 692e0842171..92e568a6bf7 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLTableSectionElement_h >-#define WebKitDOMHTMLTableSectionElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -174,4 +173,3 @@ webkit_dom_html_table_section_element_get_rows(WebKitDOMHTMLTableSectionElement* > > G_END_DECLS > >-#endif /* WebKitDOMHTMLTableSectionElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElementPrivate.h >index 09f67ea4f66..9b000810635 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLTableSectionElementPrivate_h >-#define WebKitDOMHTMLTableSectionElementPrivate_h >+#pragma once > > #include <WebCore/HTMLTableSectionElement.h> > #include <webkitdom/WebKitDOMHTMLTableSectionElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLTableSectionElement* kit(WebCore::HTMLTableSectionElement*); > WebCore::HTMLTableSectionElement* core(WebKitDOMHTMLTableSectionElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLTableSectionElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElement.h >index 0e9dc15cb66..c4a818a1165 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLTextAreaElement_h >-#define WebKitDOMHTMLTextAreaElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -336,4 +335,3 @@ WEBKIT_DEPRECATED gboolean webkit_dom_html_text_area_element_is_edited(WebKitDOM > > G_END_DECLS > >-#endif /* WebKitDOMHTMLTextAreaElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElementPrivate.h >index c3f1ebccd62..93c9fed8b60 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTextAreaElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLTextAreaElementPrivate_h >-#define WebKitDOMHTMLTextAreaElementPrivate_h >+#pragma once > > #include <WebCore/HTMLTextAreaElement.h> > #include <webkitdom/WebKitDOMHTMLTextAreaElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLTextAreaElement* kit(WebCore::HTMLTextAreaElement*); > WebCore::HTMLTextAreaElement* core(WebKitDOMHTMLTextAreaElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLTextAreaElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElement.h >index 8581cc16844..2be0bb7f0db 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLTitleElement_h >-#define WebKitDOMHTMLTitleElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -72,4 +71,3 @@ webkit_dom_html_title_element_set_text(WebKitDOMHTMLTitleElement* self, const gc > > G_END_DECLS > >-#endif /* WebKitDOMHTMLTitleElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElementPrivate.h >index 7e5281f9724..178bbdc2d7a 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTitleElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLTitleElementPrivate_h >-#define WebKitDOMHTMLTitleElementPrivate_h >+#pragma once > > #include <WebCore/HTMLTitleElement.h> > #include <webkitdom/WebKitDOMHTMLTitleElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLTitleElement* kit(WebCore::HTMLTitleElement*); > WebCore::HTMLTitleElement* core(WebKitDOMHTMLTitleElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLTitleElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElement.h >index 8c84a2eac97..4718cd274ee 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElement.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMHTMLUListElement_h >-#define WebKitDOMHTMLUListElement_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMHTMLElement.h> >@@ -94,4 +93,3 @@ webkit_dom_html_u_list_element_set_type_attr(WebKitDOMHTMLUListElement* self, co > > G_END_DECLS > >-#endif /* WebKitDOMHTMLUListElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElementPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElementPrivate.h >index bf689521f31..f71b23cdef1 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElementPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLUListElementPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMHTMLUListElementPrivate_h >-#define WebKitDOMHTMLUListElementPrivate_h >+#pragma once > > #include <WebCore/HTMLUListElement.h> > #include <webkitdom/WebKitDOMHTMLUListElement.h> >@@ -29,4 +28,3 @@ WebKitDOMHTMLUListElement* kit(WebCore::HTMLUListElement*); > WebCore::HTMLUListElement* core(WebKitDOMHTMLUListElement*); > } // namespace WebKit > >-#endif /* WebKitDOMHTMLUListElementPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEvent.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEvent.h >index 1c5eda85ea4..fc771880ff3 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEvent.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEvent.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMKeyboardEvent_h >-#define WebKitDOMKeyboardEvent_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMUIEvent.h> >@@ -192,4 +191,3 @@ webkit_dom_keyboard_event_get_alt_graph_key(WebKitDOMKeyboardEvent* self); > > G_END_DECLS > >-#endif /* WebKitDOMKeyboardEvent_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEventPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEventPrivate.h >index 6f6fc16e520..528e362b6ee 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEventPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMKeyboardEventPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMKeyboardEventPrivate_h >-#define WebKitDOMKeyboardEventPrivate_h >+#pragma once > > #include <WebCore/KeyboardEvent.h> > #include <webkitdom/WebKitDOMKeyboardEvent.h> >@@ -29,4 +28,3 @@ WebKitDOMKeyboardEvent* kit(WebCore::KeyboardEvent*); > WebCore::KeyboardEvent* core(WebKitDOMKeyboardEvent*); > } // namespace WebKit > >-#endif /* WebKitDOMKeyboardEventPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaList.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaList.h >index 4337979a001..7e065da4c3d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaList.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaList.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMMediaList_h >-#define WebKitDOMMediaList_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -120,4 +119,3 @@ webkit_dom_media_list_get_length(WebKitDOMMediaList* self); > > G_END_DECLS > >-#endif /* WebKitDOMMediaList_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaListPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaListPrivate.h >index d26579181b8..6b927807795 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaListPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMediaListPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMMediaListPrivate_h >-#define WebKitDOMMediaListPrivate_h >+#pragma once > > #include <WebCore/MediaList.h> > #include <webkitdom/WebKitDOMMediaList.h> >@@ -29,4 +28,3 @@ WebKitDOMMediaList* kit(WebCore::MediaList*); > WebCore::MediaList* core(WebKitDOMMediaList*); > } // namespace WebKit > >-#endif /* WebKitDOMMediaListPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEvent.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEvent.h >index fd4a8602c2b..683cea785b0 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEvent.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEvent.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMMouseEvent_h >-#define WebKitDOMMouseEvent_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMUIEvent.h> >@@ -251,4 +250,3 @@ webkit_dom_mouse_event_get_to_element(WebKitDOMMouseEvent* self); > > G_END_DECLS > >-#endif /* WebKitDOMMouseEvent_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEventPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEventPrivate.h >index e4ac9210ee5..96a463d5ff2 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEventPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMMouseEventPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMMouseEventPrivate_h >-#define WebKitDOMMouseEventPrivate_h >+#pragma once > > #include <WebCore/MouseEvent.h> > #include <webkitdom/WebKitDOMMouseEvent.h> >@@ -29,4 +28,3 @@ WebKitDOMMouseEvent* kit(WebCore::MouseEvent*); > WebCore::MouseEvent* core(WebKitDOMMouseEvent*); > } // namespace WebKit > >-#endif /* WebKitDOMMouseEventPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMap.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMap.h >index 3af41252ca9..bddd60dc378 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMap.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMap.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMNamedNodeMap_h >-#define WebKitDOMNamedNodeMap_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -151,4 +150,3 @@ webkit_dom_named_node_map_get_length(WebKitDOMNamedNodeMap* self); > > G_END_DECLS > >-#endif /* WebKitDOMNamedNodeMap_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMapPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMapPrivate.h >index 0975cd36051..f7fa65d6780 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMapPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNamedNodeMapPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMNamedNodeMapPrivate_h >-#define WebKitDOMNamedNodeMapPrivate_h >+#pragma once > > #include <WebCore/NamedNodeMap.h> > #include <webkitdom/WebKitDOMNamedNodeMap.h> >@@ -29,4 +28,3 @@ WebKitDOMNamedNodeMap* kit(WebCore::NamedNodeMap*); > WebCore::NamedNodeMap* core(WebKitDOMNamedNodeMap*); > } // namespace WebKit > >-#endif /* WebKitDOMNamedNodeMapPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNode.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNode.h >index 486ae9b8c4e..ff7e9909e17 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNode.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNode.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMNode_h >-#define WebKitDOMNode_h >+#pragma once > > #include <glib-object.h> > #include <jsc/jsc.h> >@@ -531,4 +530,3 @@ webkit_dom_node_for_js_value(JSCValue* value); > > G_END_DECLS > >-#endif /* WebKitDOMNode_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilter.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilter.h >index e26005035a5..3c74a736131 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilter.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilter.h >@@ -16,8 +16,7 @@ > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > */ > >-#ifndef WebKitDOMNodeFilter_h >-#define WebKitDOMNodeFilter_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/webkitdomdefines.h> >@@ -245,4 +244,3 @@ WEBKIT_DEPRECATED gshort webkit_dom_node_filter_accept_node(WebKitDOMNodeFilter > > G_END_DECLS > >-#endif /* WebKitDOMNodeFilter_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilterPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilterPrivate.h >index 791f40ee479..7b294876f56 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilterPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeFilterPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMNodeFilterPrivate_h >-#define WebKitDOMNodeFilterPrivate_h >+#pragma once > > #include <webkitdom/WebKitDOMNodeFilter.h> > >@@ -32,4 +31,3 @@ WebKitDOMNodeFilter* kit(WebCore::NodeFilter*); > RefPtr<WebCore::NodeFilter> core(WebCore::Document*, WebKitDOMNodeFilter*); > } // namespace WebKit > >-#endif /* WebKitDOMNodeFilterPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIterator.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIterator.h >index dd4d6537b3c..0b885e52b2d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIterator.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIterator.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMNodeIterator_h >-#define WebKitDOMNodeIterator_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -139,4 +138,3 @@ webkit_dom_node_iterator_get_pointer_before_reference_node(WebKitDOMNodeIterator > > G_END_DECLS > >-#endif /* WebKitDOMNodeIterator_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIteratorPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIteratorPrivate.h >index e9ca6f10452..c07b1106eee 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIteratorPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeIteratorPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMNodeIteratorPrivate_h >-#define WebKitDOMNodeIteratorPrivate_h >+#pragma once > > #include <WebCore/NodeIterator.h> > #include <webkitdom/WebKitDOMNodeIterator.h> >@@ -29,4 +28,3 @@ WebKitDOMNodeIterator* kit(WebCore::NodeIterator*); > WebCore::NodeIterator* core(WebKitDOMNodeIterator*); > } // namespace WebKit > >-#endif /* WebKitDOMNodeIteratorPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeList.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeList.h >index 4175f387e79..61d1d765c4e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeList.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeList.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMNodeList_h >-#define WebKitDOMNodeList_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -73,4 +72,3 @@ webkit_dom_node_list_get_length(WebKitDOMNodeList* self); > > G_END_DECLS > >-#endif /* WebKitDOMNodeList_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeListPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeListPrivate.h >index cde61699249..3093f32e969 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeListPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMNodeListPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMNodeListPrivate_h >-#define WebKitDOMNodeListPrivate_h >+#pragma once > > #include <WebCore/NodeList.h> > #include <webkitdom/WebKitDOMNodeList.h> >@@ -29,4 +28,3 @@ WebKitDOMNodeList* kit(WebCore::NodeList*); > WebCore::NodeList* core(WebKitDOMNodeList*); > } // namespace WebKit > >-#endif /* WebKitDOMNodeListPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMObject.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMObject.h >index f7fbc9338b8..c114d219a5e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMObject.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMObject.h >@@ -21,8 +21,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMObject_h >-#define WebKitDOMObject_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/webkitdomdefines.h> >@@ -51,4 +50,3 @@ webkit_dom_object_get_type(void); > > G_END_DECLS > >-#endif /* WebKitDOMObject_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstruction.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstruction.h >index 1f674f458ca..627a08609f5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstruction.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstruction.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMProcessingInstruction_h >-#define WebKitDOMProcessingInstruction_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMCharacterData.h> >@@ -72,4 +71,3 @@ webkit_dom_processing_instruction_get_sheet(WebKitDOMProcessingInstruction* self > > G_END_DECLS > >-#endif /* WebKitDOMProcessingInstruction_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstructionPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstructionPrivate.h >index be80733ba66..981fc65a1c3 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstructionPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMProcessingInstructionPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMProcessingInstructionPrivate_h >-#define WebKitDOMProcessingInstructionPrivate_h >+#pragma once > > #include <WebCore/ProcessingInstruction.h> > #include <webkitdom/WebKitDOMProcessingInstruction.h> >@@ -29,4 +28,3 @@ WebKitDOMProcessingInstruction* kit(WebCore::ProcessingInstruction*); > WebCore::ProcessingInstruction* core(WebKitDOMProcessingInstruction*); > } // namespace WebKit > >-#endif /* WebKitDOMProcessingInstructionPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRange.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRange.h >index 7b1fae0daea..02f80db3c97 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRange.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRange.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMRange_h >-#define WebKitDOMRange_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -491,4 +490,3 @@ webkit_dom_range_expand(WebKitDOMRange* self, const gchar* unit, GError** error) > > G_END_DECLS > >-#endif /* WebKitDOMRange_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRangePrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRangePrivate.h >index b1774c0c7dd..19f62bcd352 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRangePrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRangePrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMRangePrivate_h >-#define WebKitDOMRangePrivate_h >+#pragma once > > #include <WebCore/Range.h> > #include <webkitdom/WebKitDOMRange.h> >@@ -29,4 +28,3 @@ WebKitDOMRange* kit(WebCore::Range*); > WebCore::Range* core(WebKitDOMRange*); > } // namespace WebKit > >-#endif /* WebKitDOMRangePrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRangeUnstable.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRangeUnstable.h >index 26e6d2923ff..4ba989dbd70 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRangeUnstable.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMRangeUnstable.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMRangeUnstable_h >-#define WebKitDOMRangeUnstable_h >+#pragma once > > #ifdef WEBKIT_DOM_USE_UNSTABLE_API > #define __WEBKITDOM_H_INSIDE__ >@@ -26,4 +25,3 @@ > #undef __WEBKITDOM_H_INSIDE__ > #endif /* WEBKIT_DOM_USE_UNSTABLE_API */ > >-#endif /* WebKitDOMRangeUnstable_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheet.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheet.h >index d6d204230b1..d8a940dfc21 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheet.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheet.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMStyleSheet_h >-#define WebKitDOMStyleSheet_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -138,4 +137,3 @@ webkit_dom_style_sheet_get_media(WebKitDOMStyleSheet* self); > > G_END_DECLS > >-#endif /* WebKitDOMStyleSheet_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetList.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetList.h >index d640475c071..f2f918d79fa 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetList.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetList.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMStyleSheetList_h >-#define WebKitDOMStyleSheetList_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -73,4 +72,3 @@ webkit_dom_style_sheet_list_get_length(WebKitDOMStyleSheetList* self); > > G_END_DECLS > >-#endif /* WebKitDOMStyleSheetList_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetListPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetListPrivate.h >index 70d528b303d..0022d6a75ee 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetListPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetListPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMStyleSheetListPrivate_h >-#define WebKitDOMStyleSheetListPrivate_h >+#pragma once > > #include <WebCore/StyleSheetList.h> > #include <webkitdom/WebKitDOMStyleSheetList.h> >@@ -29,4 +28,3 @@ WebKitDOMStyleSheetList* kit(WebCore::StyleSheetList*); > WebCore::StyleSheetList* core(WebKitDOMStyleSheetList*); > } // namespace WebKit > >-#endif /* WebKitDOMStyleSheetListPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetPrivate.h >index 9cfe764de58..2decfa3144c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMStyleSheetPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMStyleSheetPrivate_h >-#define WebKitDOMStyleSheetPrivate_h >+#pragma once > > #include <WebCore/StyleSheet.h> > #include <webkitdom/WebKitDOMStyleSheet.h> >@@ -29,4 +28,3 @@ WebKitDOMStyleSheet* kit(WebCore::StyleSheet*); > WebCore::StyleSheet* core(WebKitDOMStyleSheet*); > } // namespace WebKit > >-#endif /* WebKitDOMStyleSheetPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMText.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMText.h >index 55f9f49ddc8..eb627d04dc9 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMText.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMText.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMText_h >-#define WebKitDOMText_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMCharacterData.h> >@@ -74,4 +73,3 @@ webkit_dom_text_get_whole_text(WebKitDOMText* self); > > G_END_DECLS > >-#endif /* WebKitDOMText_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTextPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTextPrivate.h >index 5b3e129b62e..c6f5b90622f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTextPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTextPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMTextPrivate_h >-#define WebKitDOMTextPrivate_h >+#pragma once > > #include <WebCore/Text.h> > #include <webkitdom/WebKitDOMText.h> >@@ -29,4 +28,3 @@ WebKitDOMText* kit(WebCore::Text*); > WebCore::Text* core(WebKitDOMText*); > } // namespace WebKit > >-#endif /* WebKitDOMTextPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalker.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalker.h >index 05708d7fc73..6060fcdb577 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalker.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalker.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMTreeWalker_h >-#define WebKitDOMTreeWalker_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -183,4 +182,3 @@ webkit_dom_tree_walker_set_current_node(WebKitDOMTreeWalker* self, WebKitDOMNode > > G_END_DECLS > >-#endif /* WebKitDOMTreeWalker_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalkerPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalkerPrivate.h >index 6a17b26c8fb..a1dc6c63529 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalkerPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalkerPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMTreeWalkerPrivate_h >-#define WebKitDOMTreeWalkerPrivate_h >+#pragma once > > #include <WebCore/TreeWalker.h> > #include <webkitdom/WebKitDOMTreeWalker.h> >@@ -29,4 +28,3 @@ WebKitDOMTreeWalker* kit(WebCore::TreeWalker*); > WebCore::TreeWalker* core(WebKitDOMTreeWalker*); > } // namespace WebKit > >-#endif /* WebKitDOMTreeWalkerPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEvent.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEvent.h >index 7d98ce18db2..f83c93ad458 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEvent.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEvent.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMUIEvent_h >-#define WebKitDOMUIEvent_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMEvent.h> >@@ -153,4 +152,3 @@ webkit_dom_ui_event_get_page_y(WebKitDOMUIEvent* self); > > G_END_DECLS > >-#endif /* WebKitDOMUIEvent_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEventPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEventPrivate.h >index 87bed760f79..1eea302650a 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEventPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEventPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMUIEventPrivate_h >-#define WebKitDOMUIEventPrivate_h >+#pragma once > > #include <WebCore/UIEvent.h> > #include <webkitdom/WebKitDOMUIEvent.h> >@@ -29,4 +28,3 @@ WebKitDOMUIEvent* kit(WebCore::UIEvent*); > WebCore::UIEvent* core(WebKitDOMUIEvent*); > } // namespace WebKit > >-#endif /* WebKitDOMUIEventPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEvent.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEvent.h >index 12852f53ea3..494ee1f001a 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEvent.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEvent.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMWheelEvent_h >-#define WebKitDOMWheelEvent_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMMouseEvent.h> >@@ -104,4 +103,3 @@ webkit_dom_wheel_event_get_wheel_delta(WebKitDOMWheelEvent* self); > > G_END_DECLS > >-#endif /* WebKitDOMWheelEvent_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEventPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEventPrivate.h >index 06f01ee6396..5970279baf5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEventPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMWheelEventPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMWheelEventPrivate_h >-#define WebKitDOMWheelEventPrivate_h >+#pragma once > > #include <WebCore/WheelEvent.h> > #include <webkitdom/WebKitDOMWheelEvent.h> >@@ -29,4 +28,3 @@ WebKitDOMWheelEvent* kit(WebCore::WheelEvent*); > WebCore::WheelEvent* core(WebKitDOMWheelEvent*); > } // namespace WebKit > >-#endif /* WebKitDOMWheelEventPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpression.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpression.h >index b1c90756279..d3623f2bff9 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpression.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpression.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMXPathExpression_h >-#define WebKitDOMXPathExpression_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -65,4 +64,3 @@ webkit_dom_xpath_expression_evaluate(WebKitDOMXPathExpression* self, WebKitDOMNo > > G_END_DECLS > >-#endif /* WebKitDOMXPathExpression_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpressionPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpressionPrivate.h >index 8c1c97c65b5..2603089c778 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpressionPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathExpressionPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMXPathExpressionPrivate_h >-#define WebKitDOMXPathExpressionPrivate_h >+#pragma once > > #include <WebCore/XPathExpression.h> > #include <webkitdom/WebKitDOMXPathExpression.h> >@@ -29,4 +28,3 @@ WebKitDOMXPathExpression* kit(WebCore::XPathExpression*); > WebCore::XPathExpression* core(WebKitDOMXPathExpression*); > } // namespace WebKit > >-#endif /* WebKitDOMXPathExpressionPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolver.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolver.h >index 1f27b92b091..eb2c98bf23b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolver.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolver.h >@@ -16,8 +16,7 @@ > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > */ > >-#ifndef WebKitDOMXPathNSResolver_h >-#define WebKitDOMXPathNSResolver_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/webkitdomdefines.h> >@@ -60,4 +59,3 @@ WEBKIT_DEPRECATED gchar *webkit_dom_xpath_ns_resolver_lookup_namespace_uri(WebKi > > G_END_DECLS > >-#endif /* WebKitDOMXPathNSResolver_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolverPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolverPrivate.h >index 1e298a2e7a4..78286aaa331 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolverPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathNSResolverPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMXPathNSResolverPrivate_h >-#define WebKitDOMXPathNSResolverPrivate_h >+#pragma once > > #include <WebCore/XPathNSResolver.h> > #include <webkitdom/WebKitDOMXPathNSResolver.h> >@@ -39,4 +38,3 @@ WebKitDOMXPathNSResolver* kit(WebCore::XPathNSResolver*); > WebCore::XPathNSResolver* core(WebKitDOMNativeXPathNSResolver*); > } // namespace WebKit > >-#endif /* WebKitDOMXPathNSResolverPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResult.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResult.h >index d5a6ec7963a..b954205cc93 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResult.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResult.h >@@ -21,8 +21,7 @@ > #error "Only <webkitdom/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMXPathResult_h >-#define WebKitDOMXPathResult_h >+#pragma once > > #include <glib-object.h> > #include <webkitdom/WebKitDOMObject.h> >@@ -231,4 +230,3 @@ webkit_dom_xpath_result_get_snapshot_length(WebKitDOMXPathResult* self, GError** > > G_END_DECLS > >-#endif /* WebKitDOMXPathResult_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResultPrivate.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResultPrivate.h >index f72b5ae2607..12594f535c5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResultPrivate.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMXPathResultPrivate.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitDOMXPathResultPrivate_h >-#define WebKitDOMXPathResultPrivate_h >+#pragma once > > #include <WebCore/XPathResult.h> > #include <webkitdom/WebKitDOMXPathResult.h> >@@ -29,4 +28,3 @@ WebKitDOMXPathResult* kit(WebCore::XPathResult*); > WebCore::XPathResult* core(WebKitDOMXPathResult*); > } // namespace WebKit > >-#endif /* WebKitDOMXPathResultPrivate_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdom.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdom.h >index 68f564f0cec..14a37f080b4 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdom.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdom.h >@@ -16,8 +16,7 @@ > Boston, MA 02110-1301, USA. > */ > >-#ifndef webkitdom_h >-#define webkitdom_h >+#pragma once > > #define __WEBKITDOM_H_INSIDE__ > >@@ -127,4 +126,3 @@ > > #undef __WEBKITDOM_H_INSIDE__ > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomautocleanups.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomautocleanups.h >index c8be7b07d14..5097a512164 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomautocleanups.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomautocleanups.h >@@ -16,8 +16,7 @@ > Boston, MA 02110-1301, USA. > */ > >-#ifndef webkitdomautocleanups_h >-#define webkitdomautocleanups_h >+#pragma once > > #include <glib-object.h> > >@@ -127,4 +126,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMXPathResult, g_object_unref) > #endif > #endif > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomdefines.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomdefines.h >index f2e71c50491..9f27977e28f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomdefines.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/webkitdomdefines.h >@@ -16,8 +16,7 @@ > Boston, MA 02110-1301, USA. > */ > >-#ifndef webkitdomdefines_h >-#define webkitdomdefines_h >+#pragma once > > #include <glib.h> > >@@ -342,4 +341,3 @@ typedef struct _WebKitDOMXPathResultClass WebKitDOMXPathResultClass; > > #include <webkitdom/webkitdomautocleanups.h> > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitConsoleMessage.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitConsoleMessage.h >index cbfbcdf3187..46d7ad49237 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitConsoleMessage.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitConsoleMessage.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitConsoleMessage_h >-#define WebKitConsoleMessage_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -99,4 +98,3 @@ webkit_console_message_get_source_id (WebKitConsoleMessage *console_message); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h >index a310060a382..a1bcdd63d60 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitFrame_h >-#define WebKitFrame_h >+#pragma once > > #include <JavaScriptCore/JSBase.h> > #include <glib-object.h> >@@ -88,4 +87,3 @@ webkit_frame_get_js_value_for_dom_object_in_script_world (WebKitFrame *fra > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitScriptWorld.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitScriptWorld.h >index cb0673e1dc3..0f74863b597 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitScriptWorld.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitScriptWorld.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitScriptWorld_h >-#define WebKitScriptWorld_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -66,4 +65,3 @@ webkit_script_world_new (void); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebEditor.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebEditor.h >index 0cfe9f0082a..8d30a7b51fe 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebEditor.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebEditor.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitWebEditor_h >-#define WebKitWebEditor_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -62,4 +61,3 @@ webkit_web_editor_get_page (WebKitWebEditor *editor); > > G_END_DECLS > >-#endif // WebKitWebEditor_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.h >index 34136a37d25..a97a34c18d0 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitWebExtension_h >-#define WebKitWebExtension_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -84,4 +83,3 @@ webkit_web_extension_get_page (WebKitWebExtension *extension, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h >index d2729109c92..5b5e75a5e4f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h >@@ -27,8 +27,7 @@ > #error "Only <webkit2/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitWebExtensionAutocleanups_h >-#define WebKitWebExtensionAutocleanups_h >+#pragma once > > #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC > #ifndef __GI_SCANNER__ >@@ -43,4 +42,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitWebPage, g_object_unref) > #endif // __GI_SCANNER__ > #endif // G_DEFINE_AUTOPTR_CLEANUP_FUNC > >-#endif // WebKitWebExtensionAutocleanups_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebHitTestResult.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebHitTestResult.h >index 8ce847d8761..d315cbcfc7e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebHitTestResult.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebHitTestResult.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitWebHitTestResult_h >-#define WebKitWebHitTestResult_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -65,4 +64,3 @@ webkit_web_hit_test_result_get_node (WebKitWebHitTestResult *hit_test_result); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h >index 0a486dcb285..b286b0477b5 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h >@@ -21,8 +21,7 @@ > #error "Only <webkit2/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitWebPage_h >-#define WebKitWebPage_h >+#pragma once > > #include <glib-object.h> > #include <webkit2/WebKitDefines.h> >@@ -93,4 +92,3 @@ webkit_web_page_get_editor (WebKitWebPage *web_page); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/webkit-web-extension.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/webkit-web-extension.h >index 1c95f1d3aed..b1809becf2b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/webkit-web-extension.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/webkit-web-extension.h >@@ -21,8 +21,7 @@ > #error "Headers <webkit2/webkit2.h> and <webkit2/webkit-web-extension.h> cannot be included together." > #endif > >-#ifndef __WEBKIT_WEB_EXTENSION_H__ >-#define __WEBKIT_WEB_EXTENSION_H__ >+#pragma once > > #define __WEBKIT_WEB_EXTENSION_H_INSIDE__ > >@@ -45,4 +44,3 @@ > > #undef __WEBKIT_WEB_EXTENSION_H_INSIDE__ > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMDefines.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMDefines.h >index 1ef4f289ed2..a4ad0771e5e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMDefines.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMDefines.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMDefines_h >-#define WebKitDOMDefines_h >+#pragma once > > #include <glib.h> > >@@ -43,4 +42,3 @@ > #define WEBKIT_API > #endif > >-#endif /* WebKitDOMDefines_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMDocument.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMDocument.h >index 22c67c17e88..4bd26e371d9 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMDocument.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMDocument.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMDocument_h >-#define WebKitDOMDocument_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDOMNode.h> >@@ -53,4 +52,3 @@ webkit_dom_document_get_type(void); > > G_END_DECLS > >-#endif /* WebKitDOMDocument_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMElement.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMElement.h >index 56a6aa277a2..00827172479 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMElement.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMElement.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMElement_h >-#define WebKitDOMElement_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDOMNode.h> >@@ -66,4 +65,3 @@ webkit_dom_element_html_input_element_set_editing_value (WebKitDOMElement *eleme > > G_END_DECLS > >-#endif /* WebKitDOMElement_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMNode.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMNode.h >index b428338ca06..2230bed2f44 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMNode.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMNode.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMNode_h >-#define WebKitDOMNode_h >+#pragma once > > #include <glib-object.h> > #include <jsc/jsc.h> >@@ -60,4 +59,3 @@ webkit_dom_node_for_js_value (JSCValue *value); > > G_END_DECLS > >-#endif /* WebKitDOMNode_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMObject.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMObject.h >index 757576221b7..c1fb86a2d3b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMObject.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/WebKitDOMObject.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkitdom.h> can be included directly." > #endif > >-#ifndef WebKitDOMObject_h >-#define WebKitDOMObject_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDOMDefines.h> >@@ -52,4 +51,3 @@ webkit_dom_object_get_type(void); > > G_END_DECLS > >-#endif /* WebKitDOMObject_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/webkitdom.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/webkitdom.h >index 92f7a024d6f..782e048d99e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/webkitdom.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/DOM/webkitdom.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef webkitdom_h >-#define webkitdom_h >+#pragma once > > #define __WEBKITDOM_H_INSIDE__ > >@@ -30,4 +29,3 @@ > > #undef __WEBKITDOM_H_INSIDE__ > >-#endif /* webkitdom_h */ >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitConsoleMessage.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitConsoleMessage.h >index 5301c5a9ff3..2e648064d9e 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitConsoleMessage.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitConsoleMessage.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitConsoleMessage_h >-#define WebKitConsoleMessage_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -99,4 +98,3 @@ webkit_console_message_get_source_id (WebKitConsoleMessage *console_message); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h >index a3c6394dad1..f0679c16a67 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitFrame_h >-#define WebKitFrame_h >+#pragma once > > #include <glib-object.h> > #include <jsc/jsc.h> >@@ -80,4 +79,3 @@ webkit_frame_get_js_value_for_dom_object_in_script_world (WebKitFrame *fra > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitScriptWorld.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitScriptWorld.h >index 218d790e561..7972049cd30 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitScriptWorld.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitScriptWorld.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitScriptWorld_h >-#define WebKitScriptWorld_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -66,4 +65,3 @@ webkit_script_world_new (void); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebEditor.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebEditor.h >index 0d411b0ed4c..ceea7e87941 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebEditor.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebEditor.h >@@ -21,8 +21,7 @@ > #error "Only <ape/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitWebEditor_h >-#define WebKitWebEditor_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -62,4 +61,3 @@ webkit_web_editor_get_page (WebKitWebEditor *editor); > > G_END_DECLS > >-#endif // WebKitWebEditor_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebExtension.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebExtension.h >index a6ffb485048..1e4225b4270 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebExtension.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebExtension.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitWebExtension_h >-#define WebKitWebExtension_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -84,4 +83,3 @@ webkit_web_extension_get_page (WebKitWebExtension *extension, > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebHitTestResult.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebHitTestResult.h >index fc43b25a8ce..d54c49a5957 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebHitTestResult.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebHitTestResult.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitWebHitTestResult_h >-#define WebKitWebHitTestResult_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -65,4 +64,3 @@ webkit_web_hit_test_result_get_node (WebKitWebHitTestResult *hit_test_result); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebPage.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebPage.h >index 30e0f93358c..9656e8e9808 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebPage.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebPage.h >@@ -21,8 +21,7 @@ > #error "Only <wpe/webkit-web-extension.h> can be included directly." > #endif > >-#ifndef WebKitWebPage_h >-#define WebKitWebPage_h >+#pragma once > > #include <glib-object.h> > #include <wpe/WebKitDefines.h> >@@ -91,4 +90,3 @@ webkit_web_page_get_dom_document (WebKitWebPage *web_page); > > G_END_DECLS > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/webkit-web-extension.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/webkit-web-extension.h >index 796b21e41f1..9a8446cb558 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/webkit-web-extension.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/webkit-web-extension.h >@@ -21,8 +21,7 @@ > #error "Headers <wpe/webkit.h> and <wpe/webkit-web-extension.h> cannot be included together." > #endif > >-#ifndef __WEBKIT_WEB_EXTENSION_H__ >-#define __WEBKIT_WEB_EXTENSION_H__ >+#pragma once > > #define __WEBKIT_WEB_EXTENSION_H_INSIDE__ > >@@ -42,4 +41,3 @@ > > #undef __WEBKIT_WEB_EXTENSION_H_INSIDE__ > >-#endif >diff --git a/Source/WebKit/WebProcess/InjectedBundle/APIInjectedBundleFormClient.h b/Source/WebKit/WebProcess/InjectedBundle/APIInjectedBundleFormClient.h >index 5449227e388..e5f074788b3 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/APIInjectedBundleFormClient.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/APIInjectedBundleFormClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef APIInjectedBundleFormClient_h >-#define APIInjectedBundleFormClient_h >+#pragma once > > #include <wtf/Forward.h> > >@@ -78,4 +77,3 @@ public: > > } // namespace API > >-#endif // APIInjectedBundleFormClient_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleCSSStyleDeclarationHandle.h b/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleCSSStyleDeclarationHandle.h >index 95d920cabc2..a617b18c049 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleCSSStyleDeclarationHandle.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleCSSStyleDeclarationHandle.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleCSSStyleDeclarationHandle_h >-#define InjectedBundleCSSStyleDeclarationHandle_h >+#pragma once > > #include "APIObject.h" > #include <wtf/Ref.h> >@@ -49,4 +48,3 @@ private: > > } // namespace WebKit > >-#endif // InjectedBundleCSSStyleDeclarationHandle_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleFileHandle.h b/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleFileHandle.h >index c0bb79884a0..9a4389944a3 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleFileHandle.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleFileHandle.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleFileHandle_h >-#define InjectedBundleFileHandle_h >+#pragma once > > #include "APIObject.h" > #include <wtf/Forward.h> >@@ -53,4 +52,3 @@ private: > > } // namespace WebKit > >-#endif // InjectedBundleFileHandle_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h b/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h >index f80e33abe80..71f71d45cec 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleRangeHandle_h >-#define InjectedBundleRangeHandle_h >+#pragma once > > #include "APIObject.h" > #include "ImageOptions.h" >@@ -67,4 +66,3 @@ private: > > } // namespace WebKit > >-#endif // InjectedBundleRangeHandle_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleBackForwardList.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleBackForwardList.h >index 9edafaac7ef..3db9efe0cac 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleBackForwardList.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleBackForwardList.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleBackForwardList_h >-#define InjectedBundleBackForwardList_h >+#pragma once > > #include "APIObject.h" > #include <wtf/RefPtr.h> >@@ -58,4 +57,3 @@ private: > > } // namespace WebKit > >-#endif // InjectedBundleBackForwardList_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h >index 15e6a571b65..b2b23d557a4 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleBackForwardListItem_h >-#define InjectedBundleBackForwardListItem_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/HistoryItem.h> >@@ -69,4 +68,3 @@ private: > > } // namespace WebKit > >-#endif // InjectedBundleBackForwardListItem_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleClient.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleClient.h >index bdf83d58794..4982639efef 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleClient.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleClient_h >-#define InjectedBundleClient_h >+#pragma once > > #include "APIClient.h" > #include "APIInjectedBundleBundleClient.h" >@@ -58,4 +57,3 @@ public: > > } // namespace WebKit > >-#endif // InjectedBundleClient_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.h >index 065f728f819..60e96b17538 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.h >@@ -23,8 +23,7 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleDOMWindowExtension_h >-#define InjectedBundleDOMWindowExtension_h >+#pragma once > > #include "APIObject.h" > #include <wtf/RefPtr.h> >@@ -59,4 +58,3 @@ private: > > } // namespace WebKit > >-#endif // InjectedBundleDOMWindowExtension_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h >index a16f0c6b549..81bc3e93d78 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleHitTestResult_h >-#define InjectedBundleHitTestResult_h >+#pragma once > > #include "APIObject.h" > #include "InjectedBundleHitTestResultMediaType.h" >@@ -79,4 +78,3 @@ private: > > } // namespace WebKit > >-#endif // InjectedBundleHitTestResult_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResultMediaType.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResultMediaType.h >index ffc21d95042..e56d93f1cc7 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResultMediaType.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResultMediaType.h >@@ -22,8 +22,7 @@ > * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF > * THE POSSIBILITY OF SUCH DAMAGE. > */ >-#ifndef InjectedBundleHitTestResultMediaType_h >-#define InjectedBundleHitTestResultMediaType_h >+#pragma once > > namespace WebKit { > >@@ -35,4 +34,3 @@ enum BundleHitTestResultMediaType { > > } // namespace WebKit > >-#endif // InjectedBundleHitTestResultMediaType_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleNavigationAction.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleNavigationAction.h >index 504b409e829..dae305d8156 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleNavigationAction.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleNavigationAction.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleNavigationAction_h >-#define InjectedBundleNavigationAction_h >+#pragma once > > #include "APIObject.h" > #include "InjectedBundleHitTestResult.h" >@@ -81,4 +80,3 @@ private: > > } // namespace WebKit > >-#endif // InjectedBundleNavigationAction_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageFormClient.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageFormClient.h >index e9df5313db0..a1983adfb0d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageFormClient.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageFormClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundlePageFormClient_h >-#define InjectedBundlePageFormClient_h >+#pragma once > > #include "APIClient.h" > #include "APIInjectedBundleFormClient.h" >@@ -57,4 +56,3 @@ public: > > } // namespace WebKit > >-#endif // InjectedBundlePageFormClient_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.h >index 6563b6c6df3..364766c786f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundlePageFullScreenClient_h >-#define InjectedBundlePageFullScreenClient_h >+#pragma once > > #if ENABLE(FULLSCREEN_API) > >@@ -61,4 +60,3 @@ public: > > #endif // ENABLE(FULLSCREEN_API) > >-#endif // InjectedBundlePageFullScreenClient_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h >index a90ed60af1f..713354e121c 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundlePageLoaderClient_h >-#define InjectedBundlePageLoaderClient_h >+#pragma once > > #include "APIClient.h" > #include "APIInjectedBundlePageLoaderClient.h" >@@ -92,4 +91,3 @@ public: > > } // namespace WebKit > >-#endif // InjectedBundlePageLoaderClient_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.h >index dc15d49d1b7..2760a11ceb2 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundlePagePolicyClient_h >-#define InjectedBundlePagePolicyClient_h >+#pragma once > > #include "APIClient.h" > #include "WKBundlePagePolicyClient.h" >@@ -60,4 +59,3 @@ public: > > } // namespace WebKit > >-#endif // InjectedBundlePagePolicyClient_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.h >index 3aef3dccea3..ff0782dc4e4 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundlePageResourceLoadClient_h >-#define InjectedBundlePageResourceLoadClient_h >+#pragma once > > #include "APIClient.h" > #include "APIInjectedBundlePageResourceLoadClient.h" >@@ -63,4 +62,3 @@ public: > > } // namespace WebKit > >-#endif // InjectedBundlePageResourceLoadClient_h >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleScriptWorld.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleScriptWorld.h >index 312de27d454..345dad3f94d 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleScriptWorld.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleScriptWorld.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef InjectedBundleScriptWorld_h >-#define InjectedBundleScriptWorld_h >+#pragma once > > #include "APIObject.h" > #include <wtf/Ref.h> >@@ -64,4 +63,3 @@ private: > > } // namespace WebKit > >-#endif // InjectedBundleScriptWorld_h >diff --git a/Source/WebKit/WebProcess/MediaStream/UserMediaPermissionRequestManager.h b/Source/WebKit/WebProcess/MediaStream/UserMediaPermissionRequestManager.h >index a7efc8adeaa..25df518c2f9 100644 >--- a/Source/WebKit/WebProcess/MediaStream/UserMediaPermissionRequestManager.h >+++ b/Source/WebKit/WebProcess/MediaStream/UserMediaPermissionRequestManager.h >@@ -17,8 +17,7 @@ > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > */ > >-#ifndef UserMediaPermissionRequestManager_h >-#define UserMediaPermissionRequestManager_h >+#pragma once > > #if ENABLE(MEDIA_STREAM) > >@@ -79,4 +78,3 @@ private: > > #endif // ENABLE(MEDIA_STREAM) > >-#endif // UserMediaPermissionRequestManager_h >diff --git a/Source/WebKit/WebProcess/Network/NetworkProcessConnection.h b/Source/WebKit/WebProcess/Network/NetworkProcessConnection.h >index e872a81c194..fa024934f55 100644 >--- a/Source/WebKit/WebProcess/Network/NetworkProcessConnection.h >+++ b/Source/WebKit/WebProcess/Network/NetworkProcessConnection.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetworkProcessConnection_h >-#define NetworkProcessConnection_h >+#pragma once > > #include "Connection.h" > #include "ShareableResource.h" >@@ -90,4 +89,3 @@ private: > > } // namespace WebKit > >-#endif // NetworkProcessConnection_h >diff --git a/Source/WebKit/WebProcess/Notifications/NotificationPermissionRequestManager.h b/Source/WebKit/WebProcess/Notifications/NotificationPermissionRequestManager.h >index b486b246367..4c2f8372a91 100644 >--- a/Source/WebKit/WebProcess/Notifications/NotificationPermissionRequestManager.h >+++ b/Source/WebKit/WebProcess/Notifications/NotificationPermissionRequestManager.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NotificationPermissionRequestManager_h >-#define NotificationPermissionRequestManager_h >+#pragma once > > #include <WebCore/NotificationClient.h> > #include <WebCore/NotificationPermissionCallback.h> >@@ -86,4 +85,3 @@ inline bool isRequestIDValid(uint64_t id) > > } // namespace WebKit > >-#endif // NotificationPermissionRequestManager_h >diff --git a/Source/WebKit/WebProcess/Plugins/Netscape/JSNPMethod.h b/Source/WebKit/WebProcess/Plugins/Netscape/JSNPMethod.h >index 1864bab2b73..fad13964046 100644 >--- a/Source/WebKit/WebProcess/Plugins/Netscape/JSNPMethod.h >+++ b/Source/WebKit/WebProcess/Plugins/Netscape/JSNPMethod.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef JSNPMethod_h >-#define JSNPMethod_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -81,4 +80,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // JSNPMethod_h >diff --git a/Source/WebKit/WebProcess/Plugins/Netscape/JSNPObject.h b/Source/WebKit/WebProcess/Plugins/Netscape/JSNPObject.h >index 3f89de8ba90..c4109e12b24 100644 >--- a/Source/WebKit/WebProcess/Plugins/Netscape/JSNPObject.h >+++ b/Source/WebKit/WebProcess/Plugins/Netscape/JSNPObject.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef JSNPObject_h >-#define JSNPObject_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -114,4 +113,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // JSNPObject_h >diff --git a/Source/WebKit/WebProcess/Plugins/Netscape/NPJSObject.h b/Source/WebKit/WebProcess/Plugins/Netscape/NPJSObject.h >index 69117c93057..69b68eb4b45 100644 >--- a/Source/WebKit/WebProcess/Plugins/Netscape/NPJSObject.h >+++ b/Source/WebKit/WebProcess/Plugins/Netscape/NPJSObject.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NPJSObject_h >-#define NPJSObject_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -99,4 +98,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // NPJSObject_h >diff --git a/Source/WebKit/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h b/Source/WebKit/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h >index 69ca5118143..c85df127d7e 100644 >--- a/Source/WebKit/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h >+++ b/Source/WebKit/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NPJSObjectWrapperMap_h >-#define NPJSObjectWrapperMap_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -105,4 +104,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // NPJSObjectWrapperMap_h >diff --git a/Source/WebKit/WebProcess/Plugins/Netscape/NPRuntimeUtilities.h b/Source/WebKit/WebProcess/Plugins/Netscape/NPRuntimeUtilities.h >index 4775d626191..46394ff5db6 100644 >--- a/Source/WebKit/WebProcess/Plugins/Netscape/NPRuntimeUtilities.h >+++ b/Source/WebKit/WebProcess/Plugins/Netscape/NPRuntimeUtilities.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NPRuntimeUtilities_h >-#define NPRuntimeUtilities_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -71,4 +70,3 @@ void releaseNPVariantValue(NPVariant*); > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // NPRuntimeUtilities_h >diff --git a/Source/WebKit/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h b/Source/WebKit/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h >index 07d421fb3d3..ffdc10433c9 100644 >--- a/Source/WebKit/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h >+++ b/Source/WebKit/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetscapeBrowserFuncs_h >-#define NetscapeBrowserFuncs_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -43,4 +42,3 @@ NPNetscapeFuncs* netscapeBrowserFuncs(); > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // NetscapeBrowserFuncs_h >diff --git a/Source/WebKit/WebProcess/Plugins/Netscape/unix/NetscapePluginUnix.h b/Source/WebKit/WebProcess/Plugins/Netscape/unix/NetscapePluginUnix.h >index c641c75ca95..6903143cc79 100644 >--- a/Source/WebKit/WebProcess/Plugins/Netscape/unix/NetscapePluginUnix.h >+++ b/Source/WebKit/WebProcess/Plugins/Netscape/unix/NetscapePluginUnix.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetscapePluginUnix_h >-#define NetscapePluginUnix_h >+#pragma once > > #if PLUGIN_ARCHITECTURE(UNIX) && ENABLE(NETSCAPE_PLUGIN_API) > >@@ -62,4 +61,3 @@ public: > > #endif // PLUGIN_ARCHITECTURE(UNIX) && ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // NetscapePluginUnix_h >diff --git a/Source/WebKit/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.h b/Source/WebKit/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.h >index 41e9b6c9d84..5906c66e88a 100644 >--- a/Source/WebKit/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.h >+++ b/Source/WebKit/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.h >@@ -24,8 +24,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef NetscapePluginX11_h >-#define NetscapePluginX11_h >+#pragma once > > #if PLATFORM(X11) && ENABLE(NETSCAPE_PLUGIN_API) > >@@ -72,4 +71,3 @@ private: > > #endif // PLATFORM(X11) && ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // NetscapePluginX11_h >diff --git a/Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h b/Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h >index b907548272c..113d45fae19 100644 >--- a/Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h >+++ b/Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PDFLayerControllerSPI_h >-#define PDFLayerControllerSPI_h >+#pragma once > > #if ENABLE(PDFKIT_PLUGIN) > >@@ -176,4 +175,3 @@ typedef NS_ENUM(NSInteger, PDFLayerControllerCursorType) { > > #endif > >-#endif // PDFLayerControllerSPI_h >diff --git a/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.h b/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.h >index bc6ceaed81e..b7c454355ef 100644 >--- a/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.h >+++ b/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PDFPluginAnnotation_h >-#define PDFPluginAnnotation_h >+#pragma once > > #if ENABLE(PDFKIT_PLUGIN) > >@@ -116,4 +115,3 @@ private: > > #endif // ENABLE(PDFKIT_PLUGIN) > >-#endif // PDFPluginAnnotation_h >diff --git a/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginChoiceAnnotation.h b/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginChoiceAnnotation.h >index 0f7675c5d23..175358bd1f8 100644 >--- a/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginChoiceAnnotation.h >+++ b/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginChoiceAnnotation.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PDFPluginChoiceAnnotation_h >-#define PDFPluginChoiceAnnotation_h >+#pragma once > > #if ENABLE(PDFKIT_PLUGIN) > >@@ -63,4 +62,3 @@ private: > > #endif // ENABLE(PDFKIT_PLUGIN) > >-#endif // PDFPluginChoiceAnnotation_h >diff --git a/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginPasswordField.h b/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginPasswordField.h >index 7105d9a6ba3..13813919de5 100644 >--- a/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginPasswordField.h >+++ b/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginPasswordField.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PDFPluginPasswordField_h >-#define PDFPluginPasswordField_h >+#pragma once > > #if ENABLE(PDFKIT_PLUGIN) > >@@ -54,4 +53,3 @@ private: > > #endif // ENABLE(PDFKIT_PLUGIN) > >-#endif // PDFPluginTextAnnotation_h >diff --git a/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginTextAnnotation.h b/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginTextAnnotation.h >index 92d4023cd70..6b697bde85c 100644 >--- a/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginTextAnnotation.h >+++ b/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginTextAnnotation.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PDFPluginTextAnnotation_h >-#define PDFPluginTextAnnotation_h >+#pragma once > > #if ENABLE(PDFKIT_PLUGIN) > >@@ -70,4 +69,3 @@ private: > > #endif // ENABLE(PDFKIT_PLUGIN) > >-#endif // PDFPluginTextAnnotation_h >diff --git a/Source/WebKit/WebProcess/Plugins/Plugin.h b/Source/WebKit/WebProcess/Plugins/Plugin.h >index 876f6ce48ec..f175fde5966 100644 >--- a/Source/WebKit/WebProcess/Plugins/Plugin.h >+++ b/Source/WebKit/WebProcess/Plugins/Plugin.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef Plugin_h >-#define Plugin_h >+#pragma once > > #include <WebCore/FindOptions.h> > #include <WebCore/GraphicsLayer.h> >@@ -324,4 +323,3 @@ SPECIALIZE_TYPE_TRAITS_BEGIN(WebKit::ToValueTypeName) \ > static bool isType(const WebKit::Plugin& plugin) { return plugin.type() == WebKit::SpecificPluginType; } \ > SPECIALIZE_TYPE_TRAITS_END() > >-#endif // Plugin_h >diff --git a/Source/WebKit/WebProcess/Plugins/PluginProcessConnection.h b/Source/WebKit/WebProcess/Plugins/PluginProcessConnection.h >index 6ab6f51bd2b..ca0e85cec68 100644 >--- a/Source/WebKit/WebProcess/Plugins/PluginProcessConnection.h >+++ b/Source/WebKit/WebProcess/Plugins/PluginProcessConnection.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginProcessConnection_h >-#define PluginProcessConnection_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -90,4 +89,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // PluginProcessConnection_h >diff --git a/Source/WebKit/WebProcess/Plugins/PluginProcessConnectionManager.h b/Source/WebKit/WebProcess/Plugins/PluginProcessConnectionManager.h >index 4f137b85dd0..cec22578d21 100644 >--- a/Source/WebKit/WebProcess/Plugins/PluginProcessConnectionManager.h >+++ b/Source/WebKit/WebProcess/Plugins/PluginProcessConnectionManager.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PluginProcessConnectionManager_h >-#define PluginProcessConnectionManager_h >+#pragma once > > #if ENABLE(NETSCAPE_PLUGIN_API) > >@@ -72,4 +71,3 @@ private: > > #endif // ENABLE(NETSCAPE_PLUGIN_API) > >-#endif // PluginProcessConnectionManager_h >diff --git a/Source/WebKit/WebProcess/WebConnectionToUIProcess.h b/Source/WebKit/WebProcess/WebConnectionToUIProcess.h >index 34649d0f31c..7076f46eaab 100644 >--- a/Source/WebKit/WebProcess/WebConnectionToUIProcess.h >+++ b/Source/WebKit/WebProcess/WebConnectionToUIProcess.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebConnectionToUIProcess_h >-#define WebConnectionToUIProcess_h >+#pragma once > > #include "WebConnection.h" > >@@ -55,4 +54,3 @@ private: > > } // namespace WebKit > >-#endif // WebConnectionToUIProcess_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/SessionStateConversion.h b/Source/WebKit/WebProcess/WebCoreSupport/SessionStateConversion.h >index e0e11fc8c52..7fcd2792386 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/SessionStateConversion.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/SessionStateConversion.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef SessionStateConversion_h >-#define SessionStateConversion_h >+#pragma once > > #include <wtf/Forward.h> > >@@ -42,4 +41,3 @@ Ref<WebCore::HistoryItem> toHistoryItem(const BackForwardListItemState&); > > } // namespace WebKit > >-#endif // SessionStateConversion_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebAlternativeTextClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebAlternativeTextClient.h >index 4520e9d69bc..13853da1ddc 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebAlternativeTextClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebAlternativeTextClient.h >@@ -24,8 +24,7 @@ > */ > > >-#ifndef WebAlternativeTextClient_h >-#define WebAlternativeTextClient_h >+#pragma once > > #include <WebCore/AlternativeTextClient.h> > >@@ -64,4 +63,3 @@ private: > > } > >-#endif // WebAlternativeTextClient_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h >index 1f69e6fb7e0..5ef9fc92346 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h >@@ -211,7 +211,13 @@ private: > bool adjustLayerFlushThrottling(WebCore::LayerFlushThrottleState::Flags) final; > > void contentRuleListNotification(const WebCore::URL&, const HashSet<std::pair<String, String>>&) final; >- >+ >+#if PLATFORM(WIN) >+ virtual void setLastSetCursorToCurrentCursor() final {}; >+ virtual void AXStartFrameLoad() final {}; >+ virtual void AXFinishFrameLoad() final {}; >+#endif >+ > #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) > RefPtr<WebCore::DisplayRefreshMonitor> createDisplayRefreshMonitor(WebCore::PlatformDisplayID) const final; > #endif >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebColorChooser.h b/Source/WebKit/WebProcess/WebCoreSupport/WebColorChooser.h >index a177b2594a3..5c61772647e 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebColorChooser.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebColorChooser.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebColorChooser_h >-#define WebColorChooser_h >+#pragma once > > #if ENABLE(INPUT_TYPE_COLOR) > >@@ -61,4 +60,3 @@ private: > > #endif // ENABLE(INPUT_TYPE_COLOR) > >-#endif // WebColorChooser_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebContextMenuClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebContextMenuClient.h >index cec3142b16e..046e3ad27e8 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebContextMenuClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebContextMenuClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebContextMenuClient_h >-#define WebContextMenuClient_h >+#pragma once > > #if ENABLE(CONTEXT_MENUS) > >@@ -65,4 +64,3 @@ private: > } // namespace WebKit > > #endif // ENABLE(CONTEXT_MENUS) >-#endif // WebContextMenuClient_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebDiagnosticLoggingClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebDiagnosticLoggingClient.h >index 0b7e545fda6..b95fdb55723 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebDiagnosticLoggingClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebDiagnosticLoggingClient.h >@@ -23,8 +23,7 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebDiagnosticLoggingClient_h >-#define WebDiagnosticLoggingClient_h >+#pragma once > > #include <WebCore/DiagnosticLoggingClient.h> > #include <wtf/Forward.h> >@@ -49,4 +48,3 @@ private: > > } > >-#endif >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebDragClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebDragClient.h >index 9f7d7fc50b6..72b7394fe49 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebDragClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebDragClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebDragClient_h >-#define WebDragClient_h >+#pragma once > > #if ENABLE(DRAG_SUPPORT) > >@@ -62,4 +61,3 @@ private: > > #endif // ENABLE(DRAG_SUPPORT) > >-#endif // WebDragClient_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebNavigatorContentUtilsClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebNavigatorContentUtilsClient.h >index d86d64c672a..b1dc5216ebe 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebNavigatorContentUtilsClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebNavigatorContentUtilsClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebNavigatorContentUtilsClient_h >-#define WebNavigatorContentUtilsClient_h >+#pragma once > > #if ENABLE(NAVIGATOR_CONTENT_UTILS) > >@@ -49,4 +48,3 @@ private: > } > > #endif // ENABLE(NAVIGATOR_CONTENT_UTILS) >-#endif // WebNavigatorContentUtilsClient_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebNotificationClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebNotificationClient.h >index 1637ad1097d..ff63f1ca389 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebNotificationClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebNotificationClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebNotificationClient_h >-#define WebNotificationClient_h >+#pragma once > > #if ENABLE(NOTIFICATIONS) > >@@ -63,4 +62,3 @@ private: > > #endif // ENABLE(NOTIFICATIONS) > >-#endif // WebNotificationClient_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebPlugInClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebPlugInClient.h >index f6e014957ed..97a49a28604 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebPlugInClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebPlugInClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebPlugInClient_h >-#define WebPlugInClient_h >+#pragma once > > #include <WebCore/PlugInClient.h> > #include <pal/SessionID.h> >@@ -48,4 +47,3 @@ private: > > } // namespace WebKit > >-#endif /* WebPlugInClient */ >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebPopupMenu.h b/Source/WebKit/WebProcess/WebCoreSupport/WebPopupMenu.h >index 0cac029b933..482135bc9dc 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebPopupMenu.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebPopupMenu.h >@@ -19,8 +19,7 @@ > * > */ > >-#ifndef WebPopupMenu_h >-#define WebPopupMenu_h >+#pragma once > > #include "WebPopupItem.h" > #include <WebCore/PopupMenu.h> >@@ -68,4 +67,3 @@ private: > > } // namespace WebKit > >-#endif // WebPopupMenu_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebProgressTrackerClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebProgressTrackerClient.h >index 5dd65bfa0d5..2e507db3b0a 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebProgressTrackerClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebProgressTrackerClient.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebProgressTrackerClient_h >-#define WebProgressTrackerClient_h >+#pragma once > > #include <WebCore/ProgressTrackerClient.h> > >@@ -48,4 +47,3 @@ private: > > } // namespace WebKit > >-#endif // WebProgressTrackerClient_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebSearchPopupMenu.h b/Source/WebKit/WebProcess/WebCoreSupport/WebSearchPopupMenu.h >index 4e5b3b66c61..ef1ae1632f8 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebSearchPopupMenu.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebSearchPopupMenu.h >@@ -18,8 +18,7 @@ > * > */ > >-#ifndef WebSearchPopupMenu_h >-#define WebSearchPopupMenu_h >+#pragma once > > #include "WebPopupMenu.h" > #include <WebCore/SearchPopupMenu.h> >@@ -43,4 +42,3 @@ private: > > } > >-#endif // WebSearchPopupMenu_h >diff --git a/Source/WebKit/WebProcess/WebCoreSupport/WebUserMediaClient.h b/Source/WebKit/WebProcess/WebCoreSupport/WebUserMediaClient.h >index a6e313262d5..fc39311c170 100644 >--- a/Source/WebKit/WebProcess/WebCoreSupport/WebUserMediaClient.h >+++ b/Source/WebKit/WebProcess/WebCoreSupport/WebUserMediaClient.h >@@ -17,8 +17,7 @@ > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > */ > >-#ifndef WebUserMediaClient_h >-#define WebUserMediaClient_h >+#pragma once > > #if ENABLE(MEDIA_STREAM) > >@@ -51,4 +50,3 @@ private: > > #endif // ENABLE(MEDIA_STREAM) > >-#endif // WebUserMediaClient_h >diff --git a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.h b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.h >index 1ad1ae17cce..09dd15575e0 100644 >--- a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.h >+++ b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.h >@@ -24,8 +24,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef CompositingCoordinator_h >-#define CompositingCoordinator_h >+#pragma once > > #if USE(COORDINATED_GRAPHICS) > >@@ -150,4 +149,3 @@ private: > > #endif // namespace WebKit > >-#endif // CompositingCoordinator_h >diff --git a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h >index 5061b75dda9..eec8e34c336 100644 >--- a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h >+++ b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h >@@ -18,8 +18,7 @@ > Boston, MA 02110-1301, USA. > */ > >-#ifndef CoordinatedLayerTreeHost_h >-#define CoordinatedLayerTreeHost_h >+#pragma once > > #if USE(COORDINATED_GRAPHICS) > >@@ -88,4 +87,3 @@ private: > > #endif // USE(COORDINATED_GRAPHICS) > >-#endif // CoordinatedLayerTreeHost_h >diff --git a/Source/WebKit/WebProcess/WebPage/EventDispatcher.h b/Source/WebKit/WebProcess/WebPage/EventDispatcher.h >index 1d477877eaa..468a8a41003 100644 >--- a/Source/WebKit/WebProcess/WebPage/EventDispatcher.h >+++ b/Source/WebKit/WebProcess/WebPage/EventDispatcher.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef EventDispatcher_h >-#define EventDispatcher_h >+#pragma once > > #include "Connection.h" > >@@ -114,4 +113,3 @@ private: > > } // namespace WebKit > >-#endif // EventDispatcher_h >diff --git a/Source/WebKit/WebProcess/WebPage/LayerTreeHost.h b/Source/WebKit/WebProcess/WebPage/LayerTreeHost.h >index 85dd458e018..ad9cd4a09d4 100644 >--- a/Source/WebKit/WebProcess/WebPage/LayerTreeHost.h >+++ b/Source/WebKit/WebProcess/WebPage/LayerTreeHost.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef LayerTreeHost_h >-#define LayerTreeHost_h >+#pragma once > > #if USE(COORDINATED_GRAPHICS) || USE(TEXTURE_MAPPER) > >@@ -121,4 +120,3 @@ protected: > > #endif // USE(COORDINATED_GRAPHICS) || USE(TEXTURE_MAPPER) > >-#endif // LayerTreeHost_h >diff --git a/Source/WebKit/WebProcess/WebPage/PageBanner.h b/Source/WebKit/WebProcess/WebPage/PageBanner.h >index 84802109dfb..89a23626137 100644 >--- a/Source/WebKit/WebProcess/WebPage/PageBanner.h >+++ b/Source/WebKit/WebProcess/WebPage/PageBanner.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PageBanner_h >-#define PageBanner_h >+#pragma once > > #include "APIObject.h" > #include "WebEvent.h" >@@ -97,4 +96,3 @@ private: > > } // namespace WebKit > >-#endif // PageBanner_h >diff --git a/Source/WebKit/WebProcess/WebPage/ViewGestureGeometryCollector.h b/Source/WebKit/WebProcess/WebPage/ViewGestureGeometryCollector.h >index cec0e047c04..3686087b5e0 100644 >--- a/Source/WebKit/WebProcess/WebPage/ViewGestureGeometryCollector.h >+++ b/Source/WebKit/WebProcess/WebPage/ViewGestureGeometryCollector.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ViewGestureGeometryCollector_h >-#define ViewGestureGeometryCollector_h >+#pragma once > > #include "MessageReceiver.h" > #include <wtf/RunLoop.h> >@@ -80,4 +79,3 @@ private: > > } // namespace WebKit > >-#endif // ViewGestureGeometryCollector >diff --git a/Source/WebKit/WebProcess/WebPage/ViewUpdateDispatcher.h b/Source/WebKit/WebProcess/WebPage/ViewUpdateDispatcher.h >index e47dc4e1d41..1237bd306a5 100644 >--- a/Source/WebKit/WebProcess/WebPage/ViewUpdateDispatcher.h >+++ b/Source/WebKit/WebProcess/WebPage/ViewUpdateDispatcher.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef ViewUpdateDispatcher_h >-#define ViewUpdateDispatcher_h >+#pragma once > > #include "Connection.h" > >@@ -63,4 +62,3 @@ private: > > } // namespace WebKit > >-#endif // ViewportUpdateDispatcher_h >diff --git a/Source/WebKit/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h b/Source/WebKit/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h >index da2c6be92d1..aabf39edfca 100644 >--- a/Source/WebKit/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h >+++ b/Source/WebKit/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKAccessibilityWebPageObjectIOS_h >-#define WKAccessibilityWebPageObjectIOS_h >+#pragma once > > #if PLATFORM(IOS) > >@@ -38,4 +37,3 @@ > > #endif // PLATFORM(IOS) > >-#endif // WKAccessibilityWebPageObjectIOS_h >diff --git a/Source/WebKit/WebProcess/WebPage/WebBackForwardListProxy.h b/Source/WebKit/WebProcess/WebPage/WebBackForwardListProxy.h >index c6fe4378c7e..7a6deb3e2db 100644 >--- a/Source/WebKit/WebProcess/WebPage/WebBackForwardListProxy.h >+++ b/Source/WebKit/WebProcess/WebPage/WebBackForwardListProxy.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebBackForwardListProxy_h >-#define WebBackForwardListProxy_h >+#pragma once > > #include <WebCore/BackForwardClient.h> > #include <wtf/HashSet.h> >@@ -70,4 +69,3 @@ private: > > } // namespace WebKit > >-#endif // WebBackForwardListProxy_h >diff --git a/Source/WebKit/WebProcess/WebPage/WebContextMenu.h b/Source/WebKit/WebProcess/WebPage/WebContextMenu.h >index aded5a67b7c..01a83d2bc27 100644 >--- a/Source/WebKit/WebProcess/WebPage/WebContextMenu.h >+++ b/Source/WebKit/WebProcess/WebPage/WebContextMenu.h >@@ -18,8 +18,7 @@ > * > */ > >-#ifndef WebContextMenu_h >-#define WebContextMenu_h >+#pragma once > > #if ENABLE(CONTEXT_MENUS) > >@@ -60,4 +59,3 @@ private: > } // namespace WebKit > > #endif // ENABLE(CONTEXT_MENUS) >-#endif // WebPopupMenu_h >diff --git a/Source/WebKit/WebProcess/WebPage/WebDocumentLoader.h b/Source/WebKit/WebProcess/WebPage/WebDocumentLoader.h >index f127d64d005..8321d861781 100644 >--- a/Source/WebKit/WebProcess/WebPage/WebDocumentLoader.h >+++ b/Source/WebKit/WebProcess/WebPage/WebDocumentLoader.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebDocumentLoader_h >-#define WebDocumentLoader_h >+#pragma once > > #include <WebCore/DocumentLoader.h> > >@@ -50,4 +49,3 @@ private: > > } // namespace WebKit > >-#endif // WebDocumentLoader_h >diff --git a/Source/WebKit/WebProcess/WebPage/WebPageOverlay.h b/Source/WebKit/WebProcess/WebPage/WebPageOverlay.h >index f07b0f818f9..245c5e158d2 100644 >--- a/Source/WebKit/WebProcess/WebPage/WebPageOverlay.h >+++ b/Source/WebKit/WebProcess/WebPage/WebPageOverlay.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebPageOverlay_h >-#define WebPageOverlay_h >+#pragma once > > #include "APIObject.h" > #include <WebCore/FloatPoint.h> >@@ -104,4 +103,3 @@ private: > > } // namespace WebKit > >-#endif // WebPageOverlay_h >diff --git a/Source/WebKit/WebProcess/WebPage/atk/WebPageAccessibilityObject.h b/Source/WebKit/WebProcess/WebPage/atk/WebPageAccessibilityObject.h >index 8abc0e5a8ae..9415a61b03d 100644 >--- a/Source/WebKit/WebProcess/WebPage/atk/WebPageAccessibilityObject.h >+++ b/Source/WebKit/WebProcess/WebPage/atk/WebPageAccessibilityObject.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebPageAccessibilityObject_h >-#define WebPageAccessibilityObject_h >+#pragma once > > #if HAVE(ACCESSIBILITY) > >@@ -64,4 +63,3 @@ void webPageAccessibilityObjectRefresh(WebPageAccessibilityObject*); > G_END_DECLS > > #endif >-#endif // WebPageAccessibilityObject_h >diff --git a/Source/WebKit/WebProcess/WebPage/gtk/PrinterListGtk.h b/Source/WebKit/WebProcess/WebPage/gtk/PrinterListGtk.h >index e13cb29958c..b27a4367e72 100644 >--- a/Source/WebKit/WebProcess/WebPage/gtk/PrinterListGtk.h >+++ b/Source/WebKit/WebProcess/WebPage/gtk/PrinterListGtk.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef PrinterListGtk_h >-#define PrinterListGtk_h >+#pragma once > > #if HAVE(GTK_UNIX_PRINTING) > >@@ -60,4 +59,3 @@ private: > > #endif // HAVE(GTK_UNIX_PRINTING) > >-#endif // WebPrintOperationGtk_h >diff --git a/Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.h b/Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.h >index b262df34c80..c2729153145 100644 >--- a/Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.h >+++ b/Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebPrintOperationGtk_h >-#define WebPrintOperationGtk_h >+#pragma once > > #include "CallbackID.h" > #include "PrintInfo.h" >@@ -129,4 +128,3 @@ protected: > > } > >-#endif // WebPrintOperationGtk_h >diff --git a/Source/WebKit/WebProcess/WebPage/ios/FindIndicatorOverlayClientIOS.h b/Source/WebKit/WebProcess/WebPage/ios/FindIndicatorOverlayClientIOS.h >index 535b84fb642..dfc38af3271 100644 >--- a/Source/WebKit/WebProcess/WebPage/ios/FindIndicatorOverlayClientIOS.h >+++ b/Source/WebKit/WebProcess/WebPage/ios/FindIndicatorOverlayClientIOS.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef FindIndicatorOverlayClientIOS_h >-#define FindIndicatorOverlayClientIOS_h >+#pragma once > > #import <WebCore/Frame.h> > #import <WebCore/GraphicsContext.h> >@@ -53,4 +52,3 @@ private: > > } // namespace WebKit > >-#endif // FindIndicatorOverlayClientIOS_h >diff --git a/Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h b/Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h >index be793b77ca3..a0a7bbaaebb 100644 >--- a/Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h >+++ b/Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKAccessibilityWebPageObjectBase_h >-#define WKAccessibilityWebPageObjectBase_h >+#pragma once > > namespace WebKit { > class WebPage; >@@ -43,4 +42,3 @@ class WebPage; > > @end > >-#endif // WKAccessibilityWebPageObjectBase_h >diff --git a/Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.h b/Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.h >index 5cdd33a00d1..f1e100f6c14 100644 >--- a/Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.h >+++ b/Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WKAccessibilityWebPageObjectMac_h >-#define WKAccessibilityWebPageObjectMac_h >+#pragma once > > > #if PLATFORM(MAC) >@@ -41,4 +40,3 @@ > @end > > #endif // PLATFORM(MAC) >-#endif // WKAccessibilityWebPageObjectMac_h >diff --git a/Source/WebKit/WebProcess/WebProcessSupplement.h b/Source/WebKit/WebProcess/WebProcessSupplement.h >index b67a73e7348..059a14783b7 100644 >--- a/Source/WebKit/WebProcess/WebProcessSupplement.h >+++ b/Source/WebKit/WebProcess/WebProcessSupplement.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebProcessSupplement_h >-#define WebProcessSupplement_h >+#pragma once > > #include "ChildProcessSupplement.h" > >@@ -41,4 +40,3 @@ public: > > } // namespace WebKit > >-#endif // WebProcessSupplement_h >diff --git a/Source/WebKit/WebProcess/mac/SecItemShimLibrary.h b/Source/WebKit/WebProcess/mac/SecItemShimLibrary.h >index f761a9b7cc2..07a19d2fb52 100644 >--- a/Source/WebKit/WebProcess/mac/SecItemShimLibrary.h >+++ b/Source/WebKit/WebProcess/mac/SecItemShimLibrary.h >@@ -22,8 +22,7 @@ > * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF > * THE POSSIBILITY OF SUCH DAMAGE. > */ >-#ifndef SecItemShimLibrary_h >-#define SecItemShimLibrary_h >+#pragma once > > namespace WebKit { > >@@ -38,4 +37,3 @@ typedef void (*SecItemShimInitializeFunc)(const SecItemShimCallbacks& callbacks) > > } // namespace WebKit > >-#endif // SecItemShimLibrary_h >diff --git a/Source/WebKit/WebProcess/soup/WebKitSoupRequestInputStream.h b/Source/WebKit/WebProcess/soup/WebKitSoupRequestInputStream.h >index d7e264d57e4..e6189ebcdb8 100644 >--- a/Source/WebKit/WebProcess/soup/WebKitSoupRequestInputStream.h >+++ b/Source/WebKit/WebProcess/soup/WebKitSoupRequestInputStream.h >@@ -17,8 +17,7 @@ > * Boston, MA 02110-1301, USA. > */ > >-#ifndef WebKitSoupRequestInputStream_h >-#define WebKitSoupRequestInputStream_h >+#pragma once > > #include <WebCore/ResourceError.h> > #include <gio/gio.h> >@@ -54,4 +53,3 @@ bool webkitSoupRequestInputStreamFinished(WebKitSoupRequestInputStream*); > > G_END_DECLS > >-#endif // WebKitSoupRequestInputStream_h >diff --git a/Source/WebKit/WebProcess/unix/WebProcessMainUnix.h b/Source/WebKit/WebProcess/unix/WebProcessMainUnix.h >index 209ad4f8194..59f38b104e8 100644 >--- a/Source/WebKit/WebProcess/unix/WebProcessMainUnix.h >+++ b/Source/WebKit/WebProcess/unix/WebProcessMainUnix.h >@@ -23,8 +23,7 @@ > * THE POSSIBILITY OF SUCH DAMAGE. > */ > >-#ifndef WebProcessMainUnix_h >-#define WebProcessMainUnix_h >+#pragma once > > #include <WebKit/WKBase.h> > >@@ -36,4 +35,3 @@ WK_EXPORT int WebProcessMainUnix(int argc, char** argv); > > } // namespace WebKit > >-#endif // WebProcessMainUnix_h
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ews-watchlist
:
commit-queue-
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 185285
: 339505 |
339532