Index: ui/aura/bench/bench_main.cc |
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc |
index 1445f082d6cb443e185cec67eea7556b0878ce06..92a837e21a38988531b9028bb49082c30ebd0f6f 100644 |
--- a/ui/aura/bench/bench_main.cc |
+++ b/ui/aura/bench/bench_main.cc |
@@ -142,11 +142,11 @@ class WebGLTexture : public ui::Texture { |
GL_RGBA, GL_UNSIGNED_BYTE, NULL); |
} |
+ private: |
virtual ~WebGLTexture() { |
context_->deleteTexture(texture_id()); |
} |
- private: |
WebGraphicsContext3D* context_; |
DISALLOW_COPY_AND_ASSIGN(WebGLTexture); |