Use #pragma once in WebCore
https://bugs.webkit.org/show_bug.cgi?id=164194
Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-10-31
Rubber-stamped by Sam Weinig.
Source/WebCore:
* accessibility/*.h:
* bindings/*.h:
* contentextensions/*.h:
* dom/*.h:
* html/*.h:
* page/*.h:
Use #pragma once in headers.
* html/parser/ParsingUtilities.h:
Add missing namespace.
* html/track/VTTScanner.h:
(WebCore::VTTScanner::skipWhile):
(WebCore::VTTScanner::skipUntil):
(WebCore::VTTScanner::collectWhile):
(WebCore::VTTScanner::collectUntil):
Include namespace.
Source/WebKit/win:
* WebCoreSupport/WebContextMenuClient.cpp:
(WebContextMenuClient::isSpeaking):
(WebContextMenuClient::shareMenuItem): Deleted.
* WebCoreSupport/WebContextMenuClient.h:
Remove this dead code since r192333.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@208179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/accessibility/AXTextStateChangeIntent.h b/Source/WebCore/accessibility/AXTextStateChangeIntent.h
index 389dd9a..1feccce 100644
--- a/Source/WebCore/accessibility/AXTextStateChangeIntent.h
+++ b/Source/WebCore/accessibility/AXTextStateChangeIntent.h
@@ -23,8 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AXTextStateChangeIntent_h
-#define AXTextStateChangeIntent_h
+#pragma once
namespace WebCore {
@@ -92,6 +91,4 @@
{ }
};
-}
-
-#endif // AXTextStateChangeIntent_h
+} // namespace WebCore