skia: Holding onto the image in the benchmark causes issues
authorhendrikw <hendrikw@chromium.org>
Tue, 24 Nov 2015 13:50:23 +0000 (05:50 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 24 Nov 2015 13:50:23 +0000 (05:50 -0800)
commit4870e6d4c9ee76ee328969e82238c7adc371fd33
treee9eb46d54f59795c207894f20689d247c7f9ce9f
parent514450cb695279e44af8b30c19e9d866e2eeb818
skia: Holding onto the image in the benchmark causes issues

Skia'a nanobench can hold onto an image, that causes the lifetime
of GrGLGpu to extend past that of the GL interface.

Kill reference to surface and image before killing the interface

Review URL: https://codereview.chromium.org/1472433002
bench/ImageBench.cpp