mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@@ -520,7 +520,7 @@ LRESULT CALLBACK PluginWndProc(HWND hWnd, UINT message, WPARAM wParam,
|
|||||||
{
|
{
|
||||||
case WM_CREATE:
|
case WM_CREATE:
|
||||||
// Start the timer that's used for redrawing.
|
// Start the timer that's used for redrawing.
|
||||||
SetTimer(hWnd, 1, USER_TIMER_MINIMUM, NULL);
|
SetTimer(hWnd, 1, 20, NULL);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
|
Reference in New Issue
Block a user