Changeset 76864 in webkit
- Timestamp:
- Jan 27, 2011 4:50:34 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r76859 r76864 1 2011-01-27 Adrienne Walker <enne@google.com> 2 3 Reviewed by James Robinson. 4 5 [chromium] Tiled compositor crashes if compositing turned off mid-paint 6 https://bugs.webkit.org/show_bug.cgi?id=53198 7 8 * platform/graphics/chromium/LayerRendererChromium.cpp: 9 (WebCore::LayerRendererChromium::drawLayers): 10 * platform/graphics/chromium/LayerTilerChromium.cpp: 11 (WebCore::LayerTilerChromium::update): 12 (WebCore::LayerTilerChromium::draw): 13 1 14 2011-01-27 Carol Szabo <carol.szabo@nokia.com> 2 15 -
trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
r76537 r76864 266 266 m_context->colorMask(true, true, true, true); 267 267 268 // Recheck that we still have a root layer. This may become null if 269 // compositing gets turned off during a paint operation. 270 if (!m_rootLayer) 271 return; 272 268 273 // Set the root visible/content rects --- used by subsequent drawLayers calls. 269 274 m_rootVisibleRect = visibleRect; -
trunk/Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp
r76165 r76864 300 300 #endif 301 301 302 // Painting could cause compositing to get turned off, which may cause the tiler to become invalidated mid-update. 303 if (!m_tiles.size()) 304 return; 305 302 306 for (int j = top; j <= bottom; ++j) { 303 307 for (int i = left; i <= right; ++i) { … … 358 362 void LayerTilerChromium::draw(const IntRect& contentRect) 359 363 { 360 if (m_skipsDraw )364 if (m_skipsDraw || !m_tiles.size()) 361 365 return; 362 366
Note: See TracChangeset
for help on using the changeset viewer.