summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-11 01:31:01 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-11 01:31:01 +0000
commit9dbeadb1ed4f28a358a20de556dc5cb4ea51e343 (patch)
treef350054d49c97f6d2d20d44fec0704fbb735caeb /chrome
parent41f82d25cef085e5e8f9a931adc0067245268335 (diff)
downloadchromium_src-9dbeadb1ed4f28a358a20de556dc5cb4ea51e343.zip
chromium_src-9dbeadb1ed4f28a358a20de556dc5cb4ea51e343.tar.gz
chromium_src-9dbeadb1ed4f28a358a20de556dc5cb4ea51e343.tar.bz2
fix chromeos build
BUG=None TEST=None Review URL: http://codereview.chromium.org/492013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/chromeos/main_menu.cc5
-rw-r--r--chrome/browser/chromeos/main_menu.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/chromeos/main_menu.cc b/chrome/browser/chromeos/main_menu.cc
index f0daa45..0930bcbd 100644
--- a/chrome/browser/chromeos/main_menu.cc
+++ b/chrome/browser/chromeos/main_menu.cc
@@ -244,9 +244,8 @@ void MainMenu::RequestMove(const gfx::Rect& new_bounds) {
rwhv_->SetSize(rwhv_size);
}
-RendererPreferences MainMenu::GetRendererPrefs() const {
- return renderer_preferences_util::GetInitedRendererPreferences(
- browser_->profile());
+RendererPreferences MainMenu::GetRendererPrefs(Profile* profile) const {
+ return renderer_preferences_util::GetInitedRendererPreferences(profile);
}
void MainMenu::CreateNewWindow(int route_id) {
diff --git a/chrome/browser/chromeos/main_menu.h b/chrome/browser/chromeos/main_menu.h
index 055c506..8dd4afc 100644
--- a/chrome/browser/chromeos/main_menu.h
+++ b/chrome/browser/chromeos/main_menu.h
@@ -145,7 +145,7 @@ class MainMenu : public RenderViewHostDelegate,
return this;
}
virtual void RequestMove(const gfx::Rect& new_bounds);
- virtual RendererPreferences GetRendererPrefs() const;
+ virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
// RenderViewHostDelegate::View overrides.
virtual void CreateNewWindow(int route_id);