| Index: chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
|
| index 9f13d2e00edaae9b9325312ab84caf4cff2f3170..beaaa5f97e690e89a58a924485e7709c35d90424 100644
|
| --- a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
|
| @@ -393,16 +393,7 @@ class NotificationBridge : public WrenchMenuBadgeController::Delegate {
|
|
|
| - (void)focusLocationBar:(BOOL)selectAll {
|
| if (locationBarView_.get()) {
|
| - if (selectAll &&
|
| - locationBarView_->GetToolbarModel()->WouldOmitURLDueToOriginChip()) {
|
| - // select_all is true when it's expected that the user may want to copy
|
| - // the URL to the clipboard. If the origin chip is being displayed (and
|
| - // thus the URL is not being shown in the Omnibox) show it now to support
|
| - // the same functionality.
|
| - locationBarView_->GetOmniboxView()->ShowURL();
|
| - } else {
|
| - locationBarView_->FocusLocation(selectAll ? true : false);
|
| - }
|
| + locationBarView_->FocusLocation(selectAll ? true : false);
|
| }
|
| }
|
|
|
|
|