https://bugs.webkit.org/show_bug.cgi?id=83462
Patch by JungJik Lee <jungjik.lee@samsung.com> on 2012-04-12
Reviewed by Kenneth Rohde Christiansen.
When trajectory vector is not zero, it is able to calculate the proper cover area.
No new tests - no new functionality.
* platform/graphics/TiledBackingStore.cpp:
(WebCore::TiledBackingStore::computeCoverAndKeepRect):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113967
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-04-12 JungJik Lee <jungjik.lee@samsung.com>
+
+ Calculate the cover rect of tiled backing store with the trajectory vector.
+ https://bugs.webkit.org/show_bug.cgi?id=83462
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ When trajectory vector is not zero, it is able to calculate the proper cover area.
+ No new tests - no new functionality.
+
+ * platform/graphics/TiledBackingStore.cpp:
+ (WebCore::TiledBackingStore::computeCoverAndKeepRect):
+
2012-04-12 Pavel Feldman <pfeldman@chromium.org>
Web Inspector: extracting NetworkRequest from Resource (step 2)
coverRect.inflateY(visibleRect.height() * (m_coverAreaMultiplier - 1) / 2);
keepRect = coverRect;
- if (m_trajectoryVector == FloatPoint::zero()) {
+ if (m_trajectoryVector != FloatPoint::zero()) {
// A null trajectory vector (no motion) means that tiles for the coverArea will be created.
// A non-null trajectory vector will shrink the covered rect to visibleRect plus its expansion from its
// center toward the cover area edges in the direction of the given vector.