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

Unified Diff: cc/test/mock_quad_culler.cc

Issue 308193003: Removed QuadSink and MockQuadCuller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@plumLayerImpl
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/test/render_pass_test_utils.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
deleted file mode 100644
index e1b140bbd395ff4f07d345f5b2767e783211f3ce..0000000000000000000000000000000000000000
--- a/cc/test/mock_quad_culler.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "cc/test/mock_quad_culler.h"
-
-namespace cc {
-
-MockQuadCuller::MockQuadCuller(
- RenderPass* render_pass,
- MockOcclusionTracker<LayerImpl>* occlusion_tracker)
- : QuadSink(render_pass, occlusion_tracker),
- occlusion_tracker_(occlusion_tracker) {
-}
-
-MockQuadCuller::~MockQuadCuller() {}
-
-gfx::Rect MockQuadCuller::UnoccludedContentRect(
- const gfx::Rect& content_rect,
- const gfx::Transform& draw_transform) {
- return occlusion_tracker_->UnoccludedContentRect(content_rect,
- draw_transform);
-}
-
-gfx::Rect MockQuadCuller::UnoccludedContributingSurfaceContentRect(
- const gfx::Rect& content_rect,
- const gfx::Transform& draw_transform) {
- return occlusion_tracker_->UnoccludedContributingSurfaceContentRect(
- content_rect, draw_transform);
-}
-
-} // namespace cc
-
« no previous file with comments | « cc/test/mock_quad_culler.h ('k') | cc/test/render_pass_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698