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

Unified Diff: content/test/fake_compositor_dependencies.cc

Issue 896423003: cc: Fix multiple outstanding output surface requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2272
Patch Set: Created 5 years, 10 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 bf24bab9be6ddcafd9bb1643f961066c38858dc5..8fc46f1c76c077b819796f0b22959fe07483e5cb 100644
--- a/content/test/fake_compositor_dependencies.cc
+++ b/content/test/fake_compositor_dependencies.cc
@@ -10,7 +10,8 @@
namespace content {
-FakeCompositorDependencies::FakeCompositorDependencies() {
+FakeCompositorDependencies::FakeCompositorDependencies()
+ : use_single_thread_scheduler_(true) {
}
bool FakeCompositorDependencies::IsImplSidePaintingEnabled() {
@@ -45,6 +46,10 @@ 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