Index: ui/base/x/x11_util.cc |
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc |
index 3e645c02938b22b580535e63b52106e2f86f7f46..30cd5b3cdb70f4e25dc6f2cd930112be2947d9c6 100644 |
--- a/ui/base/x/x11_util.cc |
+++ b/ui/base/x/x11_util.cc |
@@ -936,7 +936,7 @@ bool SetIntArrayProperty(XID window, |
Atom type_atom = GetAtom(type.c_str()); |
// XChangeProperty() expects values of type 32 to be longs. |
- scoped_array<long> data(new long[value.size()]); |
+ scoped_ptr<long[]> data(new long[value.size()]); |
for (size_t i = 0; i < value.size(); ++i) |
data[i] = value[i]; |