diff options
author | vabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-03 08:43:37 +0000 |
---|---|---|
committer | vabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-03 08:43:37 +0000 |
commit | 5d30f92bf4e9f055d44ea0db2327b036ae41eef6 (patch) | |
tree | e4237d83ef224e420140e6411ac84f60216555d1 /chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm | |
parent | 4ccaee6820cb8ac79581141a4f2463a2abb38442 (diff) | |
download | chromium_src-5d30f92bf4e9f055d44ea0db2327b036ae41eef6.zip chromium_src-5d30f92bf4e9f055d44ea0db2327b036ae41eef6.tar.gz chromium_src-5d30f92bf4e9f055d44ea0db2327b036ae41eef6.tar.bz2 |
Correct const accessors in base/values.(h|cc), Part II (ListValue)
For problem description and other info please see the BUG page.
This is for ListValue.
BUG=138946
TEST=N/A (no fix & no new feature)
TBR=jar,zelidrag,scottbyer,mpcomplete,darin,achuith,sky,estade,atwilson,grt,thakis,jamesr,hans,sadrul,pastarmovj
Review URL: https://chromiumcodereview.appspot.com/10837044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm')
-rw-r--r-- | chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm b/chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm index 4b088ea..f8de658 100644 --- a/chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm +++ b/chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm @@ -104,7 +104,7 @@ void ChromeToMobileBubbleNotificationBridge::OnSendComplete(bool success) { NSWindow* window = [self window]; const ListValue* mobiles = service_->GetMobiles(); - DictionaryValue* mobile = NULL; + const DictionaryValue* mobile = NULL; string16 name; if (mobiles->GetSize() == 1) { @@ -185,7 +185,7 @@ void ChromeToMobileBubbleNotificationBridge::OnSendComplete(bool success) { // NSMatrix selectedRow is -1 by default (in the single mobile device case). const int selected_index = std::max<int>([mobileRadioGroup_ selectedRow], 0); - DictionaryValue* mobile = NULL; + const DictionaryValue* mobile = NULL; if (mobiles->GetDictionary(selected_index, &mobile)) { service_->SendToMobile(*mobile, ([sendCopy_ state] == NSOnState) ? snapshotPath_ : FilePath(), |