Title: [155604] trunk/Source
Revision
155604
Author
mikhail.pozdnya...@intel.com
Date
2013-09-12 03:42:08 -0700 (Thu, 12 Sep 2013)

Log Message

Remove home-brewed nullptr
https://bugs.webkit.org/show_bug.cgi?id=119624

Reviewed by Anders Carlsson.

The standard C++11 nullptr and std::nullptr_t type should be used now.

Source/_javascript_Core:

* heap/PassWeak.h:
* heap/Weak.h:

Source/WebCore:

* bindings/js/JSDOMBinding.h:

Source/WebKit/efl:

* tests/UnitTestUtils/EWKTestView.cpp:

Source/WTF:

* GNUmakefile.list.am:
* WTF.pro:
* WTF.vcxproj/WTF.vcxproj:
* WTF.vcxproj/WTF.vcxproj.filters:
* WTF.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:
* wtf/NullPtr.cpp: Removed.
* wtf/NullPtr.h: Removed.
* wtf/OwnArrayPtr.h:
* wtf/OwnPtr.h:
* wtf/PassOwnPtr.h:
* wtf/PassRefPtr.h:
* wtf/RetainPtr.h:
* wtf/win/GDIObject.h:

Modified Paths

Removed Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (155603 => 155604)


--- trunk/Source/_javascript_Core/ChangeLog	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-09-12 10:42:08 UTC (rev 155604)
@@ -1,3 +1,15 @@
+2013-09-12  Mikhail Pozdnyakov  <mikhail.pozdnya...@intel.com>
+
+        Remove home-brewed nullptr
+        https://bugs.webkit.org/show_bug.cgi?id=119624
+
+        Reviewed by Anders Carlsson.
+
+        The standard C++11 nullptr and std::nullptr_t type should be used now.
+
+        * heap/PassWeak.h:
+        * heap/Weak.h:
+
 2013-09-11  Filip Pizlo  <fpi...@apple.com>
 
         Rename initInteger() to initInt32()

Modified: trunk/Source/_javascript_Core/heap/PassWeak.h (155603 => 155604)


--- trunk/Source/_javascript_Core/heap/PassWeak.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/_javascript_Core/heap/PassWeak.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -28,8 +28,8 @@
 
 #include "JSCell.h"
 #include "WeakSetInlines.h"
+#include <cstddef>
 #include <wtf/Assertions.h>
-#include <wtf/NullPtr.h>
 
 namespace JSC {
 

Modified: trunk/Source/_javascript_Core/heap/Weak.h (155603 => 155604)


--- trunk/Source/_javascript_Core/heap/Weak.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/_javascript_Core/heap/Weak.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -26,8 +26,8 @@
 #ifndef Weak_h
 #define Weak_h
 
+#include <cstddef>
 #include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
 
 namespace JSC {
 

Modified: trunk/Source/WTF/ChangeLog (155603 => 155604)


--- trunk/Source/WTF/ChangeLog	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/ChangeLog	2013-09-12 10:42:08 UTC (rev 155604)
@@ -1,3 +1,27 @@
+2013-09-12  Mikhail Pozdnyakov  <mikhail.pozdnya...@intel.com>
+
+        Remove home-brewed nullptr
+        https://bugs.webkit.org/show_bug.cgi?id=119624
+
+        Reviewed by Anders Carlsson.
+
+        The standard C++11 nullptr and std::nullptr_t type should be used now.
+
+        * GNUmakefile.list.am:
+        * WTF.pro:
+        * WTF.vcxproj/WTF.vcxproj:
+        * WTF.vcxproj/WTF.vcxproj.filters:
+        * WTF.xcodeproj/project.pbxproj:
+        * wtf/CMakeLists.txt:
+        * wtf/NullPtr.cpp: Removed.
+        * wtf/NullPtr.h: Removed.
+        * wtf/OwnArrayPtr.h:
+        * wtf/OwnPtr.h:
+        * wtf/PassOwnPtr.h:
+        * wtf/PassRefPtr.h:
+        * wtf/RetainPtr.h:
+        * wtf/win/GDIObject.h:
+
 2013-09-11  Anders Carlsson  <ander...@apple.com>
 
         Use the new C++11 function declaration syntax throughout our hash collection classes

Modified: trunk/Source/WTF/GNUmakefile.list.am (155603 => 155604)


--- trunk/Source/WTF/GNUmakefile.list.am	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/GNUmakefile.list.am	2013-09-12 10:42:08 UTC (rev 155604)
@@ -91,7 +91,6 @@
     Source/WTF/wtf/NeverDestroyed.h \
     Source/WTF/wtf/NoLock.h \
     Source/WTF/wtf/Noncopyable.h \
-    Source/WTF/wtf/NullPtr.h \
     Source/WTF/wtf/NumberOfCores.cpp \
     Source/WTF/wtf/NumberOfCores.h \
     Source/WTF/wtf/RAMSize.cpp \

Modified: trunk/Source/WTF/WTF.pro (155603 => 155604)


--- trunk/Source/WTF/WTF.pro	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/WTF.pro	2013-09-12 10:42:08 UTC (rev 155604)
@@ -86,7 +86,6 @@
     MetaAllocatorHandle.h \
     Ref.h \
     Noncopyable.h \
-    NullPtr.h \
     NumberOfCores.h \
     RAMSize.h \
     OSAllocator.h \
@@ -200,7 +199,6 @@
     MainThread.cpp \
     MediaTime.cpp \
     MetaAllocator.cpp \
-    NullPtr.cpp \
     NumberOfCores.cpp \
     RAMSize.cpp \
     OSRandomSource.cpp \

Modified: trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj (155603 => 155604)


--- trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj	2013-09-12 10:42:08 UTC (rev 155604)
@@ -79,7 +79,6 @@
     <ClCompile Include="..\wtf\MD5.cpp" />
     <ClCompile Include="..\wtf\MediaTime.cpp" />
     <ClCompile Include="..\wtf\MetaAllocator.cpp" />
-    <ClCompile Include="..\wtf\NullPtr.cpp" />
     <ClCompile Include="..\wtf\NumberOfCores.cpp" />
     <ClCompile Include="..\wtf\OSAllocatorWin.cpp" />
     <ClCompile Include="..\wtf\OSRandomSource.cpp" />
@@ -189,7 +188,6 @@
     <ClInclude Include="..\wtf\MetaAllocatorHandle.h" />
     <ClInclude Include="..\wtf\NeverDestroyed.h" />
     <ClInclude Include="..\wtf\Noncopyable.h" />
-    <ClInclude Include="..\wtf\NullPtr.h" />
     <ClInclude Include="..\wtf\NumberOfCores.h" />
     <ClInclude Include="..\wtf\OSRandomSource.h" />
     <ClInclude Include="..\wtf\OwnArrayPtr.h" />

Modified: trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters (155603 => 155604)


--- trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/WTF.vcxproj/WTF.vcxproj.filters	2013-09-12 10:42:08 UTC (rev 155604)
@@ -141,9 +141,6 @@
     <ClCompile Include="..\wtf\MetaAllocator.cpp">
       <Filter>wtf</Filter>
     </ClCompile>
-    <ClCompile Include="..\wtf\NullPtr.cpp">
-      <Filter>wtf</Filter>
-    </ClCompile>
     <ClCompile Include="..\wtf\NumberOfCores.cpp">
       <Filter>wtf</Filter>
     </ClCompile>
@@ -488,9 +485,6 @@
     <ClInclude Include="..\wtf\Noncopyable.h">
       <Filter>wtf</Filter>
     </ClInclude>
-    <ClInclude Include="..\wtf\NullPtr.h">
-      <Filter>wtf</Filter>
-    </ClInclude>
     <ClInclude Include="..\wtf\NumberOfCores.h">
       <Filter>wtf</Filter>
     </ClInclude>

Modified: trunk/Source/WTF/WTF.xcodeproj/project.pbxproj (155603 => 155604)


--- trunk/Source/WTF/WTF.xcodeproj/project.pbxproj	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/WTF.xcodeproj/project.pbxproj	2013-09-12 10:42:08 UTC (rev 155604)
@@ -156,8 +156,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 */; };
-		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 */; };
 		A8A473F5151A825B004123FF /* NumberOfCores.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472D6151A825B004123FF /* NumberOfCores.h */; };
 		A8A473F6151A825B004123FF /* OSAllocator.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472D7151A825B004123FF /* OSAllocator.h */; };
@@ -426,8 +424,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>"; };
-		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>"; };
 		A8A472D6151A825B004123FF /* NumberOfCores.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NumberOfCores.h; sourceTree = "<group>"; };
 		A8A472D7151A825B004123FF /* OSAllocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OSAllocator.h; sourceTree = "<group>"; };
@@ -698,8 +694,6 @@
 				26299B6D17A9E5B800ADEBE5 /* Ref.h */,
 				0F0D85B317234CB100338210 /* NoLock.h */,
 				A8A472D0151A825B004123FF /* Noncopyable.h */,
-				A8A472D3151A825B004123FF /* NullPtr.cpp */,
-				A8A472D4151A825B004123FF /* NullPtr.h */,
 				A8A472D5151A825B004123FF /* NumberOfCores.cpp */,
 				A8A472D6151A825B004123FF /* NumberOfCores.h */,
 				7E29C33D15FFD79B00516D61 /* ObjcRuntimeExtras.h */,
@@ -997,7 +991,6 @@
 				A8A473EE151A825B004123FF /* MetaAllocatorHandle.h in Headers */,
 				0F0D85B417234CC100338210 /* NoLock.h in Headers */,
 				A8A473EF151A825B004123FF /* Noncopyable.h in Headers */,
-				A8A473F3151A825B004123FF /* NullPtr.h in Headers */,
 				A8A473F5151A825B004123FF /* NumberOfCores.h in Headers */,
 				7E29C33E15FFD79B00516D61 /* ObjcRuntimeExtras.h in Headers */,
 				A8A473F6151A825B004123FF /* OSAllocator.h in Headers */,
@@ -1193,7 +1186,6 @@
 				A8A473E9151A825B004123FF /* MD5.cpp in Sources */,
 				CD5497AC15857D0300B5BC30 /* MediaTime.cpp in Sources */,
 				A8A473EC151A825B004123FF /* MetaAllocator.cpp in Sources */,
-				A8A473F2151A825B004123FF /* NullPtr.cpp in Sources */,
 				A8A473F4151A825B004123FF /* NumberOfCores.cpp in Sources */,
 				A8A473F7151A825B004123FF /* OSAllocatorPosix.cpp in Sources */,
 				A8A473F9151A825B004123FF /* OSRandomSource.cpp in Sources */,

Modified: trunk/Source/WTF/wtf/CMakeLists.txt (155603 => 155604)


--- trunk/Source/WTF/wtf/CMakeLists.txt	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/wtf/CMakeLists.txt	2013-09-12 10:42:08 UTC (rev 155604)
@@ -55,7 +55,6 @@
     ThreadRestrictionVerifier.h
     Ref.h
     Noncopyable.h
-    NullPtr.h
     NumberOfCores.h
     RAMSize.h
     OSAllocator.h
@@ -164,7 +163,6 @@
     MainThread.cpp
     MediaTime.cpp
     MetaAllocator.cpp
-    NullPtr.cpp
     OSRandomSource.cpp
     NumberOfCores.cpp
     RAMSize.cpp

Deleted: trunk/Source/WTF/wtf/NullPtr.cpp (155603 => 155604)


--- trunk/Source/WTF/wtf/NullPtr.cpp	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/wtf/NullPtr.cpp	2013-09-12 10:42:08 UTC (rev 155604)
@@ -1,34 +0,0 @@
-/*
-
-Copyright (C) 2010 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. AND ITS 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 APPLE INC. OR ITS 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 "NullPtr.h"
-
-#if !(COMPILER_SUPPORTS(CXX_NULLPTR) || defined(_LIBCPP_VERSION))
-
-std::nullptr_t nullptr;
-
-#endif

Deleted: trunk/Source/WTF/wtf/NullPtr.h (155603 => 155604)


--- trunk/Source/WTF/wtf/NullPtr.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/wtf/NullPtr.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -1,56 +0,0 @@
-/*
-
-Copyright (C) 2010 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. AND ITS 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 APPLE INC. OR ITS 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 NullPtr_h
-#define NullPtr_h
-
-// For compilers and standard libraries that do not yet include it, this adds the
-// nullptr_t type and nullptr object. They are defined in the same namespaces they
-// would be in compiler and library that had the support.
-
-#include <ciso646>
-
-#if COMPILER_SUPPORTS(CXX_NULLPTR) || defined(_LIBCPP_VERSION)
-
-#include <cstddef>
-
-// libstdc++ supports nullptr_t starting with gcc 4.6.
-#if defined(__GLIBCXX__) && __GLIBCXX__ < 20110325
-namespace std {
-typedef decltype(nullptr) nullptr_t;
-}
-#endif
-
-#else
-
-namespace std {
-class WTF_EXPORT_PRIVATE nullptr_t { };
-}
-extern WTF_EXPORT_PRIVATE std::nullptr_t nullptr;
-
-#endif
-
-#endif

Modified: trunk/Source/WTF/wtf/OwnArrayPtr.h (155603 => 155604)


--- trunk/Source/WTF/wtf/OwnArrayPtr.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/wtf/OwnArrayPtr.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -23,8 +23,8 @@
 
 #include <wtf/Assertions.h>
 #include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
 #include <algorithm>
+#include <cstddef>
 
 namespace WTF {
 

Modified: trunk/Source/WTF/wtf/OwnPtr.h (155603 => 155604)


--- trunk/Source/WTF/wtf/OwnPtr.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/wtf/OwnPtr.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -23,9 +23,9 @@
 
 #include <wtf/Assertions.h>
 #include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
 #include <wtf/OwnPtrCommon.h>
 #include <algorithm>
+#include <cstddef>
 #include <memory>
 
 namespace WTF {

Modified: trunk/Source/WTF/wtf/PassOwnPtr.h (155603 => 155604)


--- trunk/Source/WTF/wtf/PassOwnPtr.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/wtf/PassOwnPtr.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -26,8 +26,8 @@
 #ifndef WTF_PassOwnPtr_h
 #define WTF_PassOwnPtr_h
 
+#include <cstddef>
 #include <wtf/Assertions.h>
-#include <wtf/NullPtr.h>
 #include <wtf/OwnPtrCommon.h>
 #include <type_traits>
 

Modified: trunk/Source/WTF/wtf/PassRefPtr.h (155603 => 155604)


--- trunk/Source/WTF/wtf/PassRefPtr.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/wtf/PassRefPtr.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -21,8 +21,8 @@
 #ifndef WTF_PassRefPtr_h
 #define WTF_PassRefPtr_h
 
+#include <cstddef>
 #include <wtf/Assertions.h>
-#include <wtf/NullPtr.h>
 
 namespace WTF {
 

Modified: trunk/Source/WTF/wtf/RetainPtr.h (155603 => 155604)


--- trunk/Source/WTF/wtf/RetainPtr.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/wtf/RetainPtr.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -24,8 +24,8 @@
 #if USE(CF) || defined(__OBJC__)
 
 #include <wtf/HashTraits.h>
-#include <wtf/NullPtr.h>
 #include <algorithm>
+#include <cstddef>
 
 #if USE(CF)
 #include <CoreFoundation/CoreFoundation.h>

Modified: trunk/Source/WTF/wtf/win/GDIObject.h (155603 => 155604)


--- trunk/Source/WTF/wtf/win/GDIObject.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WTF/wtf/win/GDIObject.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -27,10 +27,10 @@
 #define GDIObject_h
 
 #include <algorithm>
+#include <cstddef>
 #include <memory>
 #include <wtf/Assertions.h>
 #include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
 
 namespace WTF {
 

Modified: trunk/Source/WebCore/ChangeLog (155603 => 155604)


--- trunk/Source/WebCore/ChangeLog	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WebCore/ChangeLog	2013-09-12 10:42:08 UTC (rev 155604)
@@ -1,3 +1,14 @@
+2013-09-12  Mikhail Pozdnyakov  <mikhail.pozdnya...@intel.com>
+
+        Remove home-brewed nullptr
+        https://bugs.webkit.org/show_bug.cgi?id=119624
+
+        Reviewed by Anders Carlsson.
+
+        The standard C++11 nullptr and std::nullptr_t type should be used now.
+
+        * bindings/js/JSDOMBinding.h:
+
 2013-09-12  Samuel White  <samuel_wh...@apple.com>
 
         <meter> element text value exposed as AXTitle; should be exposing AXValueDescription

Modified: trunk/Source/WebCore/bindings/js/JSDOMBinding.h (155603 => 155604)


--- trunk/Source/WebCore/bindings/js/JSDOMBinding.h	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WebCore/bindings/js/JSDOMBinding.h	2013-09-12 10:42:08 UTC (rev 155604)
@@ -31,6 +31,7 @@
 #include "ScriptWrappable.h"
 #include "ScriptWrappableInlines.h"
 #include "WebCoreTypedArrayController.h"
+#include <cstddef>
 #include <heap/Weak.h>
 #include <heap/WeakInlines.h>
 #include <runtime/Error.h>
@@ -46,7 +47,6 @@
 #include <runtime/TypedArrays.h>
 #include <wtf/Forward.h>
 #include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
 #include <wtf/Vector.h>
 
 namespace JSC {

Modified: trunk/Source/WebKit/efl/ChangeLog (155603 => 155604)


--- trunk/Source/WebKit/efl/ChangeLog	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WebKit/efl/ChangeLog	2013-09-12 10:42:08 UTC (rev 155604)
@@ -1,3 +1,14 @@
+2013-09-12  Mikhail Pozdnyakov  <mikhail.pozdnya...@intel.com>
+
+        Remove home-brewed nullptr
+        https://bugs.webkit.org/show_bug.cgi?id=119624
+
+        Reviewed by Anders Carlsson.
+
+        The standard C++11 nullptr and std::nullptr_t type should be used now.
+
+        * tests/UnitTestUtils/EWKTestView.cpp:
+
 2013-09-10  Marcelo Morais  <m.mor...@samsung.com>
 
         [EFL] WebInspector: Move to new webinspector

Modified: trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.cpp (155603 => 155604)


--- trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.cpp	2013-09-12 10:24:52 UTC (rev 155603)
+++ trunk/Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.cpp	2013-09-12 10:42:08 UTC (rev 155604)
@@ -20,7 +20,6 @@
 #include "EWKTestView.h"
 
 #include <EWebKit.h>
-#include <wtf/NullPtr.h>
 #include <wtf/PassOwnPtr.h>
 #include <wtf/RefPtr.h>
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to