diff options
author | vabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-27 22:27:11 +0000 |
---|---|---|
committer | vabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-27 22:27:11 +0000 |
commit | a61890ebc4d1d6f558edfe8a03ba6a6c72a16689 (patch) | |
tree | dc8768892744a98ba9386583a1d27fa575e72a15 /printing/page_size_margins.cc | |
parent | b39a8db3e8e31029e98075863a38f8c3b188529c (diff) | |
download | chromium_src-a61890ebc4d1d6f558edfe8a03ba6a6c72a16689.zip chromium_src-a61890ebc4d1d6f558edfe8a03ba6a6c72a16689.tar.gz chromium_src-a61890ebc4d1d6f558edfe8a03ba6a6c72a16689.tar.bz2 |
Correct const accessors in base/values.(h|cc)
For problem description and other info please see the BUG page.
This is for DictionaryValue.
BUG=138946
TEST=N/A (no fix & no new feature)
TBR=jar scottbyer achuith agl mnissler davemoore garykac akalin hans bulach phajdan.jr jamesr
Review URL: https://chromiumcodereview.appspot.com/10834004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/page_size_margins.cc')
-rw-r--r-- | printing/page_size_margins.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/page_size_margins.cc b/printing/page_size_margins.cc index 8a6b48b..0f4d4fe 100644 --- a/printing/page_size_margins.cc +++ b/printing/page_size_margins.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -12,7 +12,7 @@ namespace printing { void GetCustomMarginsFromJobSettings(const base::DictionaryValue& settings, PageSizeMargins* page_size_margins) { - DictionaryValue* custom_margins; + const DictionaryValue* custom_margins; if (!settings.GetDictionary(kSettingMarginsCustom, &custom_margins) || !custom_margins->GetDouble(kSettingMarginTop, &page_size_margins->margin_top) || |