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

Unified Diff: cc/CCSolidColorDrawQuad.cpp

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/CCSolidColorDrawQuad.h ('k') | cc/CCSolidColorLayerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCSolidColorDrawQuad.cpp
diff --git a/cc/CCSolidColorDrawQuad.cpp b/cc/CCSolidColorDrawQuad.cpp
deleted file mode 100644
index 157acd9d3b443f231fbbb278f31900a2f0ee3664..0000000000000000000000000000000000000000
--- a/cc/CCSolidColorDrawQuad.cpp
+++ /dev/null
@@ -1,32 +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 "CCSolidColorDrawQuad.h"
-
-namespace cc {
-
-scoped_ptr<CCSolidColorDrawQuad> CCSolidColorDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color)
-{
- return make_scoped_ptr(new CCSolidColorDrawQuad(sharedQuadState, quadRect, color));
-}
-
-CCSolidColorDrawQuad::CCSolidColorDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color)
- : CCDrawQuad(sharedQuadState, CCDrawQuad::SolidColor, quadRect)
- , m_color(color)
-{
- if (SkColorGetA(m_color) < 255)
- m_quadOpaque = false;
- else
- m_opaqueRect = quadRect;
-}
-
-const CCSolidColorDrawQuad* CCSolidColorDrawQuad::materialCast(const CCDrawQuad* quad)
-{
- ASSERT(quad->material() == CCDrawQuad::SolidColor);
- return static_cast<const CCSolidColorDrawQuad*>(quad);
-}
-
-} // namespacec cc
« no previous file with comments | « cc/CCSolidColorDrawQuad.h ('k') | cc/CCSolidColorLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698