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

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

Issue 2937993002: Revert of Fix stability and data racing issues, coalesce more updates for JumpList (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/win/jumplist.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 290e38693b513050bc763a090611af2f7ffdcaf3..81bb366a1440f810a7c7a519f855c73a01a20f18 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -2163,9 +2163,8 @@
void BrowserView::OnLoadCompleted() {
#if defined(OS_WIN)
- // Ensure that this browser's Profile has a JumpList so that the JumpList is
- // kept up to date.
- JumpListFactory::GetForProfile(browser_->profile());
+ DCHECK(!jumplist_.get());
+ jumplist_ = JumpListFactory::GetForProfile(browser_->profile());
#endif
}
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/win/jumplist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698