12016-07-01 Per Arne Vollan <pvollan@apple.com>
2
3 ASSERTION FAILED: info.bmBitsPixel == 32
4 https://bugs.webkit.org/show_bug.cgi?id=17737
5
6 Reviewed by NOBODY (OOPS!).
7
8 The ::SelectObject call will fail if m_backingStoreBitmap is already selected into a device context.
9 This happens when this method is called indirectly from WebView::updateBackingStore during normal
10 WM_PAINT handlind. There is no point continuing, since we would just be scrolling a 1x1 bitmap which
11 is selected into the device context by default. We can just scroll by repainting the scroll rectangle.
12
13 * WebView.cpp:
14 (WebView::scrollBackingStore): Invalidate the scroll rectangle if the ::SelectObject call fails.
15