summaryrefslogtreecommitdiffstats
path: root/chrome/browser/window_sizer.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 21:57:56 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 21:57:56 +0000
commit999aa609b3fc8a9bc14d0d39d34890cf1df1160c (patch)
tree4fca9259b9ec59407a248e7a685c0ac6bc31e8e5 /chrome/browser/window_sizer.cc
parent1dc73f568f2914b38016d396eb387b9db5f0d360 (diff)
downloadchromium_src-999aa609b3fc8a9bc14d0d39d34890cf1df1160c.zip
chromium_src-999aa609b3fc8a9bc14d0d39d34890cf1df1160c.tar.gz
chromium_src-999aa609b3fc8a9bc14d0d39d34890cf1df1160c.tar.bz2
More cleanup in Browser:
- remove "RunSimpleFrameMenu" method that isn't used anymore. - rename Browser::GetType() to Browser::type() Review URL: http://codereview.chromium.org/10605 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/window_sizer.cc')
-rw-r--r--chrome/browser/window_sizer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/window_sizer.cc b/chrome/browser/window_sizer.cc
index 8535277..634fe9c 100644
--- a/chrome/browser/window_sizer.cc
+++ b/chrome/browser/window_sizer.cc
@@ -140,8 +140,7 @@ class DefaultStateProvider : public WindowSizer::StateProvider {
BrowserList::const_reverse_iterator end = BrowserList::end_last_active();
for (; it != end; ++it) {
Browser* last_active = *it;
- if (last_active &&
- last_active->GetType() == BrowserType::TABBED_BROWSER) {
+ if (last_active && last_active->type() == BrowserType::TABBED_BROWSER) {
BrowserWindow* frame = last_active->window();
DCHECK(frame);
*bounds = frame->GetNormalBounds();