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

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

Issue 2749753002: Migrate WTF::Deque::removeFirst() to ::pop_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/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 f43d55881aaf395800dab4a7c8c0791262c9cd34..703f31bbeb0eddd98ecc89991d60215076c893b3 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
@@ -57,7 +57,7 @@ void SharedContextRateLimiter::tick() {
GLuint result;
gl->GetQueryObjectuivEXT(m_queries.first(), GL_QUERY_RESULT_EXT, &result);
gl->DeleteQueriesEXT(1, &m_queries.first());
- m_queries.removeFirst();
+ m_queries.pop_front();
} else {
gl->Finish();
reset();
@@ -73,7 +73,7 @@ void SharedContextRateLimiter::reset() {
if (gl && gl->GetGraphicsResetStatusKHR() == GL_NO_ERROR) {
while (m_queries.size() > 0) {
gl->DeleteQueriesEXT(1, &m_queries.first());
- m_queries.removeFirst();
+ m_queries.pop_front();
}
} else {
m_queries.clear();
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp ('k') | third_party/WebKit/Source/wtf/Deque.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698