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

Unified Diff: third_party/WebKit/Source/core/paint/MediaControlsPainter.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/core/paint/MediaControlsPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
index 564c12cb3936c7c856d57478763a7a01eb7c53be..ad84527ad8b9630f4f10859f763e861e6a135025 100644
--- a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
@@ -60,7 +60,7 @@ static const float kDisabledAlpha = 0.4;
static Image* platformResource(const char* name) {
if (!gMediaControlImageMap)
gMediaControlImageMap = new MediaControlImageMap();
- if (Image* image = gMediaControlImageMap->get(name))
+ if (Image* image = gMediaControlImageMap->at(name))
return image;
if (Image* image = Image::loadPlatformResource(name).leakRef()) {
gMediaControlImageMap->set(name, image);

Powered by Google App Engine
This is Rietveld 408576698