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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase Created 3 years, 10 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/modules/webgl/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index 449c7e9fba417fd7d9807a7ebf17ec3eda2949d2..514c3cb1d162769484baba16c9488dcc0624f467 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -203,9 +203,9 @@ WebGLRenderingContextBase* WebGLRenderingContextBase::oldestEvictedContext() {
WebGLRenderingContextBase* candidate = nullptr;
int generation = -1;
for (WebGLRenderingContextBase* context : forciblyEvictedContexts().keys()) {
- if (!candidate || forciblyEvictedContexts().get(context) < generation) {
+ if (!candidate || forciblyEvictedContexts().at(context) < generation) {
candidate = context;
- generation = forciblyEvictedContexts().get(context);
+ generation = forciblyEvictedContexts().at(context);
}
}
« no previous file with comments | « third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp ('k') | third_party/WebKit/Source/modules/webusb/USB.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698