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

Unified Diff: third_party/WebKit/LayoutTests/inspector/components/linkifier.html

Issue 2613643002: DevTools: migrate from external Maps to symbols in the bindings objects. (Closed)
Patch Set: review comments addressed. Created 3 years, 12 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/LayoutTests/inspector/components/linkifier.html
diff --git a/third_party/WebKit/LayoutTests/inspector/components/linkifier.html b/third_party/WebKit/LayoutTests/inspector/components/linkifier.html
index dd50816f2f644f68883497b3b01cffe28d546e4f..46e73ed90546f665d40adfa0dbb272bc4ee85cea 100644
--- a/third_party/WebKit/LayoutTests/inspector/components/linkifier.html
+++ b/third_party/WebKit/LayoutTests/inspector/components/linkifier.html
@@ -62,7 +62,8 @@ function test()
function dumpLiveLocationsCount()
{
- InspectorTest.addResult("Live locations count: " + Bindings.debuggerWorkspaceBinding._ensureInfoForScript(script)._locations.size);
+ var scriptInfo = Bindings.debuggerWorkspaceBinding._ensureInfoForScript(script);
+ InspectorTest.addResult("Live locations count: " + (scriptInfo._locations ? scriptInfo._locations.size : 0));
InspectorTest.addResult("");
}
}

Powered by Google App Engine
This is Rietveld 408576698