Index: remoting/host/disconnect_window_win.cc |
diff --git a/remoting/host/disconnect_window_win.cc b/remoting/host/disconnect_window_win.cc |
index 94dce02399963d92384a510c038356fbedf990b6..6d0634686b224c0458b4733525f5c1ed4bb9b884 100644 |
--- a/remoting/host/disconnect_window_win.cc |
+++ b/remoting/host/disconnect_window_win.cc |
@@ -231,7 +231,7 @@ bool DisconnectWindowWin::BeginDialog() { |
// The actual resource type is DLGTEMPLATEEX, but this is not defined in any |
// standard headers, so we treat it as a generic pointer and manipulate the |
// correct offsets explicitly. |
- scoped_array<unsigned char> rtl_dialog_template; |
+ scoped_ptr<unsigned char[]> rtl_dialog_template; |
if (ui_strings_.direction == UiStrings::RTL) { |
unsigned long dialog_template_size = |
SizeofResource(module, dialog_resource); |