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:
@@ -529,13 +529,13 @@ WebCookieJar* BrowserWebViewDelegate::GetCookieJar() {
|
||||
|
||||
void BrowserWebViewDelegate::didInvalidateRect(const WebRect& rect) {
|
||||
if (WebWidgetHost* host = GetWidgetHost())
|
||||
host->DidInvalidateRect(rect);
|
||||
host->InvalidateRect(rect);
|
||||
}
|
||||
|
||||
void BrowserWebViewDelegate::didScrollRect(int dx, int dy,
|
||||
const WebRect& clip_rect) {
|
||||
if (WebWidgetHost* host = GetWidgetHost())
|
||||
host->DidScrollRect(dx, dy, clip_rect);
|
||||
host->ScrollRect(dx, dy, clip_rect);
|
||||
}
|
||||
|
||||
void BrowserWebViewDelegate::scheduleComposite() {
|
||||
|
Reference in New Issue
Block a user