| Index: ui/aura/bench/bench_main.cc
|
| diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc
|
| index 08d31778b9f60f1123628438eea44b3c9006c325..bcdbd61a601e78667f14e737559bb2ae09063ff8 100644
|
| --- a/ui/aura/bench/bench_main.cc
|
| +++ b/ui/aura/bench/bench_main.cc
|
| @@ -212,7 +212,7 @@ class WebGLBench : public BenchCompositorObserver {
|
| texture_ = new WebGLTexture(context_.get(), bounds.size());
|
| fbo_ = context_->createFramebuffer();
|
| compositor->AddObserver(this);
|
| - webgl_.SetExternalTexture(texture_);
|
| + webgl_.SetExternalTexture(texture_.get());
|
| context_->bindFramebuffer(GL_FRAMEBUFFER, fbo_);
|
| context_->framebufferTexture2D(
|
| GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0,
|
| @@ -237,7 +237,7 @@ class WebGLBench : public BenchCompositorObserver {
|
| context_->clear(GL_COLOR_BUFFER_BIT);
|
| context_->flush();
|
| }
|
| - webgl_.SetExternalTexture(texture_);
|
| + webgl_.SetExternalTexture(texture_.get());
|
| webgl_.SchedulePaint(gfx::Rect(webgl_.bounds().size()));
|
| compositor_->ScheduleDraw();
|
| }
|
|
|