| 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
|
|
|