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

Unified Diff: cc/test/MockCCQuadCuller.cpp

Issue 11108020: [cc] Change cc_tests.gyp filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 2 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/MockCCQuadCuller.h ('k') | cc/test/WebCompositorInitializer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/MockCCQuadCuller.cpp
diff --git a/cc/test/MockCCQuadCuller.cpp b/cc/test/MockCCQuadCuller.cpp
deleted file mode 100644
index 96cd2068e58439aac519cd602efb91fcb6ffdd48..0000000000000000000000000000000000000000
--- a/cc/test/MockCCQuadCuller.cpp
+++ /dev/null
@@ -1,45 +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 "config.h"
-
-#include "MockCCQuadCuller.h"
-
-namespace cc {
-
-MockCCQuadCuller::MockCCQuadCuller()
- : m_activeQuadList(m_quadListStorage)
- , m_activeSharedQuadStateList(m_sharedQuadStateStorage)
-{
-}
-
-MockCCQuadCuller::MockCCQuadCuller(CCQuadList& externalQuadList, CCSharedQuadStateList& externalSharedQuadStateList)
- : m_activeQuadList(externalQuadList)
- , m_activeSharedQuadStateList(externalSharedQuadStateList)
-{
-}
-
-MockCCQuadCuller::~MockCCQuadCuller()
-{
-}
-
-bool MockCCQuadCuller::append(scoped_ptr<CCDrawQuad> drawQuad, CCAppendQuadsData&)
-{
- if (!drawQuad->quadRect().isEmpty()) {
- m_activeQuadList.append(drawQuad.Pass());
- return true;
- }
- return false;
-}
-
-CCSharedQuadState* MockCCQuadCuller::useSharedQuadState(scoped_ptr<CCSharedQuadState> sharedQuadState)
-{
- sharedQuadState->id = m_activeSharedQuadStateList.size();
-
- CCSharedQuadState* rawPtr = sharedQuadState.get();
- m_activeSharedQuadStateList.append(sharedQuadState.Pass());
- return rawPtr;
-}
-
-} // namespace cc
« no previous file with comments | « cc/test/MockCCQuadCuller.h ('k') | cc/test/WebCompositorInitializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698