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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.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/inspector/InspectorWorkerAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
index 3847a722a70a61ca8acc45be3e380aedc60c7d0a..7e0d22a193ddd8b4bc843355785e81a528ca4a80 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
@@ -89,7 +89,7 @@ bool InspectorWorkerAgent::autoAttachEnabled() {
Response InspectorWorkerAgent::sendMessageToTarget(const String& targetId,
const String& message) {
- WorkerInspectorProxy* proxy = m_connectedProxies.get(targetId);
+ WorkerInspectorProxy* proxy = m_connectedProxies.at(targetId);
if (!proxy)
return Response::Error("Not attached to a target with given id");
proxy->sendMessageToInspector(message);

Powered by Google App Engine
This is Rietveld 408576698