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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 11824040: Enables compositing support for webview. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed build error on mac and win, nits Created 7 years, 11 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 | « content/renderer/browser_plugin/browser_plugin_manager_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 77f6b17246d15d033358530b58a34900d033c3d4..44f8abb2114f1c43935f5da83ffa4953e100f322 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -592,13 +592,7 @@ void RenderThreadImpl::EnsureWebKitInitialized() {
WebKit::Platform::current()->compositorSupport();
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
- // TODO(fsamuel): Guests don't currently support threaded compositing.
- // This should go away with the new design of the browser plugin.
- // The new design can be tracked at: http://crbug.com/134492.
- bool is_guest = command_line.HasSwitch(switches::kGuestRenderer);
- bool threaded = command_line.HasSwitch(switches::kEnableThreadedCompositing);
-
- bool enable = threaded && !is_guest;
+ bool enable = command_line.HasSwitch(switches::kEnableThreadedCompositing);
if (enable) {
compositor_thread_.reset(new CompositorThread(this));
AddFilter(compositor_thread_->GetMessageFilter());
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_manager_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698