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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html

Issue 2850333002: DevTools: Promisify Profiler and HeapProfiler domains (Closed)
Patch Set: addressing comments Created 3 years, 8 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-inspect-dom-wrapper.html
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html b/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html
index 79d56ab06d3d19b7bcab324e18e21a164db072e7..ed8e3283d37b76ddc42c6bf2529a39ff4b159b4c 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html
@@ -16,7 +16,7 @@ function test()
var heapProfileType = Profiler.ProfileTypeRegistry.instance.heapSnapshotProfileType;
heapProfileType.addEventListener(Profiler.HeapSnapshotProfileType.SnapshotReceived, finishHeapSnapshot);
InspectorTest.addSniffer(heapProfileType, "_snapshotReceived", snapshotReceived);
- heapProfileType._takeHeapSnapshot(function() {});
+ heapProfileType._takeHeapSnapshot();
function finishHeapSnapshot(uid)
{

Powered by Google App Engine
This is Rietveld 408576698