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

Unified Diff: cc/CCDebugBorderDrawQuad.cpp

Issue 11066075: [NOT TO COMMIT] File Manager: make "date modified" column depending on the 12/24 hour setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aaa 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/CCDamageTrackerTest.cpp ('k') | cc/CCDebugRectHistory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCDebugBorderDrawQuad.cpp
diff --git a/cc/CCDebugBorderDrawQuad.cpp b/cc/CCDebugBorderDrawQuad.cpp
deleted file mode 100644
index 16912a934b03dec9601990dd6f1232afc297c7b6..0000000000000000000000000000000000000000
--- a/cc/CCDebugBorderDrawQuad.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 "CCDebugBorderDrawQuad.h"
-
-namespace cc {
-
-scoped_ptr<CCDebugBorderDrawQuad> CCDebugBorderDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width)
-{
- return scoped_ptr<CCDebugBorderDrawQuad>(new CCDebugBorderDrawQuad(sharedQuadState, quadRect, color, width));
-}
-
-CCDebugBorderDrawQuad::CCDebugBorderDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width)
- : CCDrawQuad(sharedQuadState, CCDrawQuad::DebugBorder, quadRect)
- , m_color(color)
- , m_width(width)
-{
- m_quadOpaque = false;
- if (SkColorGetA(m_color) < 255)
- m_needsBlending = true;
-}
-
-const CCDebugBorderDrawQuad* CCDebugBorderDrawQuad::materialCast(const CCDrawQuad* quad)
-{
- ASSERT(quad->material() == CCDrawQuad::DebugBorder);
- return static_cast<const CCDebugBorderDrawQuad*>(quad);
-}
-
-}
« no previous file with comments | « cc/CCDamageTrackerTest.cpp ('k') | cc/CCDebugRectHistory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698