| Index: remoting/host/disconnect_window_win.cc
|
| ===================================================================
|
| --- remoting/host/disconnect_window_win.cc (revision 121681)
|
| +++ remoting/host/disconnect_window_win.cc (working copy)
|
| @@ -214,8 +214,8 @@
|
| if (result) {
|
| base::win::ScopedGetDC dc(control);
|
| base::win::ScopedSelectObject font(
|
| - dc, (HFONT)SendMessage(control, WM_GETFONT, 0, 0));
|
| - DrawText(dc, text, -1, &rect, DT_CALCRECT|DT_SINGLELINE);
|
| + dc.get(), (HFONT)SendMessage(control, WM_GETFONT, 0, 0));
|
| + DrawText(dc.get(), text, -1, &rect, DT_CALCRECT|DT_SINGLELINE);
|
| }
|
| return rect.right;
|
| }
|
|
|