diff --git a/tests/cefclient/cefclient_osr_widget_win.cpp b/tests/cefclient/cefclient_osr_widget_win.cpp index 2c950746a..0e686b86d 100644 --- a/tests/cefclient/cefclient_osr_widget_win.cpp +++ b/tests/cefclient/cefclient_osr_widget_win.cpp @@ -162,7 +162,7 @@ void OSRWindow::Invalidate() { render_task_pending_ = true; // Render at 30fps. - static const int kRenderDelay = 1 / 30; + static const int kRenderDelay = 1000 / 30; CefPostDelayedTask(TID_UI, NewCefRunnableMethod(this, &OSRWindow::Render), kRenderDelay); }