Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (104314 => 104315)
--- trunk/Source/_javascript_Core/ChangeLog 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-01-06 20:09:26 UTC (rev 104315)
@@ -1,3 +1,19 @@
+2012-01-06 Sam Weinig <[email protected]>
+
+ Remove unused OwnFastMallocPtr class.
+ https://bugs.webkit.org/show_bug.cgi?id=75722
+
+ Reviewed by Geoffrey Garen.
+
+ * GNUmakefile.list.am:
+ * _javascript_Core.gypi:
+ * _javascript_Core.vcproj/WTF/WTF.vcproj:
+ * _javascript_Core.xcodeproj/project.pbxproj:
+ * wtf/CMakeLists.txt:
+ * wtf/OwnFastMallocPtr.h: Removed.
+ * wtf/text/StringImpl.h:
+ * wtf/wtf.pro:
+
2012-01-06 Benjamin Poulain <[email protected]>
[Mac] Sort the resources of _javascript_Core.xcodeproj and remove duplicates
Modified: trunk/Source/_javascript_Core/GNUmakefile.list.am (104314 => 104315)
--- trunk/Source/_javascript_Core/GNUmakefile.list.am 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Core/GNUmakefile.list.am 2012-01-06 20:09:26 UTC (rev 104315)
@@ -607,7 +607,6 @@
Source/_javascript_Core/wtf/OSRandomSource.cpp \
Source/_javascript_Core/wtf/OSRandomSource.h \
Source/_javascript_Core/wtf/OwnArrayPtr.h \
- Source/_javascript_Core/wtf/OwnFastMallocPtr.h \
Source/_javascript_Core/wtf/OwnPtr.h \
Source/_javascript_Core/wtf/OwnPtrCommon.h \
Source/_javascript_Core/wtf/PackedIntVector.h \
Modified: trunk/Source/_javascript_Core/_javascript_Core.gypi (104314 => 104315)
--- trunk/Source/_javascript_Core/_javascript_Core.gypi 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Core/_javascript_Core.gypi 2012-01-06 20:09:26 UTC (rev 104315)
@@ -182,7 +182,6 @@
'wtf/NullPtr.h',
'wtf/OSAllocator.h',
'wtf/OwnArrayPtr.h',
- 'wtf/OwnFastMallocPtr.h',
'wtf/OwnPtr.h',
'wtf/OwnPtrCommon.h',
'wtf/PageAllocation.h',
Modified: trunk/Source/_javascript_Core/_javascript_Core.vcproj/WTF/WTF.vcproj (104314 => 104315)
--- trunk/Source/_javascript_Core/_javascript_Core.vcproj/WTF/WTF.vcproj 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Core/_javascript_Core.vcproj/WTF/WTF.vcproj 2012-01-06 20:09:26 UTC (rev 104315)
@@ -965,10 +965,6 @@
>
</File>
<File
- RelativePath="..\..\wtf\OwnFastMallocPtr.h"
- >
- </File>
- <File
RelativePath="..\..\wtf\OwnPtr.h"
>
</File>
Modified: trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj (104314 => 104315)
--- trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj 2012-01-06 20:09:26 UTC (rev 104315)
@@ -47,7 +47,6 @@
0B4D7E630F319AC800AD7E58 /* TypeTraits.h in Headers */ = {isa = PBXBuildFile; fileRef = 0B4D7E620F319AC800AD7E58 /* TypeTraits.h */; settings = {ATTRIBUTES = (Private, ); }; };
0BAC94A01338728400CF135B /* ThreadRestrictionVerifier.h in Headers */ = {isa = PBXBuildFile; fileRef = 0BAC949E1338728400CF135B /* ThreadRestrictionVerifier.h */; settings = {ATTRIBUTES = (Private, ); }; };
0BCD83571485845200EA2003 /* TemporaryChange.h in Headers */ = {isa = PBXBuildFile; fileRef = 0BCD83541485841200EA2003 /* TemporaryChange.h */; settings = {ATTRIBUTES = (Private, ); }; };
- 0BDFFAE10FC6193100D69EF4 /* OwnFastMallocPtr.h in Headers */ = {isa = PBXBuildFile; fileRef = 0BDFFAD10FC616EC00D69EF4 /* OwnFastMallocPtr.h */; settings = {ATTRIBUTES = (Private, ); }; };
0BF28A2911A33DC300638F84 /* SizeLimits.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0BF28A2811A33DC300638F84 /* SizeLimits.cpp */; };
0F16D726142C39C000CF784A /* BitVector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F16D724142C39A200CF784A /* BitVector.cpp */; };
0F242DA713F3B1E8007ADD4C /* WeakReferenceHarvester.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F242DA513F3B1BB007ADD4C /* WeakReferenceHarvester.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -830,7 +829,6 @@
0B4D7E620F319AC800AD7E58 /* TypeTraits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TypeTraits.h; sourceTree = "<group>"; };
0BAC949E1338728400CF135B /* ThreadRestrictionVerifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThreadRestrictionVerifier.h; sourceTree = "<group>"; };
0BCD83541485841200EA2003 /* TemporaryChange.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TemporaryChange.h; sourceTree = "<group>"; };
- 0BDFFAD10FC616EC00D69EF4 /* OwnFastMallocPtr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OwnFastMallocPtr.h; sourceTree = "<group>"; };
0BF28A2811A33DC300638F84 /* SizeLimits.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SizeLimits.cpp; sourceTree = "<group>"; };
0F16D724142C39A200CF784A /* BitVector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BitVector.cpp; sourceTree = "<group>"; };
0F242DA513F3B1BB007ADD4C /* WeakReferenceHarvester.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WeakReferenceHarvester.h; sourceTree = "<group>"; };
@@ -1993,7 +1991,6 @@
97941A3F130299DB004A3447 /* OSRandomSource.cpp */,
97941A40130299DB004A3447 /* OSRandomSource.h */,
9303F5A409911A5800AD71B8 /* OwnArrayPtr.h */,
- 0BDFFAD10FC616EC00D69EF4 /* OwnFastMallocPtr.h */,
9303F567099118FA00AD71B8 /* OwnPtr.h */,
440B7AED0FAF7FCB0073323E /* OwnPtrCommon.h */,
0F636D9F142D27D200B2E66A /* PackedIntVector.h */,
@@ -2852,7 +2849,6 @@
1400067712A6F7830064D123 /* OSAllocator.h in Headers */,
97941A5A13029ACC004A3447 /* OSRandomSource.h in Headers */,
BC18C4490E16F5CD00B34460 /* OwnArrayPtr.h in Headers */,
- 0BDFFAE10FC6193100D69EF4 /* OwnFastMallocPtr.h in Headers */,
BC18C44A0E16F5CD00B34460 /* OwnPtr.h in Headers */,
4409D8470FAF80A200523B87 /* OwnPtrCommon.h in Headers */,
0F636DA0142D27D700B2E66A /* PackedIntVector.h in Headers */,
Modified: trunk/Source/_javascript_Core/wtf/CMakeLists.txt (104314 => 104315)
--- trunk/Source/_javascript_Core/wtf/CMakeLists.txt 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Core/wtf/CMakeLists.txt 2012-01-06 20:09:26 UTC (rev 104315)
@@ -56,7 +56,6 @@
OSAllocator.h
OSRandomSource.h
OwnArrayPtr.h
- OwnFastMallocPtr.h
OwnPtr.h
OwnPtrCommon.h
PageAllocation.h
Deleted: trunk/Source/_javascript_Core/wtf/OwnFastMallocPtr.h (104314 => 104315)
--- trunk/Source/_javascript_Core/wtf/OwnFastMallocPtr.h 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Core/wtf/OwnFastMallocPtr.h 2012-01-06 20:09:26 UTC (rev 104315)
@@ -1,53 +0,0 @@
-/*
- * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2009 Google Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef OwnFastMallocPtr_h
-#define OwnFastMallocPtr_h
-
-#include "FastMalloc.h"
-#include <wtf/Noncopyable.h>
-
-namespace WTF {
-
- template<class T> class OwnFastMallocPtr {
- WTF_MAKE_NONCOPYABLE(OwnFastMallocPtr);
- public:
- explicit OwnFastMallocPtr(T* ptr) : m_ptr(ptr)
- {
- }
-
- ~OwnFastMallocPtr()
- {
- fastFree(const_cast<void*>(static_cast<const void*>(const_cast<const T*>(m_ptr))));
- }
-
- T* get() const { return m_ptr; }
- T* release() { T* ptr = m_ptr; m_ptr = 0; return ptr; }
-
- private:
- T* m_ptr;
- };
-
-} // namespace WTF
-
-using WTF::OwnFastMallocPtr;
-
-#endif // OwnFastMallocPtr_h
Modified: trunk/Source/_javascript_Core/wtf/text/StringImpl.h (104314 => 104315)
--- trunk/Source/_javascript_Core/wtf/text/StringImpl.h 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Core/wtf/text/StringImpl.h 2012-01-06 20:09:26 UTC (rev 104315)
@@ -26,7 +26,6 @@
#include <limits.h>
#include <wtf/ASCIICType.h>
#include <wtf/Forward.h>
-#include <wtf/OwnFastMallocPtr.h>
#include <wtf/StdLibExtras.h>
#include <wtf/StringHasher.h>
#include <wtf/Vector.h>
Modified: trunk/Source/_javascript_Core/wtf/wtf.pro (104314 => 104315)
--- trunk/Source/_javascript_Core/wtf/wtf.pro 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Core/wtf/wtf.pro 2012-01-06 20:09:26 UTC (rev 104315)
@@ -90,7 +90,6 @@
OSAllocator.h \
OSRandomSource.h \
OwnArrayPtr.h \
- OwnFastMallocPtr.h \
OwnPtr.h \
OwnPtrCommon.h \
PackedIntVector.h \
Modified: trunk/Source/_javascript_Glue/ChangeLog (104314 => 104315)
--- trunk/Source/_javascript_Glue/ChangeLog 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Glue/ChangeLog 2012-01-06 20:09:26 UTC (rev 104315)
@@ -1,3 +1,12 @@
+2012-01-06 Sam Weinig <[email protected]>
+
+ Remove unused OwnFastMallocPtr class.
+ https://bugs.webkit.org/show_bug.cgi?id=75722
+
+ Reviewed by Geoffrey Garen.
+
+ * ForwardingHeaders/wtf/OwnFastMallocPtr.h: Removed.
+
2012-01-05 Dan Bernstein <[email protected]>
<rdar://problem/10633760> Update copyright strings
Deleted: trunk/Source/_javascript_Glue/ForwardingHeaders/wtf/OwnFastMallocPtr.h (104314 => 104315)
--- trunk/Source/_javascript_Glue/ForwardingHeaders/wtf/OwnFastMallocPtr.h 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/_javascript_Glue/ForwardingHeaders/wtf/OwnFastMallocPtr.h 2012-01-06 20:09:26 UTC (rev 104315)
@@ -1 +0,0 @@
-#include <_javascript_Core/OwnFastMallocPtr.h>
Modified: trunk/Source/WebCore/ChangeLog (104314 => 104315)
--- trunk/Source/WebCore/ChangeLog 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/WebCore/ChangeLog 2012-01-06 20:09:26 UTC (rev 104315)
@@ -1,3 +1,13 @@
+2012-01-06 Sam Weinig <[email protected]>
+
+ Remove unused OwnFastMallocPtr class.
+ https://bugs.webkit.org/show_bug.cgi?id=75722
+
+ Reviewed by Geoffrey Garen.
+
+ * ForwardingHeaders/wtf/OwnFastMallocPtr.h: Removed.
+ * bindings/js/JSWebGLRenderingContextCustom.cpp:
+
2012-01-06 Tony Chang <[email protected]>
Need to relayout when stretching the height of a flex item
Deleted: trunk/Source/WebCore/ForwardingHeaders/wtf/OwnFastMallocPtr.h (104314 => 104315)
--- trunk/Source/WebCore/ForwardingHeaders/wtf/OwnFastMallocPtr.h 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/WebCore/ForwardingHeaders/wtf/OwnFastMallocPtr.h 2012-01-06 20:09:26 UTC (rev 104315)
@@ -1 +0,0 @@
-#include <_javascript_Core/OwnFastMallocPtr.h>
Modified: trunk/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp (104314 => 104315)
--- trunk/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp 2012-01-06 20:07:33 UTC (rev 104314)
+++ trunk/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp 2012-01-06 20:09:26 UTC (rev 104315)
@@ -71,7 +71,6 @@
#include <wtf/FastMalloc.h>
#include <wtf/Float32Array.h>
#include <wtf/Int32Array.h>
-#include <wtf/OwnFastMallocPtr.h>
#if ENABLE(VIDEO)
#include "HTMLVideoElement.h"