diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 16:34:00 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 16:34:00 +0000 |
commit | 501dfc4cc7b3e9f40e4a1b589a7043b7503b38d0 (patch) | |
tree | 4c4eb92c138dc747515b376587a4e09b498c5cf3 /base/debug/stack_trace.cc | |
parent | 3c44df5b169f8e7617eeb02a167dced84a5c108a (diff) | |
download | chromium_src-501dfc4cc7b3e9f40e4a1b589a7043b7503b38d0.zip chromium_src-501dfc4cc7b3e9f40e4a1b589a7043b7503b38d0.tar.gz chromium_src-501dfc4cc7b3e9f40e4a1b589a7043b7503b38d0.tar.bz2 |
Fix constness of StackTrace.
StackTrace's member functions should be const.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6831014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug/stack_trace.cc')
-rw-r--r-- | base/debug/stack_trace.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/debug/stack_trace.cc b/base/debug/stack_trace.cc index 5be4c5c..7c44f7a 100644 --- a/base/debug/stack_trace.cc +++ b/base/debug/stack_trace.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -10,7 +10,7 @@ namespace debug { StackTrace::~StackTrace() { } -const void *const *StackTrace::Addresses(size_t* count) { +const void *const *StackTrace::Addresses(size_t* count) const { *count = count_; if (count_) return trace_; |