Permalink
Browse files

Only signal collection swap on true swap

bug:7484054

Change-Id: I7cb648f64f45711013996be7e2cd0dabdbd614ae
  • Loading branch information...
ChrisCraik committed Dec 3, 2012
1 parent 0b65fac commit e02247f4c53e1df4cac3a7b265ffb4307cca3650
Showing with 0 additions and 4 deletions.
  1. +0 −4 Source/WebCore/platform/graphics/android/rendering/SurfaceCollectionManager.cpp
@@ -304,10 +304,6 @@ int SurfaceCollectionManager::drawGL(double currentTime, IntRect& viewRect,
if (m_drawingCollection) {
bool drawingReady = didCollectionSwap || m_drawingCollection->isReady();
- // call the page swap callback if registration happened without more collections enqueued
- if (collectionsSwappedPtr && drawingReady && !m_paintingCollection)
- *collectionsSwappedPtr = true;
-
if (didCollectionSwap || m_fastSwapMode || (drawingReady && !m_paintingCollection))
m_drawingCollection->swapTiles();

0 comments on commit e02247f

Please sign in to comment.