Diff
Modified: trunk/Source/_javascript_Core/bytecode/GetByIdStatus.h (155307 => 155308)
--- trunk/Source/_javascript_Core/bytecode/GetByIdStatus.h 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/_javascript_Core/bytecode/GetByIdStatus.h 2013-09-08 18:24:32 UTC (rev 155308)
@@ -29,7 +29,6 @@
#include "IntendedStructureChain.h"
#include "PropertyOffset.h"
#include "StructureSet.h"
-#include <wtf/NotFound.h>
namespace JSC {
Modified: trunk/Source/_javascript_Core/bytecode/PutByIdStatus.h (155307 => 155308)
--- trunk/Source/_javascript_Core/bytecode/PutByIdStatus.h 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/_javascript_Core/bytecode/PutByIdStatus.h 2013-09-08 18:24:32 UTC (rev 155308)
@@ -28,7 +28,6 @@
#include "IntendedStructureChain.h"
#include "PropertyOffset.h"
-#include <wtf/NotFound.h>
#include <wtf/text/StringImpl.h>
namespace JSC {
Modified: trunk/Source/_javascript_Core/runtime/PropertySlot.h (155307 => 155308)
--- trunk/Source/_javascript_Core/runtime/PropertySlot.h 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/_javascript_Core/runtime/PropertySlot.h 2013-09-08 18:24:32 UTC (rev 155308)
@@ -26,7 +26,6 @@
#include "PropertyOffset.h"
#include "Register.h"
#include <wtf/Assertions.h>
-#include <wtf/NotFound.h>
namespace JSC {
Modified: trunk/Source/WTF/ChangeLog (155307 => 155308)
--- trunk/Source/WTF/ChangeLog 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WTF/ChangeLog 2013-09-08 18:24:32 UTC (rev 155308)
@@ -1,3 +1,19 @@
+2013-09-08 Anders Carlsson <[email protected]>
+
+ Move WTF::notFound to Vector.h and delete NotFound.h
+ https://bugs.webkit.org/show_bug.cgi?id=120990
+
+ Reviewed by Sam Weinig.
+
+ * GNUmakefile.list.am:
+ * WTF.pro:
+ * WTF.vcxproj/WTF.vcxproj:
+ * WTF.vcxproj/WTF.vcxproj.filters:
+ * WTF.xcodeproj/project.pbxproj:
+ * wtf/CMakeLists.txt:
+ * wtf/NotFound.h: Removed.
+ * wtf/Vector.h:
+
2013-09-07 David Kilzer <[email protected]>
gtest fails to build due to integer type mismatch in WTF::insertIntoBoundedVector()
Modified: trunk/Source/WTF/GNUmakefile.list.am (155307 => 155308)
--- trunk/Source/WTF/GNUmakefile.list.am 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WTF/GNUmakefile.list.am 2013-09-08 18:24:32 UTC (rev 155308)
@@ -92,7 +92,6 @@
Source/WTF/wtf/NeverDestroyed.h \
Source/WTF/wtf/NoLock.h \
Source/WTF/wtf/Noncopyable.h \
- Source/WTF/wtf/NotFound.h \
Source/WTF/wtf/NullPtr.h \
Source/WTF/wtf/NumberOfCores.cpp \
Source/WTF/wtf/NumberOfCores.h \
Modified: trunk/Source/WTF/WTF.pro (155307 => 155308)
--- trunk/Source/WTF/WTF.pro 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WTF/WTF.pro 2013-09-08 18:24:32 UTC (rev 155308)
@@ -88,7 +88,6 @@
MetaAllocatorHandle.h \
Ref.h \
Noncopyable.h \
- NotFound.h \
NullPtr.h \
NumberOfCores.h \
RAMSize.h \
Modified: trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj (155307 => 155308)
--- trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj 2013-09-08 18:24:32 UTC (rev 155308)
@@ -192,7 +192,6 @@
<ClInclude Include="..\wtf\MetaAllocatorHandle.h" />
<ClInclude Include="..\wtf\NeverDestroyed.h" />
<ClInclude Include="..\wtf\Noncopyable.h" />
- <ClInclude Include="..\wtf\NotFound.h" />
<ClInclude Include="..\wtf\NullPtr.h" />
<ClInclude Include="..\wtf\NumberOfCores.h" />
<ClInclude Include="..\wtf\OSRandomSource.h" />
Modified: trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters (155307 => 155308)
--- trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters 2013-09-08 18:24:32 UTC (rev 155308)
@@ -500,9 +500,6 @@
<ClInclude Include="..\wtf\Noncopyable.h">
<Filter>wtf</Filter>
</ClInclude>
- <ClInclude Include="..\wtf\NotFound.h">
- <Filter>wtf</Filter>
- </ClInclude>
<ClInclude Include="..\wtf\NullPtr.h">
<Filter>wtf</Filter>
</ClInclude>
Modified: trunk/Source/WTF/WTF.xcodeproj/project.pbxproj (155307 => 155308)
--- trunk/Source/WTF/WTF.xcodeproj/project.pbxproj 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WTF/WTF.xcodeproj/project.pbxproj 2013-09-08 18:24:32 UTC (rev 155308)
@@ -157,7 +157,6 @@
A8A473ED151A825B004123FF /* MetaAllocator.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472CE151A825B004123FF /* MetaAllocator.h */; };
A8A473EE151A825B004123FF /* MetaAllocatorHandle.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472CF151A825B004123FF /* MetaAllocatorHandle.h */; };
A8A473EF151A825B004123FF /* Noncopyable.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472D0151A825B004123FF /* Noncopyable.h */; };
- A8A473F1151A825B004123FF /* NotFound.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472D2151A825B004123FF /* NotFound.h */; };
A8A473F2151A825B004123FF /* NullPtr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A472D3151A825B004123FF /* NullPtr.cpp */; };
A8A473F3151A825B004123FF /* NullPtr.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472D4151A825B004123FF /* NullPtr.h */; };
A8A473F4151A825B004123FF /* NumberOfCores.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A472D5151A825B004123FF /* NumberOfCores.cpp */; };
@@ -431,7 +430,6 @@
A8A472CE151A825B004123FF /* MetaAllocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MetaAllocator.h; sourceTree = "<group>"; };
A8A472CF151A825B004123FF /* MetaAllocatorHandle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MetaAllocatorHandle.h; sourceTree = "<group>"; };
A8A472D0151A825B004123FF /* Noncopyable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Noncopyable.h; sourceTree = "<group>"; };
- A8A472D2151A825B004123FF /* NotFound.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NotFound.h; sourceTree = "<group>"; };
A8A472D3151A825B004123FF /* NullPtr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NullPtr.cpp; sourceTree = "<group>"; };
A8A472D4151A825B004123FF /* NullPtr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NullPtr.h; sourceTree = "<group>"; };
A8A472D5151A825B004123FF /* NumberOfCores.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NumberOfCores.cpp; sourceTree = "<group>"; };
@@ -707,7 +705,6 @@
26299B6D17A9E5B800ADEBE5 /* Ref.h */,
0F0D85B317234CB100338210 /* NoLock.h */,
A8A472D0151A825B004123FF /* Noncopyable.h */,
- A8A472D2151A825B004123FF /* NotFound.h */,
A8A472D3151A825B004123FF /* NullPtr.cpp */,
A8A472D4151A825B004123FF /* NullPtr.h */,
A8A472D5151A825B004123FF /* NumberOfCores.cpp */,
@@ -1010,7 +1007,6 @@
A8A473EE151A825B004123FF /* MetaAllocatorHandle.h in Headers */,
0F0D85B417234CC100338210 /* NoLock.h in Headers */,
A8A473EF151A825B004123FF /* Noncopyable.h in Headers */,
- A8A473F1151A825B004123FF /* NotFound.h in Headers */,
A8A473F3151A825B004123FF /* NullPtr.h in Headers */,
A8A473F5151A825B004123FF /* NumberOfCores.h in Headers */,
7E29C33E15FFD79B00516D61 /* ObjcRuntimeExtras.h in Headers */,
Modified: trunk/Source/WTF/wtf/CMakeLists.txt (155307 => 155308)
--- trunk/Source/WTF/wtf/CMakeLists.txt 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WTF/wtf/CMakeLists.txt 2013-09-08 18:24:32 UTC (rev 155308)
@@ -56,7 +56,6 @@
ThreadRestrictionVerifier.h
Ref.h
Noncopyable.h
- NotFound.h
NullPtr.h
NumberOfCores.h
RAMSize.h
Deleted: trunk/Source/WTF/wtf/NotFound.h (155307 => 155308)
--- trunk/Source/WTF/wtf/NotFound.h 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WTF/wtf/NotFound.h 2013-09-08 18:24:32 UTC (rev 155308)
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2008 Apple 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:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. 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.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``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 APPLE INC. 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 NotFound_h
-#define NotFound_h
-
-namespace WTF {
-
- const size_t notFound = static_cast<size_t>(-1);
-
-} // namespace WTF
-
-using WTF::notFound;
-
-#endif // NotFound_h
Modified: trunk/Source/WTF/wtf/Vector.h (155307 => 155308)
--- trunk/Source/WTF/wtf/Vector.h 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WTF/wtf/Vector.h 2013-09-08 18:24:32 UTC (rev 155308)
@@ -26,7 +26,6 @@
#include <wtf/FastMalloc.h>
#include <wtf/MallocPtr.h>
#include <wtf/Noncopyable.h>
-#include <wtf/NotFound.h>
#include <wtf/OwnPtr.h>
#include <wtf/StdLibExtras.h>
#include <wtf/ValueCheck.h>
@@ -37,6 +36,8 @@
namespace WTF {
+const size_t notFound = static_cast<size_t>(-1);
+
template <bool needsDestruction, typename T>
struct VectorDestructor;
@@ -1219,5 +1220,6 @@
using WTF::Vector;
using WTF::UnsafeVectorOverflow;
+using WTF::notFound;
#endif // WTF_Vector_h
Modified: trunk/Source/WebCore/ChangeLog (155307 => 155308)
--- trunk/Source/WebCore/ChangeLog 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebCore/ChangeLog 2013-09-08 18:24:32 UTC (rev 155308)
@@ -1,3 +1,16 @@
+2013-09-08 Anders Carlsson <[email protected]>
+
+ Move WTF::notFound to Vector.h and delete NotFound.h
+ https://bugs.webkit.org/show_bug.cgi?id=120990
+
+ Reviewed by Sam Weinig.
+
+ * html/HTMLImageElement.cpp:
+ * loader/archive/mhtml/MHTMLParser.cpp:
+ * platform/graphics/cairo/GraphicsContext3DCairo.cpp:
+ * platform/graphics/win/GraphicsContext3DWin.cpp:
+ * platform/network/soup/SocketStreamHandleSoup.cpp:
+
2013-09-08 Commit Queue <[email protected]>
Unreviewed, rolling out r155069 and r155138.
Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp (155307 => 155308)
--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp 2013-09-08 18:24:32 UTC (rev 155308)
@@ -51,7 +51,6 @@
#include "WebKitAccessibleUtil.h"
#include "WebKitAccessibleWrapperAtk.h"
#include "htmlediting.h"
-#include <wtf/NotFound.h>
#include <wtf/gobject/GOwnPtr.h>
#include <wtf/text/CString.h>
Modified: trunk/Source/WebCore/html/HTMLImageElement.cpp (155307 => 155308)
--- trunk/Source/WebCore/html/HTMLImageElement.cpp 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebCore/html/HTMLImageElement.cpp 2013-09-08 18:24:32 UTC (rev 155308)
@@ -37,7 +37,6 @@
#include "Page.h"
#include "RenderImage.h"
#include "ScriptEventListener.h"
-#include <wtf/NotFound.h>
using namespace std;
Modified: trunk/Source/WebCore/loader/archive/mhtml/MHTMLParser.cpp (155307 => 155308)
--- trunk/Source/WebCore/loader/archive/mhtml/MHTMLParser.cpp 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebCore/loader/archive/mhtml/MHTMLParser.cpp 2013-09-08 18:24:32 UTC (rev 155308)
@@ -38,7 +38,6 @@
#include "MIMETypeRegistry.h"
#include "QuotedPrintable.h"
#include <wtf/HashMap.h>
-#include <wtf/NotFound.h>
#include <wtf/text/Base64.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp (155307 => 155308)
--- trunk/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp 2013-09-08 18:24:32 UTC (rev 155308)
@@ -38,7 +38,6 @@
#include "PlatformContextCairo.h"
#include "RefPtrCairo.h"
#include <cairo.h>
-#include <wtf/NotFound.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
Modified: trunk/Source/WebCore/platform/graphics/win/GraphicsContext3DWin.cpp (155307 => 155308)
--- trunk/Source/WebCore/platform/graphics/win/GraphicsContext3DWin.cpp 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebCore/platform/graphics/win/GraphicsContext3DWin.cpp 2013-09-08 18:24:32 UTC (rev 155308)
@@ -28,7 +28,6 @@
#if USE(3D_GRAPHICS)
#include "GraphicsContext3DPrivate.h"
-#include <wtf/NotFound.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
Modified: trunk/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp (155307 => 155308)
--- trunk/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp 2013-09-08 18:24:32 UTC (rev 155308)
@@ -41,7 +41,6 @@
#include <gio/gio.h>
#include <glib.h>
-#include <wtf/NotFound.h>
#include <wtf/Vector.h>
#include <wtf/gobject/GOwnPtr.h>
#include <wtf/text/CString.h>
Modified: trunk/Source/WebKit/blackberry/Api/BackingStore.cpp (155307 => 155308)
--- trunk/Source/WebKit/blackberry/Api/BackingStore.cpp 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebKit/blackberry/Api/BackingStore.cpp 2013-09-08 18:24:32 UTC (rev 155308)
@@ -54,7 +54,6 @@
#include <wtf/CurrentTime.h>
#include <wtf/MathExtras.h>
-#include <wtf/NotFound.h>
#define SUPPRESS_NON_VISIBLE_REGULAR_RENDER_JOBS 0
#define ENABLE_SCROLLBARS 1
Modified: trunk/Source/WebKit/blackberry/ChangeLog (155307 => 155308)
--- trunk/Source/WebKit/blackberry/ChangeLog 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2013-09-08 18:24:32 UTC (rev 155308)
@@ -1,3 +1,12 @@
+2013-09-08 Anders Carlsson <[email protected]>
+
+ Move WTF::notFound to Vector.h and delete NotFound.h
+ https://bugs.webkit.org/show_bug.cgi?id=120990
+
+ Reviewed by Sam Weinig.
+
+ * Api/BackingStore.cpp:
+
2013-09-07 Anders Carlsson <[email protected]>
Remove NonCopyableSort.h from WTF
Modified: trunk/Source/WebKit2/ChangeLog (155307 => 155308)
--- trunk/Source/WebKit2/ChangeLog 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebKit2/ChangeLog 2013-09-08 18:24:32 UTC (rev 155308)
@@ -1,3 +1,12 @@
+2013-09-08 Anders Carlsson <[email protected]>
+
+ Move WTF::notFound to Vector.h and delete NotFound.h
+ https://bugs.webkit.org/show_bug.cgi?id=120990
+
+ Reviewed by Sam Weinig.
+
+ * Shared/EditorState.h:
+
2013-09-07 Anders Carlsson <[email protected]>
Get rid of PassOwnArrayPtr
Modified: trunk/Source/WebKit2/Shared/EditorState.h (155307 => 155308)
--- trunk/Source/WebKit2/Shared/EditorState.h 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Source/WebKit2/Shared/EditorState.h 2013-09-08 18:24:32 UTC (rev 155308)
@@ -28,7 +28,6 @@
#include "ArgumentCoders.h"
#include <WebCore/IntRect.h>
-#include <wtf/NotFound.h>
#include <wtf/text/WTFString.h>
namespace WebKit {
Modified: trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp (155307 => 155308)
--- trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp 2013-09-08 18:24:32 UTC (rev 155308)
@@ -47,7 +47,6 @@
#include <Eina.h>
#include <Evas.h>
#include <cstdio>
-#include <wtf/NotFound.h>
#include <wtf/text/StringBuilder.h>
#if HAVE(ACCESSIBILITY)
Modified: trunk/Tools/DumpRenderTree/efl/DumpRenderTreeView.cpp (155307 => 155308)
--- trunk/Tools/DumpRenderTree/efl/DumpRenderTreeView.cpp 2013-09-08 18:24:01 UTC (rev 155307)
+++ trunk/Tools/DumpRenderTree/efl/DumpRenderTreeView.cpp 2013-09-08 18:24:32 UTC (rev 155308)
@@ -38,7 +38,6 @@
#include <cstdio>
#include <cstdlib>
#include <inttypes.h>
-#include <wtf/NotFound.h>
#include <wtf/text/CString.h>
#include <wtf/text/WTFString.h>