summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 20:22:49 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 20:22:49 +0000
commit83a4075694df07811f995653615c8685bacef3ce (patch)
tree5085ecf85717710ae1970282dfeb168dcaf0d54b /views
parentebcb20c7ead50898319724aa42efb0e31acf1877 (diff)
downloadchromium_src-83a4075694df07811f995653615c8685bacef3ce.zip
chromium_src-83a4075694df07811f995653615c8685bacef3ce.tar.gz
chromium_src-83a4075694df07811f995653615c8685bacef3ce.tar.bz2
Use predefined color names where possible for clarity. Also use "SkColorSetARGB(0, 0, 0, 0)" in place of "NULL" since it's not obvious what the latter means as a color.
BUG=none TEST=none Review URL: http://codereview.chromium.org/273042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/focus/focus_manager_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/focus/focus_manager_unittest.cc b/views/focus/focus_manager_unittest.cc
index 3f88610..bab3cf1 100644
--- a/views/focus/focus_manager_unittest.cc
+++ b/views/focus/focus_manager_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 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.
@@ -338,7 +338,7 @@ FocusTraversalTest::~FocusTraversalTest() {
void FocusTraversalTest::InitContentView() {
content_view_->set_background(
- Background::CreateSolidBackground(255, 255, 255));
+ Background::CreateSolidBackground(SK_ColorWHITE));
Checkbox* cb = new Checkbox(L"This is a checkbox");
content_view_->AddChildView(cb);