Changeset 107282 in webkit
- Timestamp:
- Feb 9, 2012, 1:20:49 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/chromium/cc/CCLayerTreeHost.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r107279 r107282 1 2012-02-09 Adrienne Walker <enne@google.com> 2 3 [chromium] Correct potential double reserveTextures() in CCLayerTreeHost 4 https://bugs.webkit.org/show_bug.cgi?id=78258 5 6 Reviewed by James Robinson. 7 8 This isn't a problem currently, because scrollbar layers don't create 9 render surfaces. However, if this ever got used for other layers, we 10 could call reserve on them twice needlessly. It's also just bad form 11 to have an iterator doing the wrong thing. 12 13 * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: 14 (WebCore::CCLayerTreeHost::reserveTextures): 15 1 16 2012-02-09 Sheriff Bot <webkit.review.bot@gmail.com> 2 17 -
trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp
r107243 r107282 448 448 CCLayerIteratorType end = CCLayerIteratorType::end(&m_updateList); 449 449 for (CCLayerIteratorType it = CCLayerIteratorType::begin(&m_updateList); it != end; ++it) { 450 if ( it.representsTargetRenderSurface() || !it->alwaysReserveTextures())450 if (!it.representsItself() || !it->alwaysReserveTextures()) 451 451 continue; 452 452 it->reserveTextures();
Note:
See TracChangeset
for help on using the changeset viewer.