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

Unified Diff: third_party/WebKit/Source/platform/text/LineEnding.cpp

Issue 1521923002: Make platform/text 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/text/LineEnding.cpp
diff --git a/third_party/WebKit/Source/platform/text/LineEnding.cpp b/third_party/WebKit/Source/platform/text/LineEnding.cpp
index 7dcefcb4bbd7f2583078bbbf65b685e1aa2290b4..e97557e35da910a4c71db73ababe2a930722b265 100644
--- a/third_party/WebKit/Source/platform/text/LineEnding.cpp
+++ b/third_party/WebKit/Source/platform/text/LineEnding.cpp
@@ -32,13 +32,18 @@
#include "config.h"
#include "platform/text/LineEnding.h"
+#include "wtf/Allocator.h"
+#include "wtf/Noncopyable.h"
#include "wtf/text/CString.h"
#include "wtf/text/WTFString.h"
namespace {
class OutputBuffer {
+ STACK_ALLOCATED();
+ WTF_MAKE_NONCOPYABLE(OutputBuffer);
public:
+ OutputBuffer() { }
virtual char* allocate(size_t) = 0;
virtual void copy(const CString&) = 0;
virtual ~OutputBuffer() { }

Powered by Google App Engine
This is Rietveld 408576698