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

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: rm unused line Created 6 years, 7 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/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 d716fb5e09630135c5235a847650afec90d9a7e2..0000000000000000000000000000000000000000
--- a/cc/test/mock_quad_culler.cc
+++ /dev/null
@@ -1,34 +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 LayerImpl* layer,
- const gfx::Rect& content_rect,
- const gfx::Transform& draw_transform) {
- return occlusion_tracker_->UnoccludedContentRect(
- layer, content_rect, draw_transform);
-}
-
-gfx::Rect MockQuadCuller::UnoccludedContributingSurfaceContentRect(
- const LayerImpl* layer,
- const gfx::Rect& content_rect,
- const gfx::Transform& draw_transform) {
- return occlusion_tracker_->UnoccludedContributingSurfaceContentRect(
- layer, content_rect, draw_transform);
-}
-
-} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698