SurfaceLayerImpl: Simplify |shared_quad_state| assignment
Commit b47442dc ("viz: Determine fallback strategy in SurfaceAggregator") simplified the code in SurfaceLayerImpl::CreateSurfaceDrawQuad(), but ended up with a construct like this: viz::SharedQuadState* foo = foo = bar(); Simplify the assignment and make it more readable. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I88560e1acd1766d4f1676c2aa90b18be32971a60 Reviewed-on: https://chromium-review.googlesource.com/1105829 Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Reviewed-by:Fady Samuel <fsamuel@chromium.org> Cr-Commit-Position: refs/heads/master@{#568413}
Showing
Please register or sign in to comment