WebView.cpp contains some duplicated code for figuring out repaint rects. We should fix that.
Created attachment 17525 [details] Refactor WebView's repaint rect code Reviewed by NOBODY (OOPS!). * WebView.cpp: (getUpdateRects): Factored code out of updateBackingStore and paint into this new helper function. (WebView::updateBackingStore): Use getUpdateRects. (WebView::paint): Ditto. (WebView::paintIntoBackingStore): Changed to take a const IntRect&. (WebView::paintIntoWindow): Ditto. * WebView.h: --- WebKit/win/ChangeLog | 15 +++++ WebKit/win/WebView.cpp | 143 ++++++++++++++++++++++++------------------------ WebKit/win/WebView.h | 4 +- 3 files changed, 88 insertions(+), 74 deletions(-)
Comment on attachment 17525 [details] Refactor WebView's repaint rect code r=me
Landed as r28036