Index: content/common/gpu/client/gl_helper_unittests.cc |
diff --git a/content/common/gpu/client/gl_helper_unittests.cc b/content/common/gpu/client/gl_helper_unittests.cc |
index ec728e5ca2de1c4baf50b8e226e020e8edff02ee..847a0cbd25bdbe343eb922ad71891469997fcdc1 100644 |
--- a/content/common/gpu/client/gl_helper_unittests.cc |
+++ b/content/common/gpu/client/gl_helper_unittests.cc |
@@ -59,9 +59,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())); |
helper_scaling_.reset(new content::GLHelperScaling( |