diff options
author | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 10:03:37 +0000 |
---|---|---|
committer | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 10:03:37 +0000 |
commit | 59fe2c3b8b23b8fe3631e8a53d7678d09ef2cb11 (patch) | |
tree | 8b43ced9cfb5834229880d25b452c643e0d249d8 /ui/aura | |
parent | 9f3809b09055f98e420d5528cdb4c4868ff8c504 (diff) | |
download | chromium_src-59fe2c3b8b23b8fe3631e8a53d7678d09ef2cb11.zip chromium_src-59fe2c3b8b23b8fe3631e8a53d7678d09ef2cb11.tar.gz chromium_src-59fe2c3b8b23b8fe3631e8a53d7678d09ef2cb11.tar.bz2 |
Change WGC3DInProcessCBImpl factories to return a base class pointer.
TBR=sky@chromium.org for ui/aura/bench/bench_main.cc
Review URL: https://chromiumcodereview.appspot.com/17447007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura')
-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(); |