Diff
Modified: trunk/Source/WebCore/CMakeLists.txt (147920 => 147921)
--- trunk/Source/WebCore/CMakeLists.txt 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/CMakeLists.txt 2013-04-08 16:52:09 UTC (rev 147921)
@@ -1847,7 +1847,6 @@
platform/KURL.cpp
platform/KillRingNone.cpp
platform/Language.cpp
- platform/LayoutTestSupport.cpp
platform/Length.cpp
platform/LengthBox.cpp
platform/LinkHash.cpp
Modified: trunk/Source/WebCore/ChangeLog (147920 => 147921)
--- trunk/Source/WebCore/ChangeLog 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/ChangeLog 2013-04-08 16:52:09 UTC (rev 147921)
@@ -1,5 +1,26 @@
2013-04-08 Zan Dobersek <[email protected]>
+ Remove the unused LayoutTestSupport class
+ https://bugs.webkit.org/show_bug.cgi?id=114170
+
+ Reviewed by Alexey Proskuryakov.
+
+ The LayoutTestSupport class is not used by any port anywhere in the code and should be removed.
+
+ No new tests - no changes in functionality.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * Target.pri:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/LayoutTestSupport.cpp: Removed.
+ * platform/LayoutTestSupport.h: Removed.
+
+2013-04-08 Zan Dobersek <[email protected]>
+
Remove WebCore::(enable|disable)SecureTextInput methods
https://bugs.webkit.org/show_bug.cgi?id=114126
Modified: trunk/Source/WebCore/GNUmakefile.list.am (147920 => 147921)
--- trunk/Source/WebCore/GNUmakefile.list.am 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/GNUmakefile.list.am 2013-04-08 16:52:09 UTC (rev 147921)
@@ -5835,8 +5835,6 @@
Source/WebCore/platform/image-decoders/png/PNGImageDecoder.h \
Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.cpp \
Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.h \
- Source/WebCore/platform/LayoutTestSupport.cpp \
- Source/WebCore/platform/LayoutTestSupport.h \
Source/WebCore/platform/linux/GamepadDeviceLinux.cpp \
Source/WebCore/platform/linux/GamepadDeviceLinux.h \
Source/WebCore/platform/mediastream/MediaConstraints.h \
Modified: trunk/Source/WebCore/Target.pri (147920 => 147921)
--- trunk/Source/WebCore/Target.pri 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/Target.pri 2013-04-08 16:52:09 UTC (rev 147921)
@@ -1071,7 +1071,6 @@
platform/KillRingNone.cpp \
platform/KURL.cpp \
platform/Language.cpp \
- platform/LayoutTestSupport.cpp \
platform/Length.cpp \
platform/LengthBox.cpp \
platform/text/LineEnding.cpp \
Modified: trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj (147920 => 147921)
--- trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj 2013-04-08 16:52:09 UTC (rev 147921)
@@ -29023,14 +29023,6 @@
>
</File>
<File
- RelativePath="..\platform\LayoutTestSupport.cpp"
- >
- </File>
- <File
- RelativePath="..\platform\LayoutTestSupport.h"
- >
- </File>
- <File
RelativePath="..\platform\LayoutUnit.h"
>
</File>
Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (147920 => 147921)
--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj 2013-04-08 16:52:09 UTC (rev 147921)
@@ -4103,7 +4103,6 @@
<ClCompile Include="..\platform\KillRingNone.cpp" />
<ClCompile Include="..\platform\KURL.cpp" />
<ClCompile Include="..\platform\Language.cpp" />
- <ClCompile Include="..\platform\LayoutTestSupport.cpp" />
<ClCompile Include="..\platform\Length.cpp" />
<ClCompile Include="..\platform\LengthBox.cpp" />
<ClCompile Include="..\platform\LinkHash.cpp" />
@@ -11580,7 +11579,6 @@
<ClInclude Include="..\platform\KURL.h" />
<ClInclude Include="..\platform\KURLHash.h" />
<ClInclude Include="..\platform\Language.h" />
- <ClInclude Include="..\platform\LayoutTestSupport.h" />
<ClInclude Include="..\platform\LayoutUnit.h" />
<ClInclude Include="..\platform\Length.h" />
<ClInclude Include="..\platform\LengthBox.h" />
Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (147920 => 147921)
--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters 2013-04-08 16:52:09 UTC (rev 147921)
@@ -2517,9 +2517,6 @@
<ClCompile Include="..\platform\Language.cpp">
<Filter>platform</Filter>
</ClCompile>
- <ClCompile Include="..\platform\LayoutTestSupport.cpp">
- <Filter>platform</Filter>
- </ClCompile>
<ClCompile Include="..\platform\Length.cpp">
<Filter>platform</Filter>
</ClCompile>
@@ -9345,9 +9342,6 @@
<ClInclude Include="..\platform\Language.h">
<Filter>platform</Filter>
</ClInclude>
- <ClInclude Include="..\platform\LayoutTestSupport.h">
- <Filter>platform</Filter>
- </ClInclude>
<ClInclude Include="..\platform\LayoutUnit.h">
<Filter>platform</Filter>
</ClInclude>
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (147920 => 147921)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2013-04-08 16:52:09 UTC (rev 147921)
@@ -5310,7 +5310,6 @@
D3D4E973130C7CFE007BA540 /* HTMLSummaryElement.h in Headers */ = {isa = PBXBuildFile; fileRef = D3D4E971130C7CFE007BA540 /* HTMLSummaryElement.h */; };
D619A307144E00BE004BC302 /* ChildListMutationScope.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D619A305144E00BE004BC302 /* ChildListMutationScope.cpp */; };
D619A308144E00BE004BC302 /* ChildListMutationScope.h in Headers */ = {isa = PBXBuildFile; fileRef = D619A306144E00BE004BC302 /* ChildListMutationScope.h */; };
- D630E2AC149BF344005B2F93 /* LayoutTestSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = D630E2AB149BF344005B2F97 /* LayoutTestSupport.h */; };
D630E2AC149BF344005B2F95 /* MemoryUsageSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = D630E2AB149BF344005B2F95 /* MemoryUsageSupport.h */; };
D630E2AC149BF344005B2F96 /* EventTracer.h in Headers */ = {isa = PBXBuildFile; fileRef = D630E2AB149BF344005B2F96 /* EventTracer.h */; };
D6489D25166FFCF1007C031B /* JSHTMLTemplateElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D6489D23166FFCF1007C031B /* JSHTMLTemplateElement.cpp */; };
@@ -5325,7 +5324,6 @@
D6FDAEF3149C06190037B1E1 /* HistogramSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D6FDAEF2149C06190037B1E1 /* HistogramSupport.cpp */; };
D6FDAEF3149C06190037B1E3 /* MemoryUsageSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D6FDAEF2149C06190037B1E3 /* MemoryUsageSupport.cpp */; };
D6FDAEF3149C06190037B1E4 /* EventTracer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D6FDAEF2149C06190037B1E4 /* EventTracer.cpp */; };
- D6FDAEF3149C06190037B1E5 /* LayoutTestSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D6FDAEF2149C06190037B1E5 /* LayoutTestSupport.cpp */; };
D70AD65713E1342B005B50B4 /* RenderRegion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D70AD65513E1342B005B50B4 /* RenderRegion.cpp */; };
D70AD65813E1342B005B50B4 /* RenderRegion.h in Headers */ = {isa = PBXBuildFile; fileRef = D70AD65613E1342B005B50B4 /* RenderRegion.h */; };
D72F6D79153159A3001EE44E /* FlowThreadController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D72F6D77153159A3001EE44E /* FlowThreadController.cpp */; };
@@ -12077,7 +12075,6 @@
D630E2AB149BF344005B2F93 /* HistogramSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HistogramSupport.h; sourceTree = "<group>"; };
D630E2AB149BF344005B2F95 /* MemoryUsageSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MemoryUsageSupport.h; sourceTree = "<group>"; };
D630E2AB149BF344005B2F96 /* EventTracer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventTracer.h; sourceTree = "<group>"; };
- D630E2AB149BF344005B2F97 /* LayoutTestSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LayoutTestSupport.h; sourceTree = "<group>"; };
D6489D23166FFCF1007C031B /* JSHTMLTemplateElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLTemplateElement.cpp; sourceTree = "<group>"; };
D6489D24166FFCF1007C031B /* JSHTMLTemplateElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSHTMLTemplateElement.h; sourceTree = "<group>"; };
D6E276AD14637455001D280A /* MutationObserverRegistration.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MutationObserverRegistration.cpp; sourceTree = "<group>"; };
@@ -12091,7 +12088,6 @@
D6FDAEF2149C06190037B1E1 /* HistogramSupport.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HistogramSupport.cpp; sourceTree = "<group>"; };
D6FDAEF2149C06190037B1E3 /* MemoryUsageSupport.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MemoryUsageSupport.cpp; sourceTree = "<group>"; };
D6FDAEF2149C06190037B1E4 /* EventTracer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EventTracer.cpp; sourceTree = "<group>"; };
- D6FDAEF2149C06190037B1E5 /* LayoutTestSupport.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LayoutTestSupport.cpp; sourceTree = "<group>"; };
D70AD65513E1342B005B50B4 /* RenderRegion.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderRegion.cpp; sourceTree = "<group>"; };
D70AD65613E1342B005B50B4 /* RenderRegion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderRegion.h; sourceTree = "<group>"; };
D72F6D77153159A3001EE44E /* FlowThreadController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FlowThreadController.cpp; sourceTree = "<group>"; };
@@ -19285,8 +19281,6 @@
BCBD21AA0E417AD400A070F2 /* KURLHash.h */,
E18772F0126E2629003DD586 /* Language.cpp */,
85EC9AF90A71A2C600EEEAED /* Language.h */,
- D6FDAEF2149C06190037B1E5 /* LayoutTestSupport.cpp */,
- D630E2AB149BF344005B2F97 /* LayoutTestSupport.h */,
141DC0471648348F00371E5A /* LayoutUnit.h */,
BCE65BE80EACDF16007E4533 /* Length.cpp */,
BCE65BE90EACDF16007E4533 /* Length.h */,
@@ -22793,7 +22787,6 @@
A12538D413F9B60A00024754 /* LayoutRepainter.h in Headers */,
141DC054164834B900371E5A /* LayoutSize.h in Headers */,
2D9066070BE141D400956998 /* LayoutState.h in Headers */,
- D630E2AC149BF344005B2F93 /* LayoutTestSupport.h in Headers */,
141DC0481648348F00371E5A /* LayoutUnit.h in Headers */,
512DD8F50D91E6AF000F89EE /* LegacyWebArchive.h in Headers */,
BCE65BEB0EACDF16007E4533 /* Length.h in Headers */,
@@ -25985,7 +25978,6 @@
141DC052164834B900371E5A /* LayoutRect.cpp in Sources */,
A120ACA413F998CA00FE4AC7 /* LayoutRepainter.cpp in Sources */,
2D9066060BE141D400956998 /* LayoutState.cpp in Sources */,
- D6FDAEF3149C06190037B1E5 /* LayoutTestSupport.cpp in Sources */,
512DD8F40D91E6AF000F89EE /* LegacyWebArchive.cpp in Sources */,
51B2417B0D931F3F00E83F5C /* LegacyWebArchiveMac.mm in Sources */,
BCE65BEA0EACDF16007E4533 /* Length.cpp in Sources */,
Deleted: trunk/Source/WebCore/platform/LayoutTestSupport.cpp (147920 => 147921)
--- trunk/Source/WebCore/platform/LayoutTestSupport.cpp 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/platform/LayoutTestSupport.cpp 2013-04-08 16:52:09 UTC (rev 147921)
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- * * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "LayoutTestSupport.h"
-
-namespace WebCore {
-
-static bool s_isRunningLayoutTest = false;
-
-bool isRunningLayoutTest()
-{
- return s_isRunningLayoutTest;
-}
-
-void setIsRunningLayoutTest(bool value)
-{
- s_isRunningLayoutTest = value;
-}
-
-} // namespace WebCore
Deleted: trunk/Source/WebCore/platform/LayoutTestSupport.h (147920 => 147921)
--- trunk/Source/WebCore/platform/LayoutTestSupport.h 2013-04-08 16:51:01 UTC (rev 147920)
+++ trunk/Source/WebCore/platform/LayoutTestSupport.h 2013-04-08 16:52:09 UTC (rev 147921)
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- * * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef LayoutTestSupport_h
-#define LayoutTestSupport_h
-
-namespace WebCore {
-
-bool isRunningLayoutTest();
-void setIsRunningLayoutTest(bool);
-
-} // namespace WebCore
-
-#endif // LayoutTestSupport_h