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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <bitset> 10 #include <bitset>
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 SharedBitmapManager* shared_bitmap_manager_; 831 SharedBitmapManager* shared_bitmap_manager_;
832 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; 832 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_;
833 TaskGraphRunner* task_graph_runner_; 833 TaskGraphRunner* task_graph_runner_;
834 int id_; 834 int id_;
835 835
836 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 836 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
837 837
838 bool requires_high_res_to_draw_; 838 bool requires_high_res_to_draw_;
839 bool is_likely_to_require_a_draw_; 839 bool is_likely_to_require_a_draw_;
840 840
841 // TODO(danakj): Delete the compositor frame sink and all resources when
842 // it's lost instead of having this bool.
843 bool has_valid_compositor_frame_sink_;
844
841 std::unique_ptr<Viewport> viewport_; 845 std::unique_ptr<Viewport> viewport_;
842 846
843 std::unique_ptr<LayerTreeMutator> mutator_; 847 std::unique_ptr<LayerTreeMutator> mutator_;
844 848
845 std::unique_ptr<PendingTreeDurationHistogramTimer> 849 std::unique_ptr<PendingTreeDurationHistogramTimer>
846 pending_tree_duration_timer_; 850 pending_tree_duration_timer_;
847 851
848 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 852 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
849 }; 853 };
850 854
851 } // namespace cc 855 } // namespace cc
852 856
853 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 857 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« 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