cefclient: Fix frame rate calculation (issue #987).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1257 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2013-05-31 11:33:19 +00:00
parent 943bfb9103
commit 3f17635d3e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}