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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1227163017: cc: one copy is default as well as final fallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix Created 5 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 | « content/renderer/render_thread_impl.h ('k') | content/test/fake_compositor_dependencies.h » ('j') | 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 a4a69750c51f0fc303897251e82d1d9a4c487398..ca7481ddb2a9d598fcfc297429652bbe256d7aef 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -707,7 +707,6 @@ void RenderThreadImpl::Init() {
cc_blink::WebLayerImpl::SetLayerSettings(layer_settings);
is_zero_copy_enabled_ = command_line.HasSwitch(switches::kEnableZeroCopy);
- is_one_copy_enabled_ = !command_line.HasSwitch(switches::kDisableOneCopy);
#if defined(OS_MACOSX) && !defined(OS_IOS)
is_elastic_overscroll_enabled_ = base::mac::IsOSLionOrLater();
@@ -1522,10 +1521,6 @@ bool RenderThreadImpl::IsZeroCopyEnabled() {
return is_zero_copy_enabled_;
}
-bool RenderThreadImpl::IsOneCopyEnabled() {
- return is_one_copy_enabled_;
-}
-
bool RenderThreadImpl::IsElasticOverscrollEnabled() {
return is_elastic_overscroll_enabled_;
}
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/test/fake_compositor_dependencies.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698