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

Unified Diff: components/viz/frame_sinks/mojo_frame_sink_manager.h

Issue 2880023002: cc::SurfaceDependencyTracker should not crash when a Display goes away (Closed)
Patch Set: Fix LayerTreeHostImpl unit tests Created 3 years, 7 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 | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | components/viz/frame_sinks/mojo_frame_sink_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/viz/frame_sinks/mojo_frame_sink_manager.h
diff --git a/components/viz/frame_sinks/mojo_frame_sink_manager.h b/components/viz/frame_sinks/mojo_frame_sink_manager.h
index 8495617d31805b728fcd9c786f6d6cf9154b7c9c..af01a4bfe29b5b40eeeaac432d4734a3bfed1396 100644
--- a/components/viz/frame_sinks/mojo_frame_sink_manager.h
+++ b/components/viz/frame_sinks/mojo_frame_sink_manager.h
@@ -95,6 +95,8 @@ class VIZ_EXPORT MojoFrameSinkManager
// access to a valid pointer for the entirety of their lifetimes.
cc::SurfaceManager manager_;
+ std::unique_ptr<cc::SurfaceDependencyTracker> dependency_tracker_;
+
// Provides a cc::Display for CreateRootCompositorFrameSink().
DisplayProvider* const display_provider_;
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | components/viz/frame_sinks/mojo_frame_sink_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698