[Coordinated Graphics] Remove unused method in CoordinatedGraphicsLayer

https://bugs.webkit.org/show_bug.cgi?id=120664

Patch by Jae Hyun Park <jae.park@company100.net> on 2013-09-04
Reviewed by Darin Adler.

CoordinatedGraphicsLayer::hasPendingVisibleChanges is not used as of
r148952.

* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2b66c405
2013-09-04 Jae Hyun Park <jae.park@company100.net>
[Coordinated Graphics] Remove unused method in CoordinatedGraphicsLayer
https://bugs.webkit.org/show_bug.cgi?id=120664
Reviewed by Darin Adler.
CoordinatedGraphicsLayer::hasPendingVisibleChanges is not used as of
r148952.
* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
2013-09-04 Hans Muller <hmuller@adobe.com>
[CSS Shapes] Revise the ShapeInterval set operations' implementation
......@@ -1069,27 +1069,6 @@ void CoordinatedGraphicsLayer::setNeedsVisibleRectAdjustment()
m_pendingVisibleRectAdjustment = true;
}
bool CoordinatedGraphicsLayer::hasPendingVisibleChanges()
{
if (opacity() < 0.01 && !m_animations.hasActiveAnimationsOfType(AnimatedPropertyOpacity))
return false;
for (size_t i = 0; i < children().size(); ++i) {
if (toCoordinatedGraphicsLayer(children()[i])->hasPendingVisibleChanges())
return true;
}
bool shouldSyncCanvas = false;
#if USE(GRAPHICS_SURFACE)
shouldSyncCanvas = m_pendingCanvasOperation & SyncCanvas;
#endif
if (!m_shouldSyncLayerState && !m_shouldSyncChildren && !m_shouldSyncFilters && !m_shouldSyncImageBacking && !m_shouldSyncAnimations && !shouldSyncCanvas)
return false;
return tiledBackingStoreVisibleRect().intersects(tiledBackingStoreContentsRect());
}
static inline bool isIntegral(float value)
{
return static_cast<int>(value) == value;
......
......@@ -149,7 +149,6 @@ public:
void setNeedsVisibleRectAdjustment();
void purgeBackingStores();
bool hasPendingVisibleChanges();
static void setShouldSupportContentsTiling(bool);
CoordinatedGraphicsLayer* findFirstDescendantWithContentsRecursively();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment