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

Unified Diff: third_party/WebKit/Source/platform/graphics/ContiguousContainer.h

Issue 1497683002: Make platform/graphics to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
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; }

Powered by Google App Engine
This is Rietveld 408576698