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

Unified Diff: chrome/renderer/render_thread.cc

Issue 155846: Fix single process mode and the unit_tests on Linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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/common/child_thread.cc ('k') | chrome/renderer/render_thread_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.cc
===================================================================
--- chrome/renderer/render_thread.cc (revision 21117)
+++ chrome/renderer/render_thread.cc (working copy)
@@ -87,14 +87,12 @@
// When we run plugins in process, we actually run them on the render thread,
// which means that we need to make the render thread pump UI events.
-RenderThread::RenderThread()
- : plugin_refresh_allowed_(true) {
+RenderThread::RenderThread() {
Init();
}
RenderThread::RenderThread(const std::string& channel_name)
- : plugin_refresh_allowed_(true) {
- SetChannelName(channel_name);
+ : ChildThread(channel_name) {
Init();
}
@@ -107,6 +105,7 @@
CoInitialize(0);
#endif
+ plugin_refresh_allowed_ = true;
cache_stats_factory_.reset(
new ScopedRunnableMethodFactory<RenderThread>(this));
« no previous file with comments | « chrome/common/child_thread.cc ('k') | chrome/renderer/render_thread_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698