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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/layer-tree.html

Issue 2434393002: Timeline: promisify paint profiler and Layers panel, part I (Closed)
Patch Set: review comments addressed 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/PaintProfiler.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/layer-tree.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/layer-tree.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/layer-tree.html
index 8830a87083381024a469b48c856e0aa6193cc9f3..cf6a5284e828be2377bee020b56570219d3cc9ef 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/layer-tree.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/layer-tree.html
@@ -28,8 +28,7 @@ function test()
{
var frames = InspectorTest.timelineFrameModel().frames();
var lastFrame = InspectorTest.timelineFrameModel().frames().peekLast();
- var deferredLayerTree = lastFrame.layerTree;
- deferredLayerTree.resolve(InspectorTest.safeWrap(layerTreeResolved));
+ lastFrame.layerTree.layerTreePromise().then(InspectorTest.safeWrap(layerTreeResolved))
}
function layerTreeResolved(layerTreeModel)
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/PaintProfiler.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698