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
This commit is contained in:
Marshall Greenblatt 2011-03-25 15:26:50 +00:00
parent b90978f659
commit 122366e89e
1 changed files with 1 additions and 1 deletions

View File

@ -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: