summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/toolbar_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller.mm')
-rw-r--r--chrome/browser/cocoa/toolbar_controller.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller.mm b/chrome/browser/cocoa/toolbar_controller.mm
index f3c7b13..5db38fb 100644
--- a/chrome/browser/cocoa/toolbar_controller.mm
+++ b/chrome/browser/cocoa/toolbar_controller.mm
@@ -302,8 +302,8 @@ class PrefObserverBridge : public NotificationObserver {
// TODO(???): add more code here when implementing app mode to allow
// turning off both toolbar AND location bar.
- // TODO(jrg): add mode code to make the location bar NOT editable
- // when in a pop-up.
+ // Make location bar not editable when in a pop-up.
+ [locationBar_ setEditable:toolbar];
}
- (NSView*)view {