Changeset 111560 in webkit
- Timestamp:
- Mar 21, 2012 10:16:46 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r111558 r111560 1 2012-03-19 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 TiledBackingStore: When checking if the visible area is covered, only convert to scaled coordinates once. 4 https://bugs.webkit.org/show_bug.cgi?id=81519 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Both visibleRect and coverageRatio call mapFromContents on the input rect, 9 this woulc cause the coverageRatio to never reach 1.0 when the contents is 10 scaled up. 11 12 * platform/graphics/TiledBackingStore.cpp: 13 (WebCore::TiledBackingStore::visibleAreaIsCovered): 14 1 15 2012-03-21 Mao Yujie <yujie.mao@intel.com> 2 16 -
trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp
r110995 r111560 228 228 bool TiledBackingStore::visibleAreaIsCovered() const 229 229 { 230 return coverageRatio( visibleRect()) == 1.0f;230 return coverageRatio(m_client->tiledBackingStoreVisibleRect()) == 1.0f; 231 231 } 232 232
Note: See TracChangeset
for help on using the changeset viewer.