Remove home-brewed nullptr
authormikhail.pozdnyakov@intel.com <mikhail.pozdnyakov@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Sep 2013 10:42:08 +0000 (10:42 +0000)
committermikhail.pozdnyakov@intel.com <mikhail.pozdnyakov@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Sep 2013 10:42:08 +0000 (10:42 +0000)
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/JavaScriptCore:

* 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:

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

22 files changed:
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/heap/PassWeak.h
Source/JavaScriptCore/heap/Weak.h
Source/WTF/ChangeLog
Source/WTF/GNUmakefile.list.am
Source/WTF/WTF.pro
Source/WTF/WTF.vcxproj/WTF.vcxproj
Source/WTF/WTF.vcxproj/WTF.vcxproj.filters
Source/WTF/WTF.xcodeproj/project.pbxproj
Source/WTF/wtf/CMakeLists.txt
Source/WTF/wtf/NullPtr.cpp [deleted file]
Source/WTF/wtf/NullPtr.h [deleted file]
Source/WTF/wtf/OwnArrayPtr.h
Source/WTF/wtf/OwnPtr.h
Source/WTF/wtf/PassOwnPtr.h
Source/WTF/wtf/PassRefPtr.h
Source/WTF/wtf/RetainPtr.h
Source/WTF/wtf/win/GDIObject.h
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDOMBinding.h
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/tests/UnitTestUtils/EWKTestView.cpp

index fb1cff4c2bb265bcc8b5514005cab620b75f977e..2f9d804fc6b892be864768c731cd01e93d901ecb 100644 (file)
@@ -1,3 +1,15 @@
+2013-09-12  Mikhail Pozdnyakov  <mikhail.pozdnyakov@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  <fpizlo@apple.com>
 
         Rename initInteger() to initInt32()
index 8dedb1051ef70c0aa73ab49116011eafe00a7f9a..78398c0ff5812adbcea0cfada1ecdf5c3ba6cfa8 100644 (file)
@@ -28,8 +28,8 @@
 
 #include "JSCell.h"
 #include "WeakSetInlines.h"
+#include <cstddef>
 #include <wtf/Assertions.h>
-#include <wtf/NullPtr.h>
 
 namespace JSC {
 
index 5c901df22cca60f6aa909b19dcdc01222ea71d80..c46507ac5a9e8c7d857d6071f5a4904cc111fad3 100644 (file)
@@ -26,8 +26,8 @@
 #ifndef Weak_h
 #define Weak_h
 
+#include <cstddef>
 #include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
 
 namespace JSC {
 
index 47fc1d5ab54dfdc2799fc6a093c9ff3864e87739..c51fd4c969ec4e4ac1a48f12a048af668ed511f3 100644 (file)
@@ -1,3 +1,27 @@
+2013-09-12  Mikhail Pozdnyakov  <mikhail.pozdnyakov@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  <andersca@apple.com>
 
         Use the new C++11 function declaration syntax throughout our hash collection classes
index 65c21f337a3f24b72958f8941097db4e432cff2d..a5122b8fdca29a87333716e5e8b24cc1a394518e 100644 (file)
@@ -91,7 +91,6 @@ wtf_sources += \
     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 \
index 58f9181613d5f30f9c64b3c4fa3b47d48a7117a1..7cbdb14699f6f66684ace26251061c20eeb474bd 100644 (file)
@@ -86,7 +86,6 @@ HEADERS += \
     MetaAllocatorHandle.h \
     Ref.h \
     Noncopyable.h \
-    NullPtr.h \
     NumberOfCores.h \
     RAMSize.h \
     OSAllocator.h \
@@ -200,7 +199,6 @@ SOURCES += \
     MainThread.cpp \
     MediaTime.cpp \
     MetaAllocator.cpp \
-    NullPtr.cpp \
     NumberOfCores.cpp \
     RAMSize.cpp \
     OSRandomSource.cpp \
index 89a95b1f1c2947e8707168ea3b0d61ff772168fa..f64bf4290f43add07b485cd3f3ac78ffc9ebe55c 100644 (file)
@@ -79,7 +79,6 @@
     <ClCompile Include="..\wtf\MD5.cpp" />\r
     <ClCompile Include="..\wtf\MediaTime.cpp" />\r
     <ClCompile Include="..\wtf\MetaAllocator.cpp" />\r
-    <ClCompile Include="..\wtf\NullPtr.cpp" />\r
     <ClCompile Include="..\wtf\NumberOfCores.cpp" />\r
     <ClCompile Include="..\wtf\OSAllocatorWin.cpp" />\r
     <ClCompile Include="..\wtf\OSRandomSource.cpp" />\r
     <ClInclude Include="..\wtf\MetaAllocatorHandle.h" />\r
     <ClInclude Include="..\wtf\NeverDestroyed.h" />\r
     <ClInclude Include="..\wtf\Noncopyable.h" />\r
-    <ClInclude Include="..\wtf\NullPtr.h" />\r
     <ClInclude Include="..\wtf\NumberOfCores.h" />\r
     <ClInclude Include="..\wtf\OSRandomSource.h" />\r
     <ClInclude Include="..\wtf\OwnArrayPtr.h" />\r
index 19e103734d8886eb38f3b40e72d425684a75d91c..fe04f41c1ff26cb5ea223a9638b09b84658f1f31 100644 (file)
     <ClCompile Include="..\wtf\MetaAllocator.cpp">\r
       <Filter>wtf</Filter>\r
     </ClCompile>\r
-    <ClCompile Include="..\wtf\NullPtr.cpp">\r
-      <Filter>wtf</Filter>\r
-    </ClCompile>\r
     <ClCompile Include="..\wtf\NumberOfCores.cpp">\r
       <Filter>wtf</Filter>\r
     </ClCompile>\r
     <ClInclude Include="..\wtf\Noncopyable.h">\r
       <Filter>wtf</Filter>\r
     </ClInclude>\r
-    <ClInclude Include="..\wtf\NullPtr.h">\r
-      <Filter>wtf</Filter>\r
-    </ClInclude>\r
     <ClInclude Include="..\wtf\NumberOfCores.h">\r
       <Filter>wtf</Filter>\r
     </ClInclude>\r
index dacf7fd7b2385b7af7ea268523fba1f6cf64de80..9333685d90a71611030032f9b25d5831a42f557e 100644 (file)
                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 */; };
                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>"; };
                                26299B6D17A9E5B800ADEBE5 /* Ref.h */,
                                0F0D85B317234CB100338210 /* NoLock.h */,
                                A8A472D0151A825B004123FF /* Noncopyable.h */,
-                               A8A472D3151A825B004123FF /* NullPtr.cpp */,
-                               A8A472D4151A825B004123FF /* NullPtr.h */,
                                A8A472D5151A825B004123FF /* NumberOfCores.cpp */,
                                A8A472D6151A825B004123FF /* NumberOfCores.h */,
                                7E29C33D15FFD79B00516D61 /* ObjcRuntimeExtras.h */,
                                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 */,
                                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 */,
index 1afc620e786968db852d8ab506ff2878099f7bef..1119cd8a95374d74da0aeaa087ca1e53f3f64a60 100644 (file)
@@ -55,7 +55,6 @@ set(WTF_HEADERS
     ThreadRestrictionVerifier.h
     Ref.h
     Noncopyable.h
-    NullPtr.h
     NumberOfCores.h
     RAMSize.h
     OSAllocator.h
@@ -164,7 +163,6 @@ set(WTF_SOURCES
     MainThread.cpp
     MediaTime.cpp
     MetaAllocator.cpp
-    NullPtr.cpp
     OSRandomSource.cpp
     NumberOfCores.cpp
     RAMSize.cpp
diff --git a/Source/WTF/wtf/NullPtr.cpp b/Source/WTF/wtf/NullPtr.cpp
deleted file mode 100644 (file)
index d6b0429..0000000
+++ /dev/null
@@ -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
diff --git a/Source/WTF/wtf/NullPtr.h b/Source/WTF/wtf/NullPtr.h
deleted file mode 100644 (file)
index 98c0514..0000000
+++ /dev/null
@@ -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
index 65b98c7a984b5dd97868101a0a14e21560047669..814b323af04af5cdff628ba76226365df33b7d48 100644 (file)
@@ -23,8 +23,8 @@
 
 #include <wtf/Assertions.h>
 #include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
 #include <algorithm>
+#include <cstddef>
 
 namespace WTF {
 
index 27e9af54918f9252347854c87ab5135b11852720..20bfa6c270b7623f46b15f9b0c11946e4a788491 100644 (file)
@@ -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 {
index 1defbb9e6c8bc7a07d16928a8c16bf838b5e7209..7402a9d8f67cd817991c182b011e18c0c8f0029a 100644 (file)
@@ -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>
 
index 848fc5fd3fa1d08c8cf72137cb4c7e4d04ea3b32..1c20a5e656a94b02caf76f2ff7d7fac63ea50758 100644 (file)
@@ -21,8 +21,8 @@
 #ifndef WTF_PassRefPtr_h
 #define WTF_PassRefPtr_h
 
+#include <cstddef>
 #include <wtf/Assertions.h>
-#include <wtf/NullPtr.h>
 
 namespace WTF {
 
index 86af3e7425bbc138bda1994756148f7c73f1a203..60e4dbcbd9b3ee00664771afcf707aceae2b8075 100644 (file)
@@ -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>
index 7141195c9225748853c0b494929c19e0a7cabe61..4b749934d155865e069f573da5d0bff0af812aa9 100644 (file)
 #define GDIObject_h
 
 #include <algorithm>
+#include <cstddef>
 #include <memory>
 #include <wtf/Assertions.h>
 #include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
 
 namespace WTF {
 
index 2f4cf8a128d9f2389f8d28b5e70be78450442674..fec2f29517805975cb0615d0f2b5d6d68787cab0 100644 (file)
@@ -1,3 +1,14 @@
+2013-09-12  Mikhail Pozdnyakov  <mikhail.pozdnyakov@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_white@apple.com>
 
         <meter> element text value exposed as AXTitle; should be exposing AXValueDescription
index 9406355c2d95ec49167639011f440da8f4677121..f3870797a9e6747fbdf9aeaf7e08a596e0c9c133 100644 (file)
@@ -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 {
index 215d1827348abb190d118e437f5d6c2a43f7dd89..674e0e9bae0eb1ac08052845358cb0d80d1af72a 100644 (file)
@@ -1,3 +1,14 @@
+2013-09-12  Mikhail Pozdnyakov  <mikhail.pozdnyakov@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.morais@samsung.com>
 
         [EFL] WebInspector: Move to new webinspector
index ce43e33f42ffcbfc23553c63c2a11645fd3bb8b2..a17bfa43298d07df0f8f3a8ec3a3c9a80acbaf10 100644 (file)
@@ -20,7 +20,6 @@
 #include "EWKTestView.h"
 
 #include <EWebKit.h>
-#include <wtf/NullPtr.h>
 #include <wtf/PassOwnPtr.h>
 #include <wtf/RefPtr.h>