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

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: 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
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 2bbaadc01eb656f5d8f679ec15cbdc2d31f0b5f2..bcb657e574c633373be76f20ed601010d87e96ae 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());

Powered by Google App Engine
This is Rietveld 408576698