| Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| index 6ab593b9ba7815da5cc19f7fc456e20de1f1f3a4..16609ba37f269b19ff8f81f7eaf513685e1009b9 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| @@ -404,7 +404,7 @@ void LocationBarViewMac::SetPreviewEnabledPageAction(
|
| return;
|
|
|
| decoration->set_preview_enabled(preview_enabled);
|
| - decoration->UpdateVisibility(contents, GURL(toolbar_model_->GetText()));
|
| + decoration->UpdateVisibility(contents, toolbar_model_->GetURL());
|
| }
|
|
|
| NSRect LocationBarViewMac::GetPageActionFrame(ExtensionAction* page_action) {
|
| @@ -653,7 +653,7 @@ void LocationBarViewMac::RefreshPageActionDecorations() {
|
| }
|
| }
|
|
|
| - GURL url = GURL(toolbar_model_->GetText());
|
| + GURL url = toolbar_model_->GetURL();
|
| for (size_t i = 0; i < page_action_decorations_.size(); ++i) {
|
| page_action_decorations_[i]->UpdateVisibility(
|
| toolbar_model_->input_in_progress() ?
|
|
|