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

Unified Diff: content/renderer/android/synchronous_compositor_proxy.cc

Issue 1601743008: sync compositor: Make OnComputeScroll async IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/renderer/android/synchronous_compositor_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/android/synchronous_compositor_proxy.cc
diff --git a/content/renderer/android/synchronous_compositor_proxy.cc b/content/renderer/android/synchronous_compositor_proxy.cc
index e8fc5f3c9bf70ee8e229b1a07beeb94d6bb2b778..335ab7ade4cf85cd7180aff0dea7551b60a0f1a6 100644
--- a/content/renderer/android/synchronous_compositor_proxy.cc
+++ b/content/renderer/android/synchronous_compositor_proxy.cc
@@ -357,17 +357,12 @@ void SynchronousCompositorProxy::SwapBuffers(cc::CompositorFrame* frame) {
void SynchronousCompositorProxy::OnComputeScroll(
const SyncCompositorCommonBrowserParams& common_params,
- base::TimeTicks animation_time,
- SyncCompositorCommonRendererParams* common_renderer_params) {
- DCHECK(!inside_receive_);
- base::AutoReset<bool> scoped_inside_receive(&inside_receive_, true);
-
+ base::TimeTicks animation_time) {
ProcessCommonParams(common_params);
if (need_animate_scroll_) {
need_animate_scroll_ = false;
input_handler_proxy_->SynchronouslyAnimate(animation_time);
}
- PopulateCommonParams(common_renderer_params);
}
void SynchronousCompositorProxy::DidOverscroll(
« no previous file with comments | « content/renderer/android/synchronous_compositor_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698