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

Unified Diff: chrome/browser/chrome_browser_parts_views.cc

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With this patchset, Chrome runs and exits normally on Linux. Created 9 years, 1 month 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/chrome_browser_parts_views.cc
diff --git a/chrome/browser/chrome_browser_parts_views.cc b/chrome/browser/chrome_browser_parts_views.cc
index 62048bbdb360a20c4cba12c980109d5af9d8ebf0..646097b86756a62c9a993ef0401e9261da65c2af 100644
--- a/chrome/browser/chrome_browser_parts_views.cc
+++ b/chrome/browser/chrome_browser_parts_views.cc
@@ -27,7 +27,7 @@ void ChromeBrowserPartsViews::ToolkitInitialized() {
views::Widget::SetDebugPaintEnabled(true);
}
-void ChromeBrowserPartsViews::PreMainMessageLoopRun() {
+content::IOThreadDelegate* ChromeBrowserPartsViews::PreMainMessageLoopRun() {
#if !defined(USE_AURA)
views::Widget::SetPureViews(
CommandLine::ForCurrentProcess()->HasSwitch(switches::kUsePureViews));
@@ -53,6 +53,7 @@ void ChromeBrowserPartsViews::PreMainMessageLoopRun() {
}
}
#endif
+ return NULL;
}
bool ChromeBrowserPartsViews::MainMessageLoopRun(int* result_code) {

Powered by Google App Engine
This is Rietveld 408576698