Index: ui/base/x/x11_atom_cache.cc |
diff --git a/ui/base/x/x11_atom_cache.cc b/ui/base/x/x11_atom_cache.cc |
index db877251ccac921d26a858c4366415f6a1af2c55..d2468d722c530f3c389b711c5843a76e6785babd 100644 |
--- a/ui/base/x/x11_atom_cache.cc |
+++ b/ui/base/x/x11_atom_cache.cc |
@@ -18,7 +18,7 @@ X11AtomCache::X11AtomCache(Display* xdisplay, const char** to_cache) |
for (const char** i = to_cache; *i != NULL; i++) |
cache_count++; |
- scoped_array< ::Atom> cached_atoms(new ::Atom[cache_count]); |
+ scoped_ptr< ::Atom[]> cached_atoms(new ::Atom[cache_count]); |
// Grab all the atoms we need now to minimize roundtrips to the X11 server. |
XInternAtoms(xdisplay_, |