| Index: chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc (revision 152612)
|
| +++ chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc (working copy)
|
| @@ -329,6 +329,9 @@
|
|
|
| // Generate the MHTML snapshot now to report its size in the bubble.
|
| service_->GenerateSnapshot(browser_, weak_ptr_factory_.GetWeakPtr());
|
| +
|
| + // Request a mobile device list update.
|
| + service_->RequestMobileListUpdate();
|
| }
|
|
|
| void ChromeToMobileBubbleView::LinkClicked(views::Link* source,
|
| @@ -361,7 +364,7 @@
|
| const DictionaryValue* mobile = NULL;
|
| if (mobiles->GetDictionary(selected_index, &mobile)) {
|
| FilePath snapshot = send_copy_->checked() ? snapshot_path_ : FilePath();
|
| - service_->SendToMobile(mobile, snapshot, browser_,
|
| + service_->SendToMobile(*mobile, snapshot, browser_,
|
| weak_ptr_factory_.GetWeakPtr());
|
| } else {
|
| NOTREACHED();
|
|
|