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

Unified Diff: third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html

Issue 2613643002: DevTools: migrate from external Maps to symbols in the bindings objects. (Closed)
Patch Set: 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-enabled/sources/debugger/linkifier.html
diff --git a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
index 8658d0f0848f7dfa0cb17304d7179dc3cbb37e1f..26900aa6e03c7a0bb1936f177fc11f5ef02389aa 100644
--- a/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
+++ b/third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
@@ -89,7 +89,8 @@ function test()
function liveLocationsCount()
{
- return Bindings.debuggerWorkspaceBinding._ensureInfoForScript(script)._locations.size;
+ var scriptInfo = Bindings.debuggerWorkspaceBinding._ensureInfoForScript(script);
+ return scriptInfo._locations ? scriptInfo._locations.size : 0;
}
}

Powered by Google App Engine
This is Rietveld 408576698