summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 18:27:02 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 18:27:02 +0000
commitbe9cc1e25193726e62de79bdfa0d3afb65fd0ac7 (patch)
tree1246a44d9bad9b493f56289f46c2acae2cfa0584 /views
parentbc435db7f1db0b0a812a3be3f8e872fbae680d19 (diff)
downloadchromium_src-be9cc1e25193726e62de79bdfa0d3afb65fd0ac7.zip
chromium_src-be9cc1e25193726e62de79bdfa0d3afb65fd0ac7.tar.gz
chromium_src-be9cc1e25193726e62de79bdfa0d3afb65fd0ac7.tar.bz2
views: Constantify two kViewClassName strings.
R=sky@chromium.org Review URL: http://codereview.chromium.org/8495014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/view.cc2
-rw-r--r--views/view.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/view.cc b/views/view.cc
index b3bfeee..b3644dc 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -84,7 +84,7 @@ namespace views {
ViewsDelegate* ViewsDelegate::views_delegate = NULL;
// static
-char View::kViewClassName[] = "views/View";
+const char View::kViewClassName[] = "views/View";
////////////////////////////////////////////////////////////////////////////////
// View, public:
diff --git a/views/view.h b/views/view.h
index c0154f0..6c49097 100644
--- a/views/view.h
+++ b/views/view.h
@@ -363,7 +363,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Attributes ----------------------------------------------------------------
// The view class name.
- static char kViewClassName[];
+ static const char kViewClassName[];
// Return the receiving view's class name. A view class is a string which
// uniquely identifies the view class. It is intended to be used as a way to