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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 2862113002: Linux Aura: Use incognito profile to theme incognito browser windows (Closed)
Patch Set: Created 3 years, 7 months 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
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 66f94a6abf38d8c66fd75458e3a17bab019d723f..e1615e1cb341f51d3c14b1beb56e315f3a3f5ee5 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -2090,10 +2090,9 @@ void BrowserView::InitViews() {
browser_->profile());
#if defined(USE_AURA)
- // Stow a pointer to the browser's original profile onto the window handle so
+ // Stow a pointer to the browser's profile onto the window handle so
// that windows will be styled with the appropriate NativeTheme.
- SetThemeProfileForWindow(GetNativeWindow(),
- browser_->profile()->GetOriginalProfile());
+ SetThemeProfileForWindow(GetNativeWindow(), browser_->profile());
#endif
LoadAccelerators();
« no previous file with comments | « no previous file | chrome/browser/ui/views/native_widget_factory.cc » ('j') | chrome/browser/ui/views/native_widget_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698