Index: remoting/host/disconnect_window_win.cc |
diff --git a/remoting/host/disconnect_window_win.cc b/remoting/host/disconnect_window_win.cc |
index dff48cec6f4beab35c56b55702741a4c927fc22a..2c9270ea8e143f5ff739122d43936c1648eff4c7 100644 |
--- a/remoting/host/disconnect_window_win.cc |
+++ b/remoting/host/disconnect_window_win.cc |
@@ -212,7 +212,7 @@ BOOL DisconnectWindowWin::OnDialogMessage(HWND hwnd, |
RECT rect; |
GetClientRect(hwnd_, &rect); |
{ |
- base::win::ScopedSelectObject border(hdc, border_pen_); |
+ base::win::ScopedSelectObject border(hdc, border_pen_.get()); |
base::win::ScopedSelectObject brush(hdc, GetStockObject(NULL_BRUSH)); |
RoundRect(hdc, rect.left, rect.top, rect.right - 1, rect.bottom - 1, |
kWindowBorderRadius, kWindowBorderRadius); |