Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Unified Diff: ui/base/x/x11_util_unittest.cc

Issue 11878022: ui: Convert scoped_arrays to the new scoped_ptr style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/x/x11_util.cc ('k') | ui/gl/gl_surface_osmesa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/x11_util_unittest.cc
diff --git a/ui/base/x/x11_util_unittest.cc b/ui/base/x/x11_util_unittest.cc
index 802b9e932effcbecb88cc2a4b360fc4a1c28c5b3..1ad2b8e1e2332a3d7349d14ab9066176dd63a305 100644
--- a/ui/base/x/x11_util_unittest.cc
+++ b/ui/base/x/x11_util_unittest.cc
@@ -152,7 +152,7 @@ TEST(X11UtilTest, ParseOverscanFlag) {
TEST(X11UtilTest, ParseBrokenOverscanData) {
// Do not fill valid data here because it anyway fails to parse the data.
- scoped_array<unsigned char> data(new unsigned char[126]);
+ scoped_ptr<unsigned char[]> data(new unsigned char[126]);
bool flag = false;
EXPECT_FALSE(ParseOutputOverscanFlag(data.get(), 0, &flag));
EXPECT_FALSE(ParseOutputOverscanFlag(data.get(), 126, &flag));
« no previous file with comments | « ui/base/x/x11_util.cc ('k') | ui/gl/gl_surface_osmesa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698