summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac.mm
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 01:18:13 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 01:18:13 +0000
commitf6314009810a5ee6c606328c41c8ff4e1dacd05e (patch)
tree3c530eb3c209f23e369f0a8f35849a94e502cbc8 /chrome/browser/app_controller_mac.mm
parentec85e6880806202737a4d32c94817f0ecad4ca8b (diff)
downloadchromium_src-f6314009810a5ee6c606328c41c8ff4e1dacd05e.zip
chromium_src-f6314009810a5ee6c606328c41c8ff4e1dacd05e.tar.gz
chromium_src-f6314009810a5ee6c606328c41c8ff4e1dacd05e.tar.bz2
Fix problem with bookmark bar introduced by window sharing; pref
change needs to change all open windows with the same preferences, not just the current one). Improve unit testing. Limit bookmark menu size width (1st pass). Cleanup/delete of code which no longer does much. Review URL: http://codereview.chromium.org/79068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_controller_mac.mm')
-rw-r--r--chrome/browser/app_controller_mac.mm5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 6b2bf48..435bc60 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -150,14 +150,11 @@
}
- (Profile*)defaultProfile {
- // Only expected to return NULL in a unit test (if g_browser_process
- // is a TestingBrowserProcess).
- // TODO(jrg): DCHECK() to confirm that.
// TODO(jrg): Find a better way to get the "default" profile.
if (g_browser_process->profile_manager())
return* g_browser_process->profile_manager()->begin();
- return NULL;
+ return NULL;
}
// Various methods to open URLs that we get in a native fashion. We use