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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2349143003: cc: Avoid ResourceProvider nullptr deref (Closed)
Patch Set: not for review: fix crash Created 4 years, 3 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 | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 27f2f504ef57229b1f1ec6348a086df6433b6305..5d6e070b09bac7da83caba20b07541a0ca433077 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -838,6 +838,10 @@ class CC_EXPORT LayerTreeHostImpl
bool requires_high_res_to_draw_;
bool is_likely_to_require_a_draw_;
+ // TODO(danakj): Delete the compositor frame sink and all resources when
+ // it's lost instead of having this bool.
+ bool has_valid_compositor_frame_sink_;
+
std::unique_ptr<Viewport> viewport_;
std::unique_ptr<LayerTreeMutator> mutator_;
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698