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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.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/gpu/SharedContextRateLimiter.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp b/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
index 703f31bbeb0eddd98ecc89991d60215076c893b3..32b0ce44ff4e5be6b1a2563936bb6a700ae43e21 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
@@ -55,8 +55,8 @@ void SharedContextRateLimiter::tick() {
if (m_queries.size() > m_maxPendingTicks) {
if (m_canUseSyncQueries) {
GLuint result;
- gl->GetQueryObjectuivEXT(m_queries.first(), GL_QUERY_RESULT_EXT, &result);
- gl->DeleteQueriesEXT(1, &m_queries.first());
+ gl->GetQueryObjectuivEXT(m_queries.front(), GL_QUERY_RESULT_EXT, &result);
+ gl->DeleteQueriesEXT(1, &m_queries.front());
m_queries.pop_front();
} else {
gl->Finish();
@@ -72,7 +72,7 @@ void SharedContextRateLimiter::reset() {
gpu::gles2::GLES2Interface* gl = m_contextProvider->contextGL();
if (gl && gl->GetGraphicsResetStatusKHR() == GL_NO_ERROR) {
while (m_queries.size() > 0) {
- gl->DeleteQueriesEXT(1, &m_queries.first());
+ gl->DeleteQueriesEXT(1, &m_queries.front());
m_queries.pop_front();
}
} else {

Powered by Google App Engine
This is Rietveld 408576698