From 3984b4b1edee2b14b0ebd41d31fc9fedfc7a0ef9 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Tue, 1 Dec 2009 23:07:00 +0000 Subject: Lands http://codereview.chromium.org/449003/show for Thiago: views: replace the deprecated macro (DISALLOW_EVIL_CONSTRUCTORS). Use DISALLOW_COPY_AND_ASSIGN instead, also fix some style issues pointed by lint. BUG=none TEST=none Review URL: http://codereview.chromium.org/449075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33500 0039d316-1c4b-4281-b951-d872f2087c98 --- views/painter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/painter.cc') diff --git a/views/painter.cc b/views/painter.cc index bcc65cd..6c67f9e 100644 --- a/views/painter.cc +++ b/views/painter.cc @@ -51,7 +51,7 @@ class GradientPainter : public Painter { bool horizontal_; SkColor colors_[2]; - DISALLOW_EVIL_CONSTRUCTORS(GradientPainter); + DISALLOW_COPY_AND_ASSIGN(GradientPainter); }; -- cgit v1.1