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

Unified Diff: content/public/test/test_synchronous_compositor_android.cc

Issue 817603002: cc: Make scheduling be driven by vsync for android webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fix after rebase. Created 5 years, 9 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/public/test/test_synchronous_compositor_android.cc
diff --git a/content/public/test/test_synchronous_compositor_android.cc b/content/public/test/test_synchronous_compositor_android.cc
index 1f4314adc94790eeb2780b10e6f4b5b46bf879f0..1c46e891ce7b129f2e9aa5b80b9f62951872ccfe 100644
--- a/content/public/test/test_synchronous_compositor_android.cc
+++ b/content/public/test/test_synchronous_compositor_android.cc
@@ -4,6 +4,7 @@
#include "content/public/test/test_synchronous_compositor_android.h"
+#include "cc/output/begin_frame_args.h"
#include "cc/output/compositor_frame.h"
namespace content {
@@ -68,4 +69,8 @@ void TestSynchronousCompositor::SetMemoryPolicy(size_t bytes_limit) {
DCHECK(!bytes_limit || hardware_initialized_) << bytes_limit;
}
+void TestSynchronousCompositor::SendBeginFrame(cc::BeginFrameArgs args) {
+ client_->PostInvalidate();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698