Index: content/common/gpu/client/gl_helper_benchmark.cc |
diff --git a/content/common/gpu/client/gl_helper_benchmark.cc b/content/common/gpu/client/gl_helper_benchmark.cc |
index b729ad26056714fe4b2fc83b95c98b73f91d113b..193e83669e5730037893c5e4819ed23a7f102fc9 100644 |
--- a/content/common/gpu/client/gl_helper_benchmark.cc |
+++ b/content/common/gpu/client/gl_helper_benchmark.cc |
@@ -62,9 +62,8 @@ class GLHelperTest : public testing::Test { |
protected: |
virtual void SetUp() { |
WebGraphicsContext3D::Attributes attributes; |
- context_.reset( |
- webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl:: |
- CreateOffscreenContext(attributes)); |
+ context_ = webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl:: |
+ CreateOffscreenContext(attributes); |
context_->makeContextCurrent(); |
helper_.reset(new content::GLHelper(context_.get())); |