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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.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/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index 77c99397fc44b432629cce2a65b0582d480b443a..1fd37ba6f4f2b64307a8a04923c9f9ad3dfce337 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -149,6 +149,7 @@ private:
};
struct ImageDataBuffer {
+ STACK_ALLOCATED();
ImageDataBuffer(const IntSize& size, const unsigned char* data) : m_data(data), m_size(size) { }
String PLATFORM_EXPORT toDataURL(const String& mimeType, const double& quality) const;
bool PLATFORM_EXPORT encodeImage(const String& mimeType, const double& quality, Vector<unsigned char>* encodedImage) const;

Powered by Google App Engine
This is Rietveld 408576698