diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-01 23:07:00 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-01 23:07:00 +0000 |
commit | 3984b4b1edee2b14b0ebd41d31fc9fedfc7a0ef9 (patch) | |
tree | 3ce2aba0fd25d8b37d61e58ae437107594f36d39 /views/border.cc | |
parent | 894b4a7c7323f0132f3a9611cfb71fa7eed223ad (diff) | |
download | chromium_src-3984b4b1edee2b14b0ebd41d31fc9fedfc7a0ef9.zip chromium_src-3984b4b1edee2b14b0ebd41d31fc9fedfc7a0ef9.tar.gz chromium_src-3984b4b1edee2b14b0ebd41d31fc9fedfc7a0ef9.tar.bz2 |
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
Diffstat (limited to 'views/border.cc')
-rw-r--r-- | views/border.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/border.cc b/views/border.cc index 2e74135..fa47bbb 100644 --- a/views/border.cc +++ b/views/border.cc @@ -24,7 +24,7 @@ class SolidBorder : public Border { SkColor color_; gfx::Insets insets_; - DISALLOW_EVIL_CONSTRUCTORS(SolidBorder); + DISALLOW_COPY_AND_ASSIGN(SolidBorder); }; SolidBorder::SolidBorder(int thickness, SkColor color) @@ -83,7 +83,7 @@ class EmptyBorder : public Border { int bottom_; int right_; - DISALLOW_EVIL_CONSTRUCTORS(EmptyBorder); + DISALLOW_COPY_AND_ASSIGN(EmptyBorder); }; } |