Remove unnecessary includes for Platform.h from headers
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Feb 2013 21:45:56 +0000 (21:45 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Feb 2013 21:45:56 +0000 (21:45 +0000)
https://bugs.webkit.org/show_bug.cgi?id=110300

Patch by Laszlo Gombos <l.gombos@samsung.com> on 2013-02-20
Reviewed by Alexey Proskuryakov.

Source/WebCore:

wtf/Platform.h only need to be included in a few places directly
as it is included in config.h. Remove the unnecessay duplicate as
it can be confusing.

No new tests, no change in functionality.

* platform/SecureTextInput.h:
* platform/audio/Biquad.h:
* platform/audio/FFTFrame.h:
* platform/graphics/cpu/arm/filters/FEBlendNEON.h:
* platform/graphics/cpu/arm/filters/NEONHelpers.h:
* platform/graphics/filters/FELighting.h:

Source/WebKit2:

wtf/Platform.h only need to be included in a few places directly
as it is included in config.h. Remove the unnecessay duplicate as
it can be confusing.

* Shared/PrintInfo.h:

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

Source/WebCore/ChangeLog
Source/WebCore/platform/SecureTextInput.h
Source/WebCore/platform/audio/Biquad.h
Source/WebCore/platform/audio/FFTFrame.h
Source/WebCore/platform/graphics/cpu/arm/filters/FEBlendNEON.h
Source/WebCore/platform/graphics/cpu/arm/filters/NEONHelpers.h
Source/WebCore/platform/graphics/filters/FELighting.h
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/PrintInfo.h

index 10bffb3800f73ee64b18569f7af05482801dca9a..56ff724cce02c76065bfa6374f4933c6cd9cd45d 100644 (file)
@@ -1,3 +1,23 @@
+2013-02-20  Laszlo Gombos  <l.gombos@samsung.com>
+
+        Remove unnecessary includes for Platform.h from headers
+        https://bugs.webkit.org/show_bug.cgi?id=110300
+
+        Reviewed by Alexey Proskuryakov.
+
+        wtf/Platform.h only need to be included in a few places directly
+        as it is included in config.h. Remove the unnecessay duplicate as
+        it can be confusing.
+
+        No new tests, no change in functionality.
+
+        * platform/SecureTextInput.h:
+        * platform/audio/Biquad.h:
+        * platform/audio/FFTFrame.h:
+        * platform/graphics/cpu/arm/filters/FEBlendNEON.h:
+        * platform/graphics/cpu/arm/filters/NEONHelpers.h:
+        * platform/graphics/filters/FELighting.h:
+
 2013-02-20  Florin Malita  <fmalita@chromium.org>
 
         [SVG] Update of element referenced by multiple 'use' nodes is absurdly slow
index f1fc08397fa9be2b10f05f1555fa757587dd1ed9..608aa638e4d3392e211564c6f304f47c8dbad359 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef SecureTextInput_h
 #define SecureTextInput_h
 
-#include <wtf/Platform.h>
-
 namespace WebCore {
 
 // Once enableSecureTextInput is called, secure text input mode is set until
index 494c0309246c64f4fe7e1ad7fff553a4052276ea..822fc516a3dd7a17935eee611d734d6acc0ad941 100644 (file)
@@ -32,7 +32,6 @@
 #include "AudioArray.h"
 #include <sys/types.h>
 #include <wtf/Complex.h>
-#include <wtf/Platform.h>
  
 #if USE(WEBAUDIO_IPP)
 #include <ipps.h>
index 6c15349d9718689e35393f8c0e5deb2a5823a44a..55ad09be63f55e88f2a438d5e83e1ad41c1bfaa7 100644 (file)
@@ -66,7 +66,6 @@ struct RDFTContext;
 
 #include <wtf/Forward.h>
 #include <wtf/PassOwnPtr.h>
-#include <wtf/Platform.h>
 #include <wtf/Threading.h>
 
 namespace WebCore {
index 97418f2c10d1b69df4db5328813ebbdd54aa7ce7..e41ffa216b205a16def6bb61270052c69e2280a2 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef FEBlendNEON_h
 #define FEBlendNEON_h
 
-#include <wtf/Platform.h>
-
 #if ENABLE(FILTERS) && HAVE(ARM_NEON_INTRINSICS)
 
 #include "FEBlend.h"
index 53cdc77b614cf953b9613a30cc9c607877242faa..3708b9d0accf37e898197f24708dc0265f70e3c6 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef NEONHelpers_h
 #define NEONHelpers_h
 
-#include <wtf/Platform.h>
-
 #if ENABLE(FILTERS) && HAVE(ARM_NEON_INTRINSICS)
 
 #include <arm_neon.h>
index 288985d4288e2930dd862f74821586aeaa191076..448f02d4f8040f36ac6fe5c55b2871fe3c057cd8 100644 (file)
@@ -34,7 +34,6 @@
 #include "LightSource.h"
 #include "PointLightSource.h"
 #include "SpotLightSource.h"
-#include <wtf/Platform.h>
 #include <wtf/Uint8ClampedArray.h>
 
 // Common base class for FEDiffuseLighting and FESpecularLighting
index bc77ec251f47d2bae75e1ea009fdd733f8a50d4a..9d4f629520788b954d875f42e5a1cde67c575641 100644 (file)
@@ -1,3 +1,16 @@
+2013-02-20  Laszlo Gombos  <l.gombos@samsung.com>
+
+        Remove unnecessary includes for Platform.h from headers
+        https://bugs.webkit.org/show_bug.cgi?id=110300
+
+        Reviewed by Alexey Proskuryakov.
+
+        wtf/Platform.h only need to be included in a few places directly    
+        as it is included in config.h. Remove the unnecessay duplicate as    
+        it can be confusing.
+
+        * Shared/PrintInfo.h:
+
 2013-02-20  Huang Dongsung  <luxtella@company100.net>
 
         [WK2] Remove m_viewportSize in WebPage.
index e801b8dda11e94ade9347d3543ea667b7fbdf9ee..3aeaa90b382fcc60905ffbf07240e188246ba5f1 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef PrintInfo_h
 #define PrintInfo_h
 
-#include <wtf/Platform.h>
-
 #if PLATFORM(MAC)
 OBJC_CLASS NSPrintInfo;
 #elif PLATFORM(GTK)