summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 23:59:37 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 23:59:37 +0000
commit5d67b12f842cbd7dd7443f4a25c22cfbcc3fd609 (patch)
treea1a8e0649317a1a62cc08192e27ea9687f7ca342 /remoting
parente4875b32c749274333c1381a5a25c5a405d9cc81 (diff)
downloadchromium_src-5d67b12f842cbd7dd7443f4a25c22cfbcc3fd609.zip
chromium_src-5d67b12f842cbd7dd7443f4a25c22cfbcc3fd609.tar.gz
chromium_src-5d67b12f842cbd7dd7443f4a25c22cfbcc3fd609.tar.bz2
Fix an incorrect use of scoped_ptr.
BUG=None TEST=Fewer leaks on the ChromeOS valgrind bots. Review URL: http://codereview.chromium.org/2867039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51463 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/differ.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/differ.h b/remoting/host/differ.h
index 645f91d..2ad48b9 100644
--- a/remoting/host/differ.h
+++ b/remoting/host/differ.h
@@ -71,7 +71,7 @@ class Differ {
int bytes_per_row_;
// Diff information for each block in the image.
- scoped_ptr<DiffInfo> diff_info_;
+ scoped_array<DiffInfo> diff_info_;
// Dimensions and total size of diff info array.
int diff_info_width_;