diff --git a/tests/cefclient/browser/osr_window_win.cc b/tests/cefclient/browser/osr_window_win.cc index 7ed4e3b74..5d96a6405 100644 --- a/tests/cefclient/browser/osr_window_win.cc +++ b/tests/cefclient/browser/osr_window_win.cc @@ -1002,6 +1002,8 @@ CefBrowserHost::DragOperationsMask OsrWindowWin::OnDrop( return current_drag_op_; } +#endif // defined(CEF_USE_ATL) + void OsrWindowWin::EnsureRenderHandler() { CEF_REQUIRE_UI_THREAD(); if (!render_handler_) { @@ -1027,6 +1029,4 @@ void OsrWindowWin::EnsureRenderHandler() { } } -#endif // defined(CEF_USE_ATL) - } // namespace client