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

Unified Diff: cc/test/mock_quad_culler.cc

Issue 306683002: MockQC stops create its own RP and MockOcclusionTracker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testocclusiontracking
Patch Set: rebase Created 6 years, 6 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/test/mock_quad_culler.h ('k') | cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/mock_quad_culler.cc
diff --git a/cc/test/mock_quad_culler.cc b/cc/test/mock_quad_culler.cc
index 71f1eb869ed6c4c85ce3951be5d3aafa7a4341b1..d3d0ce9fdcf064801b588205c91ed1ccbe83128f 100644
--- a/cc/test/mock_quad_culler.cc
+++ b/cc/test/mock_quad_culler.cc
@@ -10,28 +10,6 @@
namespace cc {
-MockQuadCuller::MockQuadCuller() {
- render_pass_storage_ = RenderPass::Create();
- active_render_pass_ = render_pass_storage_.get();
- occlusion_tracker_storage_ = make_scoped_ptr(
- new MockOcclusionTracker<LayerImpl>(gfx::Rect(0, 0, 1000, 1000)));
- occlusion_tracker_ = occlusion_tracker_storage_.get();
-}
-
-MockQuadCuller::MockQuadCuller(RenderPass* external_render_pass)
- : active_render_pass_(external_render_pass) {
- occlusion_tracker_storage_ = make_scoped_ptr(
- new MockOcclusionTracker<LayerImpl>(gfx::Rect(0, 0, 1000, 1000)));
- occlusion_tracker_ = occlusion_tracker_storage_.get();
-}
-
-MockQuadCuller::MockQuadCuller(
- MockOcclusionTracker<LayerImpl>* occlusion_tracker)
- : occlusion_tracker_(occlusion_tracker) {
- render_pass_storage_ = RenderPass::Create();
- active_render_pass_ = render_pass_storage_.get();
-}
-
MockQuadCuller::MockQuadCuller(
RenderPass* external_render_pass,
MockOcclusionTracker<LayerImpl>* occlusion_tracker)
« no previous file with comments | « cc/test/mock_quad_culler.h ('k') | cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698