From 9ec0f9c97357dd5b4dd9deae252f8d3633ad38a9 Mon Sep 17 00:00:00 2001
From: "dcheng@chromium.org"
 <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Sun, 7 Apr 2013 16:10:47 +0000
Subject: Rewrite scoped_array<T> to scoped_ptr<T[]> in media/ and webkit/.

This changelist was automatically generated using a clang tool.

BUG=171111

Review URL: https://codereview.chromium.org/13752002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192779 0039d316-1c4b-4281-b951-d872f2087c98
---
 webkit/mocks/mock_webhyphenator.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webkit/mocks')

diff --git a/webkit/mocks/mock_webhyphenator.cc b/webkit/mocks/mock_webhyphenator.cc
index 70e551a..219eca8 100644
--- a/webkit/mocks/mock_webhyphenator.cc
+++ b/webkit/mocks/mock_webhyphenator.cc
@@ -61,7 +61,7 @@ size_t MockWebHyphenator::computeLastHyphenLocation(
   if (!IsStringASCII(word_utf16))
     return 0;
   std::string word = StringToLowerASCII(UTF16ToASCII(word_utf16));
-  scoped_array<char> hyphens(new char[word.length() + 5]);
+  scoped_ptr<char[]> hyphens(new char[word.length() + 5]);
   char** rep = NULL;
   int* pos = NULL;
   int* cut = NULL;
-- 
cgit v1.1