Changeset 159436 in webkit
- Timestamp:
- Nov 18, 2013 10:46:11 AM (10 years ago)
- Location:
- trunk/Source/WebKit/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/win/ChangeLog
r159430 r159436 1 2013-11-18 peavo@outlook.com <peavo@outlook.com> 2 3 [Win] Optimization, no need to erase background before paint. 4 https://bugs.webkit.org/show_bug.cgi?id=124453 5 6 Reviewed by Brent Fulgham. 7 8 As the paint will blit a bitmap onto the invalid area (no alpha), 9 there is no need to erase the background first, as this will be overwritten by the blit. 10 11 * WebView.cpp: 12 (WebView::WebViewWndProc): Avoid erasing background before paint. 13 1 14 2013-11-18 peavo@outlook.com <peavo@outlook.com> 2 15 -
trunk/Source/WebKit/win/WebView.cpp
r159430 r159436 2230 2230 } 2231 2231 case WM_ERASEBKGND: 2232 if (webView->usesLayeredWindow()) { 2233 // Don't perform a background erase for transparent views. 2234 handled = true; 2235 lResult = 1; 2236 } 2232 // Don't perform a background erase. 2233 handled = true; 2234 lResult = 1; 2237 2235 break; 2238 2236 case WM_PRINTCLIENT:
Note: See TracChangeset
for help on using the changeset viewer.