• Bo Liu's avatar
    aw: Default surface_rect_empty to true · 6b65b358
    Bo Liu authored
    The default for an "is empty" value should be true to better match
    reality. This is breaking the case where an offscreen webview is
    directly translated on-screen without another onDraw recording on the UI
    thread. The comparison in BVR::OnParentDrawConstraintsUpdated is
    supposed to catch this case and cause another invalidate.
    
    This CL refers to internal bug b/117560442
    
    Change-Id: Ic03f91631780a2057931cb39cdecd04d32f52b1d
    Reviewed-on: https://chromium-review.googlesource.com/c/1295315
    Commit-Queue: Bo <boliu@chromium.org>
    Reviewed-by: default avatarChangwan Ryu <changwan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#604297}
    6b65b358
parent_compositor_draw_constraints.cc 1.41 KB