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

Unified Diff: LayoutTests/virtual/implsidepainting/inspector/tracing/paint-command-log-nodes.html

Issue 717243002: Timeline: do not imply event.thread.target is the main target (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: avoid keep stale model in TimelineFrameModel Created 6 years, 1 month 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: LayoutTests/virtual/implsidepainting/inspector/tracing/paint-command-log-nodes.html
diff --git a/LayoutTests/virtual/implsidepainting/inspector/tracing/paint-command-log-nodes.html b/LayoutTests/virtual/implsidepainting/inspector/tracing/paint-command-log-nodes.html
index c79f45ba2a00d51c8a755b58987ea8781ab54d5f..9852b75b182b7c55164ef4a5626bdd9b13b78a0e 100644
--- a/LayoutTests/virtual/implsidepainting/inspector/tracing/paint-command-log-nodes.html
+++ b/LayoutTests/virtual/implsidepainting/inspector/tracing/paint-command-log-nodes.html
@@ -21,7 +21,6 @@ function test()
InspectorTest.invokeWithTracing("doActions", onTracingComplete, "disabled-by-default-blink.graphics_context_annotations");
-
var inFlightPictures = 0;
function onTracingComplete()
{
@@ -33,7 +32,7 @@ function test()
if (!event.picture)
continue;
++inFlightPictures;
- new WebInspector.LayerPaintEvent(event).loadPicture(onSnapshotLoaded);
+ new WebInspector.LayerPaintEvent(event, InspectorTest.timelineModel().target()).loadPicture(onSnapshotLoaded);
}
if (!inFlightPictures)
InspectorTest.completeTest();
« no previous file with comments | « LayoutTests/inspector/tracing/timeline-script-id.html ('k') | Source/devtools/front_end/sdk/TracingManager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698