Index: chrome/browser/external_tab_container_win.cc |
diff --git a/chrome/browser/external_tab_container_win.cc b/chrome/browser/external_tab_container_win.cc |
index 45d7e49661e05cafe47f6c61d0dbbab5a9d2b683..b350bc7d3d4de8134867851e99fc736281638df0 100644 |
--- a/chrome/browser/external_tab_container_win.cc |
+++ b/chrome/browser/external_tab_container_win.cc |
@@ -9,6 +9,7 @@ |
#include "base/debug/trace_event.h" |
#include "base/i18n/rtl.h" |
#include "base/logging.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/utf_string_conversions.h" |
#include "base/win/win_util.h" |
#include "chrome/app/chrome_command_ids.h" |
@@ -1099,7 +1100,7 @@ void ExternalTabContainer::LoadAccelerators() { |
return; |
} |
- scoped_ptr<ACCEL> scoped_accelerators(new ACCEL[count]); |
+ scoped_array<ACCEL> scoped_accelerators(new ACCEL[count]); |
ACCEL* accelerators = scoped_accelerators.get(); |
DCHECK(accelerators != NULL); |