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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-loader.html

Issue 2450973002: [DevTools] Inherit WI.Target from Protocol.Target. (Closed)
Patch Set: Created 4 years, 2 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/profiler/heap-snapshot-loader.html
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-loader.html b/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-loader.html
index 81198c24b68c5102a58fbcd23dedc69e60e617c6..1dd618e006dfd8244114783c1091514012c81939 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-loader.html
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-loader.html
@@ -11,7 +11,7 @@ function test()
var partSize = sourceStringified.length >> 3;
function injectMockProfile(callback) {
- var dispatcher = InspectorTest.connection._dispatchers["HeapProfiler"]._dispatcher;
+ var dispatcher = InspectorTest.mainTarget._dispatchers["HeapProfiler"]._dispatcher;
var panel = WebInspector.panels.profiles;
panel._reset();

Powered by Google App Engine
This is Rietveld 408576698