From 8bc348d615d6a5cdecda5ffb652197fe5c375bce Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 13 Feb 2019 12:43:55 -0500 Subject: [PATCH] Windows: cefclient: Fix compile error with ATL disabled --- tests/cefclient/browser/osr_window_win.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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