mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Improve the handling of invalidation/painting for off-screen rendering (issue #695).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@745 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -1055,10 +1055,6 @@ void CefBrowserImpl::UIT_Invalidate(const CefRect& dirtyRect) {
|
||||
gfx::Rect rect(dirtyRect.x, dirtyRect.y, dirtyRect.width,
|
||||
dirtyRect.height);
|
||||
|
||||
// Used when window rendering is disabled to send the specified region to
|
||||
// the paint delegate when WebWidget::Paint() is next called.
|
||||
host->UpdateRedrawRect(rect);
|
||||
|
||||
// Cause WebWidget::Paint() to be called when next appropriate.
|
||||
host->InvalidateRect(rect);
|
||||
}
|
||||
|
Reference in New Issue
Block a user