Skip to content

Commit

Permalink
temp fix for issue where page doesn't paint properly after scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
jservin committed Feb 5, 2009
1 parent 9daba02 commit aa1a8dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion WebKit/win/WebView.cpp
Expand Up @@ -771,7 +771,9 @@ void WebView::scrollBackingStore(FrameView* frameView, int dx, int dy, const Int
// Scroll the bitmap.
RECT scrollRectWin(scrollViewRect);
RECT clipRectWin(clipRect);
::ScrollDC(bitmapDC, dx, dy, &scrollRectWin, &clipRectWin, updateRegion, 0);
// fix for repaint issue - http://jira.appcelerator.org/jira/browse/TI-58
::ScrollWindowEx(m_viewWindow, dx, dy, &scrollRectWin, &clipRectWin, updateRegion, 0, 0);
//::ScrollDC(bitmapDC, dx, dy, &scrollRectWin, &clipRectWin, updateRegion, 0);
RECT regionBox;
::GetRgnBox(updateRegion, &regionBox);

Expand Down

0 comments on commit aa1a8dc

Please sign in to comment.