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

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

Issue 2746763009: Migrate WTF::Deque::prepend() to ::push_front() (Closed)
Patch Set: Created 3 years, 9 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.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
index 7be1e65ab517dccbc46685103cf448c47bca204a..b967171ef7eaaa503f805f4cca17ac8717e9f088 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
@@ -433,7 +433,7 @@ void DrawingBuffer::mailboxReleasedGpu(RefPtr<ColorBuffer> colorBuffer,
while (m_recycledColorBufferQueue.size() >= cacheLimit)
m_recycledColorBufferQueue.takeLast();
- m_recycledColorBufferQueue.prepend(colorBuffer);
+ m_recycledColorBufferQueue.push_front(colorBuffer);
}
void DrawingBuffer::mailboxReleasedSoftware(

Powered by Google App Engine
This is Rietveld 408576698