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

Unified Diff: content/test/fake_compositor_dependencies.cc

Issue 1149803002: cc: Make single-thread renderer compositor always synchronous. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: syncsinglethread: . Created 5 years, 7 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/test/fake_compositor_dependencies.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/fake_compositor_dependencies.cc
diff --git a/content/test/fake_compositor_dependencies.cc b/content/test/fake_compositor_dependencies.cc
index 98aa6b558ee8fb68debb18854551fda7d0acfa96..a29312fa8a5f6d7d7c86062bf32730dd68b353a2 100644
--- a/content/test/fake_compositor_dependencies.cc
+++ b/content/test/fake_compositor_dependencies.cc
@@ -10,8 +10,7 @@
namespace content {
-FakeCompositorDependencies::FakeCompositorDependencies()
- : use_single_thread_scheduler_(true) {
+FakeCompositorDependencies::FakeCompositorDependencies() {
}
FakeCompositorDependencies::~FakeCompositorDependencies() {
@@ -42,21 +41,17 @@ bool FakeCompositorDependencies::IsDistanceFieldTextEnabled() {
}
bool FakeCompositorDependencies::IsZeroCopyEnabled() {
- return false;
+ return true;
}
bool FakeCompositorDependencies::IsOneCopyEnabled() {
- return true;
+ return false;
}
bool FakeCompositorDependencies::IsElasticOverscrollEnabled() {
return false;
}
-bool FakeCompositorDependencies::UseSingleThreadScheduler() {
- return use_single_thread_scheduler_;
-}
-
uint32 FakeCompositorDependencies::GetImageTextureTarget() {
return GL_TEXTURE_2D;
}
« no previous file with comments | « content/test/fake_compositor_dependencies.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698