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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 468983002: Still produce quad when tile OOM and on demand raster is not allowed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
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 7392d4f9c27003a8508e6a862f5c552c8feea2e9..0edbbfc8c0e0157fb724e0d93ada619ddeb9eb6e 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -516,6 +516,8 @@ class CC_EXPORT LayerTreeHostImpl
LayerTreeHostImplClient* client_;
Proxy* proxy_;
+ scoped_ptr<TileManager> tile_manager_;
+
private:
void CreateAndSetRenderer();
void CreateAndSetTileManager();
@@ -591,7 +593,6 @@ class CC_EXPORT LayerTreeHostImpl
// |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile-
// free rendering - see OutputSurface::ForcedDrawToSoftwareDevice().
scoped_ptr<ResourceProvider> resource_provider_;
- scoped_ptr<TileManager> tile_manager_;
bool use_gpu_rasterization_;
scoped_ptr<RasterWorkerPool> raster_worker_pool_;
scoped_ptr<ResourcePool> resource_pool_;
« cc/layers/picture_layer_impl_unittest.cc ('K') | « cc/test/fake_layer_tree_host_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698