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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h

Issue 2356803002: Change Deque<RecycledBitmap> to Vector in DrawingBuffer (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
index 3fc461050db472486a51ffd4b757adf7300533a1..ce342c2d54454a420d54f67be10c0297d3bdd255 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -43,6 +43,7 @@
#include "wtf/Deque.h"
#include "wtf/Noncopyable.h"
#include "wtf/RefCounted.h"
+#include "wtf/Vector.h"
#include <memory>
namespace cc {
@@ -490,7 +491,7 @@ private:
IntSize size;
};
// Shared memory bitmaps that were released by the compositor and can be used again by this DrawingBuffer.
- Deque<RecycledBitmap> m_recycledBitmapQueue;
+ Vector<RecycledBitmap> m_recycledBitmap;
// If the width and height of the Canvas's backing store don't
// match those that we were given in the most recent call to

Powered by Google App Engine
This is Rietveld 408576698