From 122366e89e923f46f7d1345e6f87d26963c8b567 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 25 Mar 2011 15:26:50 +0000 Subject: [PATCH] Slow down the off-screen rendering timer to avoid excessive CPU usage. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@210 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- tests/cefclient/osrplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cefclient/osrplugin.cpp b/tests/cefclient/osrplugin.cpp index e3c6e42f4..0207297d9 100644 --- a/tests/cefclient/osrplugin.cpp +++ b/tests/cefclient/osrplugin.cpp @@ -520,7 +520,7 @@ LRESULT CALLBACK PluginWndProc(HWND hWnd, UINT message, WPARAM wParam, { case WM_CREATE: // Start the timer that's used for redrawing. - SetTimer(hWnd, 1, USER_TIMER_MINIMUM, NULL); + SetTimer(hWnd, 1, 20, NULL); return 0; case WM_DESTROY: