| Index: cc/CCYUVVideoDrawQuad.cpp
|
| diff --git a/cc/CCYUVVideoDrawQuad.cpp b/cc/CCYUVVideoDrawQuad.cpp
|
| deleted file mode 100644
|
| index 41d5490f31e0e5fe0b7bc637843094633c5b4506..0000000000000000000000000000000000000000
|
| --- a/cc/CCYUVVideoDrawQuad.cpp
|
| +++ /dev/null
|
| @@ -1,30 +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 "CCYUVVideoDrawQuad.h"
|
| -
|
| -namespace cc {
|
| -
|
| -scoped_ptr<CCYUVVideoDrawQuad> CCYUVVideoDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane)
|
| -{
|
| - return make_scoped_ptr(new CCYUVVideoDrawQuad(sharedQuadState, quadRect, yPlane, uPlane, vPlane));
|
| -}
|
| -
|
| -CCYUVVideoDrawQuad::CCYUVVideoDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane)
|
| - : CCDrawQuad(sharedQuadState, CCDrawQuad::YUVVideoContent, quadRect)
|
| - , m_yPlane(yPlane)
|
| - , m_uPlane(uPlane)
|
| - , m_vPlane(vPlane)
|
| -{
|
| -}
|
| -
|
| -const CCYUVVideoDrawQuad* CCYUVVideoDrawQuad::materialCast(const CCDrawQuad* quad)
|
| -{
|
| - ASSERT(quad->material() == CCDrawQuad::YUVVideoContent);
|
| - return static_cast<const CCYUVVideoDrawQuad*>(quad);
|
| -}
|
| -
|
| -} // namespace cc
|
|
|