diff options
Diffstat (limited to 'ui/aura/bench/bench_main.cc')
-rw-r--r-- | ui/aura/bench/bench_main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc index 7ddbc9e..81248d7 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(); |