| Index: ui/aura/bench/bench_main.cc
|
| diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc
|
| index 7ddbc9e623600c5feadef6deb2b51c8f9a7e7910..81248d7c87076255343c7b414dfd662ed79ad825 100644
|
| --- a/ui/aura/bench/bench_main.cc
|
| +++ b/ui/aura/bench/bench_main.cc
|
| @@ -207,7 +207,7 @@ class WebGLBench : public BenchCompositorObserver {
|
| webgl_.SetBounds(bounds);
|
| parent_->Add(&webgl_);
|
|
|
| - context_.reset(ui::ContextFactory::GetInstance()->CreateOffscreenContext());
|
| + context_ = ui::ContextFactory::GetInstance()->CreateOffscreenContext();
|
| context_->makeContextCurrent();
|
| texture_ = new WebGLTexture(context_.get(), bounds.size());
|
| fbo_ = context_->createFramebuffer();
|
|
|