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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.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/csspaint/PaintWorkletGlobalScope.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
index 5836b132fa088c0e516184d9ab03338445434abf..34f73530750c6793cc66d5732fa04e0f94bf6663 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletGlobalScope.cpp
@@ -189,7 +189,7 @@ void PaintWorkletGlobalScope::registerPaint(const String& name,
m_paintDefinitions.set(name, definition);
// Set the definition on any pending generators.
- GeneratorHashSet* set = m_pendingGenerators.get(name);
+ GeneratorHashSet* set = m_pendingGenerators.at(name);
if (set) {
for (const auto& generator : *set) {
if (generator) {
@@ -202,7 +202,7 @@ void PaintWorkletGlobalScope::registerPaint(const String& name,
CSSPaintDefinition* PaintWorkletGlobalScope::findDefinition(
const String& name) {
- return m_paintDefinitions.get(name);
+ return m_paintDefinitions.at(name);
}
void PaintWorkletGlobalScope::addPendingGenerator(
« no previous file with comments | « third_party/WebKit/Source/modules/canvas2d/HitRegion.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698