Android: Fix null onscreen surface
commite8d881d426badb372032440cec72095b5df550cc
authorsievers <sievers@chromium.org>
Thu, 6 Aug 2015 20:01:35 +0000 (6 13:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 6 Aug 2015 20:02:11 +0000 (6 20:02 +0000)
tree5747170cb9474817aa19e6ee389e368d5169d134
parent502f69cc4cddffce39bbb4f8364465f0b26072a6
Android: Fix null onscreen surface

Make sure the current onscreen surface is registered as long as
the OutputSurface is alive, so that the GPU thread will not
see a null handle.

BUG=517279,517283

Review URL: https://codereview.chromium.org/1277653003

Cr-Commit-Position: refs/heads/master@{#342186}
content/browser/renderer_host/compositor_impl_android.cc
content/common/gpu/image_transport_surface_android.cc