summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 17:09:33 +0000
committerkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 17:09:33 +0000
commitfe86d110746454b822c42742624eaa8aab740834 (patch)
treeefcc07c35e9492bde78416b49fba99ab4565dd4d
parenta26c85a47b1101d566527093d320cabc3aee7b5f (diff)
downloadchromium_src-fe86d110746454b822c42742624eaa8aab740834.zip
chromium_src-fe86d110746454b822c42742624eaa8aab740834.tar.gz
chromium_src-fe86d110746454b822c42742624eaa8aab740834.tar.bz2
Fix an error caught by valgrind while gman was investigating another bug.
BUG=none TEST=none (built, ran WebGL with --disable-accelerated-compositing) R=apatrick@chromium.org,jam@chromium.org Review URL: http://codereview.chromium.org/6730019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79288 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--content/renderer/webgraphicscontext3d_command_buffer_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/webgraphicscontext3d_command_buffer_impl.h b/content/renderer/webgraphicscontext3d_command_buffer_impl.h
index 122023a..99e4636 100644
--- a/content/renderer/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/renderer/webgraphicscontext3d_command_buffer_impl.h
@@ -449,7 +449,7 @@ class WebGraphicsContext3DCommandBufferImpl
std::vector<WGC3Denum> synthetic_errors_;
#ifdef FLIP_FRAMEBUFFER_VERTICALLY
- scoped_ptr<uint8> scanline_;
+ scoped_array<uint8> scanline_;
void FlipVertically(uint8* framebuffer,
unsigned int width,
unsigned int height);