| Index: chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm (revision 152612)
|
| +++ chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm (working copy)
|
| @@ -165,6 +165,9 @@
|
| // Generate the MHTML snapshot now to report its size in the bubble.
|
| service_->GenerateSnapshot(browser_, bridge_->AsWeakPtr());
|
|
|
| + // Request a mobile device list update.
|
| + service_->RequestMobileListUpdate();
|
| +
|
| [super showWindow:sender];
|
| }
|
|
|
| @@ -184,7 +187,7 @@
|
|
|
| const DictionaryValue* mobile = NULL;
|
| if (mobiles->GetDictionary(selected_index, &mobile)) {
|
| - service_->SendToMobile(mobile,
|
| + service_->SendToMobile(*mobile,
|
| ([sendCopy_ state] == NSOnState) ? snapshotPath_ : FilePath(),
|
| browser_, bridge_->AsWeakPtr());
|
| } else {
|
|
|