Index: third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
diff --git a/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h b/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
index 53a968fc213c3c56995e9f87ee4d095268d67646..ca6332983408aabaef98d37ef99f7ceb98eb9c32 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
+++ b/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
@@ -7,6 +7,7 @@ |
#include "platform/PlatformExport.h" |
#include "wtf/Alignment.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Compiler.h" |
#include "wtf/Noncopyable.h" |
#include "wtf/OwnPtr.h" |
@@ -37,6 +38,7 @@ namespace blink { |
// artifact of the implementation. |
class PLATFORM_EXPORT ContiguousContainerBase { |
+ DISALLOW_NEW(); |
WTF_MAKE_NONCOPYABLE(ContiguousContainerBase); |
protected: |
explicit ContiguousContainerBase(size_t maxObjectSize, const char* typeName); |
@@ -83,6 +85,7 @@ private: |
// things. The whole random access iterator interface is a bit much. |
template <typename BaseIterator, typename ValueType> |
class IteratorWrapper : public std::iterator<std::forward_iterator_tag, ValueType> { |
+ DISALLOW_NEW(); |
public: |
IteratorWrapper() {} |
bool operator==(const IteratorWrapper& other) const { return m_it == other.m_it; } |