Commit 90dea8d4 authored by Fady Samuel's avatar Fady Samuel Committed by Commit Bot

Revert "Surface Synchronization: Only defer commits if frame exists"

This reverts commit f1a9e88d.

Reason for revert: crbug.com/868605

Original change's description:
> Surface Synchronization: Only defer commits if frame exists
> 
> Right now, with surface sync off on Android, we will defer commits
> any time there's a size change, even if we've evicted the current
> surface.
> 
> Change-Id: I7e1ae394e20eef2a46bca5ae9a8fc8a4cdf35e0b
> Bug: 848292, 672962
> Reviewed-on: https://chromium-review.googlesource.com/1121098
> Reviewed-by: Saman Sami <samans@chromium.org>
> Reviewed-by: Khushal <khushalsagar@chromium.org>
> Commit-Queue: Fady Samuel <fsamuel@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#575405}

TBR=fsamuel@chromium.org,khushalsagar@chromium.org,samans@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 848292, 672962
Change-Id: Ie558844df649cea7f3560f61d7077907e73e20a9
Reviewed-on: https://chromium-review.googlesource.com/1176761Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
Commit-Queue: Fady Samuel <fsamuel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583508}
parent bbf75032
......@@ -332,7 +332,7 @@ void DelegatedFrameHostAndroid::PixelSizeWillChange(
expected_pixel_size_ = pixel_size;
if (registered_parent_compositor_) {
if (HasSavedFrame() && content_layer_->bounds() != expected_pixel_size_) {
if (content_layer_->bounds() != expected_pixel_size_) {
compositor_pending_resize_lock_ =
registered_parent_compositor_->GetCompositorLock(this,
ResizeTimeout());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment