2011-01-17 Tony Gentilcore <tonyg@chromium.org>
authortonyg@chromium.org <tonyg@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Jan 2011 21:38:32 +0000 (21:38 +0000)
committertonyg@chromium.org <tonyg@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Jan 2011 21:38:32 +0000 (21:38 +0000)
        Reviewed by Alexey Proskuryakov.

        Fix some headers with missing or misspelled #ifndef guards
        https://bugs.webkit.org/show_bug.cgi?id=52545

        * wtf/RefPtrHashMap.h:
2011-01-17  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Fix some headers with missing or misspelled #ifndef guards
        https://bugs.webkit.org/show_bug.cgi?id=52545

        No new tests because no new functionality.

        * ForwardingHeaders/runtime/InitializeThreading.h:
        * editing/SmartReplace.h:
        * loader/CrossOriginAccessControl.h:
        * loader/NetscapePlugInStreamLoader.h:
        * platform/chromium/ClipboardUtilitiesChromium.h:
        * platform/graphics/cairo/DrawErrorUnderline.h:
        * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
        * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
        * platform/graphics/cg/PDFDocumentImage.h:
        * platform/win/WebCoreTextRenderer.h:
2011-01-17  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Fix some headers with missing or misspelled #ifndef guards
        https://bugs.webkit.org/show_bug.cgi?id=52545

        * WebKitStatistics.h:
2011-01-17  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Fix some headers with missing or misspelled #ifndef guards
        https://bugs.webkit.org/show_bug.cgi?id=52545

        * Shared/UserMessageCoders.h:
        * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h:
        * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
        * WebProcess/WebProcessMain.h:
2011-01-17  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Fix some headers with missing or misspelled #ifndef guards
        https://bugs.webkit.org/show_bug.cgi?id=52545

        * DumpRenderTree/chromium/TestEventPrinter.h:
        * DumpRenderTree/chromium/WebPreferences.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75971 268f45cc-cd09-0410-ab3c-d52691b4dbfc

23 files changed:
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/RefPtrHashMap.h
Source/WebCore/ChangeLog
Source/WebCore/ForwardingHeaders/runtime/InitializeThreading.h
Source/WebCore/editing/SmartReplace.h
Source/WebCore/loader/CrossOriginAccessControl.h
Source/WebCore/loader/NetscapePlugInStreamLoader.h
Source/WebCore/platform/chromium/ClipboardUtilitiesChromium.h
Source/WebCore/platform/graphics/cairo/DrawErrorUnderline.h
Source/WebCore/platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h
Source/WebCore/platform/graphics/cg/GraphicsContextPlatformPrivateCG.h
Source/WebCore/platform/graphics/cg/PDFDocumentImage.h
Source/WebCore/platform/win/WebCoreTextRenderer.h
Source/WebKit/win/ChangeLog
Source/WebKit/win/WebKitStatistics.h
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/UserMessageCoders.h
Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h
Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h
Source/WebKit2/WebProcess/WebProcessMain.h
Tools/ChangeLog
Tools/DumpRenderTree/chromium/TestEventPrinter.h
Tools/DumpRenderTree/chromium/WebPreferences.h

index c7b358920ba8e2a2500a62678be83170231edf2e..d79c78238e7ee7527b94513d30dad99f3223a207 100644 (file)
@@ -1,3 +1,12 @@
+2011-01-17  Tony Gentilcore  <tonyg@chromium.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Fix some headers with missing or misspelled #ifndef guards
+        https://bugs.webkit.org/show_bug.cgi?id=52545
+
+        * wtf/RefPtrHashMap.h:
+
 2011-01-17  Dan Bernstein  <mitz@apple.com>
 
         Rubber-stamped by Mark Rowe.
index 7f6ebfeaddae442097f3d692cf72203e5decbbe9..b9e7eea443ee545186304e55464d2027c7384de1 100644 (file)
@@ -18,6 +18,9 @@
  *
  */
 
+#ifndef RefPtrHashMap_h
+#define RefPtrHashMap_h
+
 namespace WTF {
 
     // This specialization is a direct copy of HashMap, with overloaded functions
@@ -334,3 +337,5 @@ namespace WTF {
     }
 
 } // namespace WTF
+
+#endif // RefPtrHashMap_h
index 35c0beb2aa404da1a4b2bb86dbfd90d45ee19d46..7d88f3b8ee3d0b10aad6fe4ff81b22550f6fb8d7 100644 (file)
@@ -1,3 +1,23 @@
+2011-01-17  Tony Gentilcore  <tonyg@chromium.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Fix some headers with missing or misspelled #ifndef guards
+        https://bugs.webkit.org/show_bug.cgi?id=52545
+
+        No new tests because no new functionality.
+
+        * ForwardingHeaders/runtime/InitializeThreading.h:
+        * editing/SmartReplace.h:
+        * loader/CrossOriginAccessControl.h:
+        * loader/NetscapePlugInStreamLoader.h:
+        * platform/chromium/ClipboardUtilitiesChromium.h:
+        * platform/graphics/cairo/DrawErrorUnderline.h:
+        * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
+        * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
+        * platform/graphics/cg/PDFDocumentImage.h:
+        * platform/win/WebCoreTextRenderer.h:
+
 2011-01-17  Pavel Feldman  <pfeldman@chromium.org>
 
         Not reviewed: follow-up fix for r52574: do not reuse clear() for navigation.
index bd4f735d6823fc11e6b18832bf748726901c443a..ee1f85651f4a7e32bf31197524682d86525432d8 100644 (file)
@@ -1,4 +1,4 @@
-#ifndef WebCore_FWD_InitializeThreadingn_h
+#ifndef WebCore_FWD_InitializeThreading_h
 #define WebCore_FWD_InitializeThreading_h
 #include <JavaScriptCore/InitializeThreading.h>
 #endif
index 5a37137f30d35f916d1ce31b76f2c917c17ddade..b072e58d7c9858516aed4806a54c3b574887fabc 100644 (file)
@@ -26,6 +26,9 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef SmartReplace_h
+#define SmartReplace_h
+
 #include <wtf/unicode/Unicode.h>
 
 namespace WebCore {
@@ -33,3 +36,5 @@ namespace WebCore {
 bool isCharacterSmartReplaceExempt(UChar32 c, bool isPreviousCharacter);
 
 } // namespace WebCore
+
+#endif // SmartReplace_h
index c44963be63ee98b082b52903cfb7081ec2b9052f..50c231ea5f01bd0f0475c6cc88416b366ff6b045 100644 (file)
@@ -24,6 +24,9 @@
  *
  */
 
+#ifndef CrossOriginAccessControl_h
+#define CrossOriginAccessControl_h
+
 #include <wtf/Forward.h>
 
 namespace WebCore {
@@ -40,3 +43,5 @@ namespace WebCore {
     bool passesAccessControlCheck(const ResourceResponse&, bool includeCredentials, SecurityOrigin*, String& errorDescription);
 
 } // namespace WebCore
+
+#endif // CrossOriginAccessControl_h
index 4d7d03bae2a942c28f8774e4fc37d21fc62deec0..8db555e1621e98e83bdd6468e273390a51c2291f 100644 (file)
@@ -26,6 +26,9 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef NetscapePlugInStreamLoader_h
+#define NetscapePlugInStreamLoader_h
+
 #include "ResourceLoader.h"
 #include <wtf/Forward.h>
 
@@ -68,3 +71,5 @@ namespace WebCore {
     };
 
 }
+
+#endif // NetscapePlugInStreamLoader_h
index 9fdad4299c2c5c10e746c96842c2f0961ad47b56..3e6f92a75c2aba1f816b8c6a7c21f6bceddf92c6 100644 (file)
@@ -28,6 +28,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef ClipboardUtilitiesChromium_h
+#define ClipboardUtilitiesChromium_h
+
 #include <wtf/Forward.h>
 
 namespace WebCore {
@@ -40,3 +43,5 @@ void replaceNewlinesWithWindowsStyleNewlines(String&);
 void replaceNBSPWithSpace(String&);
 
 } // namespace WebCore
+
+#endif // ClipboardUtilitiesChromium_h
index 1e0a8463e7dcaf65b1fca529497c9363d0167fb4..b90bb8cbe1734209f4070725b8f03cdcab2ddf7f 100644 (file)
@@ -23,6 +23,9 @@
 
 #if PLATFORM(CAIRO)
 
+#ifndef DrawErrorUnderline_h
+#define DrawErrorUnderline_h
+
 #include <cairo.h>
 
 //
@@ -96,4 +99,6 @@ static inline void drawErrorUnderline(cairo_t* cr, double x, double y, double wi
     }
 }
 
+#endif // DrawErrorUnderline_h
+
 #endif
index 5602b6cbfc830899b43f3edcce89611301715397..a0dfc8c587c0e86ba8294193ca06a8e6558e460b 100644 (file)
@@ -25,6 +25,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
+#ifndef GraphicsContextPlatformPrivateCairo_h
+#define GraphicsContextPlatformPrivateCairo_h
+
 #include "GraphicsContext.h"
 
 #include "ContextShadow.h"
@@ -111,3 +114,4 @@ public:
 
 } // namespace WebCore
 
+#endif // GraphicsContextPlatformPrivateCairo_h
index 1d0a99f3d388ce6ddc4e74e53d3ae83b2bf8a688..d4fa32eb91cb4b6b317dfc766844e46be48012d3 100644 (file)
@@ -23,6 +23,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
+#ifndef GraphicsContextPlatformPrivateCG_h
+#define GraphicsContextPlatformPrivateCG_h
+
 #include <wtf/RetainPtr.h>
 #include <CoreGraphics/CGContext.h>
 
@@ -84,3 +87,5 @@ public:
 };
 
 }
+
+#endif // GraphicsContextPlatformPrivateCG_h
index 790d620d29798ecce1b8bdf276d1be1b550c568b..ecd57befb716e16cf597371ca6c004959f8db4da 100644 (file)
@@ -23,6 +23,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
+#ifndef PDFDocumentImage_h
+#define PDFDocumentImage_h
+
 #include "Image.h"
 
 #include "FloatRect.h"
@@ -76,3 +79,5 @@ namespace WebCore {
 }
 
 #endif // PLATFORM(CG)
+
+#endif // PDFDocumentImage_h
index 7efc1f39d9e8e79e28106b886c22f31af56e8161..6deef4a378575a199327d42dfa53ba002bee93fc 100644 (file)
@@ -23,6 +23,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
+#ifndef WebCoreTextRenderer_h
+#define WebCoreTextRenderer_h
+
 #include <wtf/Forward.h>
 
 namespace WebCore {
@@ -43,3 +46,5 @@ namespace WebCore {
     bool WebCoreAlwaysUsesComplexTextCodePath();
 
 } // namespace WebCore
+
+#endif // WebCoreTextRenderer_h
index 1c30ba1fd75fc2d524e058b604c444953ee297ea..1d90743d6754d172aa272c79fe119b46336a65c4 100644 (file)
@@ -1,3 +1,12 @@
+2011-01-17  Tony Gentilcore  <tonyg@chromium.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Fix some headers with missing or misspelled #ifndef guards
+        https://bugs.webkit.org/show_bug.cgi?id=52545
+
+        * WebKitStatistics.h:
+
 2011-01-17  Pavel Feldman  <pfeldman@chromium.org>
 
         Reviewed by Yury Semikhatsky.
index b7d116dd0c6d27712f197b59fed8e7952daa1783..5de79f5a2b2b93d573dba6a66498818a7c93b94a 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 #ifndef WebKitStatistics_h
-#define WebkitStatistics_h
+#define WebKitStatistics_h
 
 #include "WebKit.h"
 
@@ -70,4 +70,4 @@ protected:
     ULONG m_refCount;
 };
 
-#endif
+#endif // WebKitStatistics_h
index f2a693f3781be971730696ca89f9a1263f014fc2..c836cfa211e7587344d001c7c4b76283d831630f 100644 (file)
@@ -1,3 +1,15 @@
+2011-01-17  Tony Gentilcore  <tonyg@chromium.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Fix some headers with missing or misspelled #ifndef guards
+        https://bugs.webkit.org/show_bug.cgi?id=52545
+
+        * Shared/UserMessageCoders.h:
+        * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h:
+        * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
+        * WebProcess/WebProcessMain.h:
+
 2011-01-17  Alexey Proskuryakov  <ap@apple.com>
 
         Build fix.
index e1d0e19fcc672c1d1cf108ecf0a5f912be8ec71d..1326a989168bfcbae4f948e2c67f95f7a51b8103 100644 (file)
@@ -23,6 +23,9 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef UserMessageCoders_h
+#define UserMessageCoders_h
+
 #include "ArgumentDecoder.h"
 #include "ArgumentEncoder.h"
 #include "ImmutableArray.h"
@@ -302,3 +305,5 @@ protected:
 };
 
 } // namespace WebKit
+
+#endif // UserMessageCoders_h
index 4670e416905da5b9c6a3b8f1503454af97c88e41..eff46007321daf3935b4b20b6c71cfcf72bfacf4 100644 (file)
@@ -23,6 +23,9 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef InjectedBundleNodeHandle_h
+#define InjectedBundleNodeHandle_h
+
 #include "APIObject.h"
 #include <JavaScriptCore/JSBase.h>
 #include <wtf/Forward.h>
@@ -72,3 +75,5 @@ private:
 };
 
 } // namespace WebKit
+
+#endif // InjectedBundleNodeHandle_h
index 6e434c77dbb507911cb0410914f0c59b4c1b443d..49d66966a673729ee405d0d0c10018c168f33e3b 100644 (file)
@@ -23,6 +23,9 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef InjectedBundleUserMessageCoders_h
+#define InjectedBundleUserMessageCoders_h
+
 #include "UserMessageCoders.h"
 #include "WebFrame.h"
 #include "WebPage.h"
@@ -134,3 +137,5 @@ public:
 };
 
 } // namespace WebKit
+
+#endif // InjectedBundleUserMessageCoders_h
index 8923bdd0e2239d3b1fffcdea71bfe5a820f9fef6..a287d638710bd64a8981cf79d1d3d4b904426568 100644 (file)
@@ -23,6 +23,9 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef WebProcessMain_h
+#define WebProcessMain_h
+
 #include "WKBase.h"
 
 namespace WebKit {
@@ -32,3 +35,5 @@ class CommandLine;
 int WebProcessMain(const CommandLine&);
 
 } // namespace WebKit
+
+#endif // WebProcessMain_h
index 6551dbe765810b70a01914b2ef78cdcea2317dce..9c81c473f714c956db09734dece07c269f907f2d 100644 (file)
@@ -1,3 +1,13 @@
+2011-01-17  Tony Gentilcore  <tonyg@chromium.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        Fix some headers with missing or misspelled #ifndef guards
+        https://bugs.webkit.org/show_bug.cgi?id=52545
+
+        * DumpRenderTree/chromium/TestEventPrinter.h:
+        * DumpRenderTree/chromium/WebPreferences.h:
+
 2011-01-17  Jessie Berlin  <jberlin@apple.com>
 
         Reviewed by Anders Carlsson.
index fdbfd025ca2b224c484b0343ab53e50a336c447c..337aa1cee233e3a0994b2e2851fdfa1daa5ed780 100644 (file)
@@ -28,6 +28,9 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef TestEventPrinter_h
+#define TestEventPrinter_h
+
 class TestEventPrinter {
 public:
     static TestEventPrinter* createDRTPrinter();
@@ -41,3 +44,5 @@ public:
     virtual void handleImageFooter() const = 0;
     virtual void handleTestFooter(bool dumpedAnything) const = 0;
 };
+
+#endif // TestEventPrinter_h
index 46877c03dd6eb859fa0ea44f99e19ff30b00a087..50bb8cce967a4ff9c8510146afeace00d61d524f 100644 (file)
@@ -29,7 +29,7 @@
  */
 
 #ifndef WebPreferences_h
-#define WebPerferences_h
+#define WebPreferences_h
 
 #include "WebSettings.h"
 #include "WebString.h"