mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Mac: additional repaint fixes related to issue #360.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@364 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -149,7 +149,7 @@ class WebWidgetHostGtkWidget {
|
||||
g_handling_expose = true;
|
||||
gfx::Rect rect(expose->area);
|
||||
host->UpdatePaintRect(rect);
|
||||
host->Paint();
|
||||
host->Paint(rect);
|
||||
g_handling_expose = false;
|
||||
return FALSE;
|
||||
}
|
||||
@@ -344,7 +344,7 @@ void WebWidgetHost::Resize(const gfx::Size &newsize) {
|
||||
SetSize(newsize.width(), newsize.height());
|
||||
}
|
||||
|
||||
void WebWidgetHost::Paint() {
|
||||
void WebWidgetHost::Paint(const gfx::Rect& dirty_rect) {
|
||||
int width = logical_size_.width();
|
||||
int height = logical_size_.height();
|
||||
gfx::Rect client_rect(width, height);
|
||||
|
Reference in New Issue
Block a user