Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(869)

Unified Diff: chrome/browser/chromeos/main_menu.cc

Issue 492013: fix chromeos build (Closed)
Patch Set: browser_->profile() -> profile Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/main_menu.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/main_menu.cc
diff --git a/chrome/browser/chromeos/main_menu.cc b/chrome/browser/chromeos/main_menu.cc
index f0daa45f3aa86fccc73ccc4e28b65d1b3ddea19d..0930bcbd333b784d53e19ab508bdbda14b8d3e31 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) {
« no previous file with comments | « chrome/browser/chromeos/main_menu.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698