Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1244)

Unified Diff: Source/wtf/NullPtr.h

Issue 361823004: Do not include FastMalloc.h in config.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/FastMalloc.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/NullPtr.h
diff --git a/Source/wtf/NullPtr.h b/Source/wtf/NullPtr.h
index a40a1d89b0bf303ee9be60f03689f8c323dbf037..1aa558498346d66d4ecbaf04b6ec7ce119d9282d 100644
--- a/Source/wtf/NullPtr.h
+++ b/Source/wtf/NullPtr.h
@@ -33,8 +33,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if COMPILER_SUPPORTS(CXX_NULLPTR) || defined(_LIBCPP_VERSION)
-#include <cstddef>
-
// libstdc++ supports nullptr_t starting with gcc 4.6. STLport doesn't define it.
#if (defined(__GLIBCXX__) && __GLIBCXX__ < 20110325) || defined(_STLPORT_VERSION)
namespace std {
@@ -44,6 +42,8 @@ typedef decltype(nullptr) nullptr_t;
#else
+#include "wtf/WTFExport.h"
+
namespace std {
class nullptr_t {
public:
« no previous file with comments | « Source/wtf/FastMalloc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698