Changeset 152407 in webkit
- Timestamp:
- Jul 4, 2013 2:17:40 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r152403 r152407 1 2013-07-04 Anders Carlsson <andersca@apple.com> 2 3 Paint the page background if we haven't received our first update 4 https://bugs.webkit.org/show_bug.cgi?id=118402 5 <rdar://problem/13893308> 6 7 Reviewed by Simon Fraser. 8 9 Make sure that we always paint something when we haven't received our first update from the web process. 10 11 * UIProcess/API/mac/WKView.mm: 12 (-[WKView drawRect:]): 13 * UIProcess/DrawingAreaProxyImpl.h: 14 (WebKit::DrawingAreaProxyImpl::hasReceivedFirstUpdate): 15 1 16 2013-07-04 Anders Carlsson <andersca@apple.com> 2 17 -
trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm
r152190 r152407 2166 2166 // If the window doesn't have a valid backing store, we need to fill the parts of the page that we 2167 2167 // didn't paint with the background color (white or clear), to avoid garbage in those areas. 2168 if (!_data->_windowHasValidBackingStore ) {2168 if (!_data->_windowHasValidBackingStore || !drawingArea->hasReceivedFirstUpdate()) { 2169 2169 Vector<IntRect> unpaintedRects = unpaintedRegion.rects(); 2170 2170 for (size_t i = 0; i < unpaintedRects.size(); ++i) -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h
r142160 r152407 52 52 bool isInAcceleratedCompositingMode() const { return !m_layerTreeContext.isEmpty(); } 53 53 #endif 54 55 bool hasReceivedFirstUpdate() const { return m_hasReceivedFirstUpdate; } 54 56 55 57 private:
Note: See TracChangeset
for help on using the changeset viewer.