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

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 2349143003: cc: Avoid ResourceProvider nullptr deref (Closed)
Patch Set: 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') | cc/trees/layer_tree_host_impl.cc » ('J')
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 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 830
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 bool has_valid_compositor_frame_sink_;
840 841
841 std::unique_ptr<Viewport> viewport_; 842 std::unique_ptr<Viewport> viewport_;
842 843
843 std::unique_ptr<LayerTreeMutator> mutator_; 844 std::unique_ptr<LayerTreeMutator> mutator_;
844 845
845 std::unique_ptr<PendingTreeDurationHistogramTimer> 846 std::unique_ptr<PendingTreeDurationHistogramTimer>
846 pending_tree_duration_timer_; 847 pending_tree_duration_timer_;
847 848
848 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 849 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
849 }; 850 };
850 851
851 } // namespace cc 852 } // namespace cc
852 853
853 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 854 #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') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698