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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp

Issue 2752593003: Migrate WTF::Deque::first() to ::front() (Closed)
Patch Set: one more platform specific reference 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/Canvas2DLayerBridge.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
index 046285877acd3f62b1631beea4860604e17d88e6..1c594377f31e2ab621f069d35470a4ef89df9239 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -265,7 +265,7 @@ bool Canvas2DLayerBridge::prepareIOSurfaceMailboxFromImage(
imageTexture, 0, textureTarget, imageInfo->m_textureId, 0, 0, 0, 0, 0,
m_size.width(), m_size.height(), GL_FALSE, GL_FALSE, GL_FALSE);
- MailboxInfo& info = m_mailboxes.first();
+ MailboxInfo& info = m_mailboxes.front();
gpu::Mailbox mailbox;
gl->GenMailboxCHROMIUM(mailbox.name);
gl->ProduceTextureDirectCHROMIUM(imageInfo->m_textureId, textureTarget,
@@ -376,7 +376,7 @@ bool Canvas2DLayerBridge::prepareMailboxFromImage(
sk_sp<SkImage> image,
cc::TextureMailbox* outMailbox) {
createMailboxInfo();
- MailboxInfo& mailboxInfo = m_mailboxes.first();
+ MailboxInfo& mailboxInfo = m_mailboxes.front();
GrContext* grContext = m_contextProvider->grContext();
if (!grContext) {

Powered by Google App Engine
This is Rietveld 408576698