Back out ecac2ce4eada (bug 828126) for busting b2g's arm

This commit is contained in:
Phil Ringnalda
2013-01-13 17:48:33 -08:00
parent 3f49ebed56
commit 6ef78ea1cb
2 changed files with 8 additions and 0 deletions

View File

@@ -942,10 +942,13 @@ nsRefreshDriver::Tick(int64_t aNowEpoch, TimeStamp aNowTime)
#ifdef DEBUG_INVALIDATIONS
printf("Starting ProcessPendingUpdates\n");
#endif
#ifndef ANDROID
// Waiting for bug 785597 to work on android.
nsRefPtr<layers::LayerManager> mgr = mPresContext->GetPresShell()->GetLayerManager();
if (mgr) {
mgr->SetPaintStartTime(mMostRecentRefresh);
}
#endif
mViewManagerFlushIsPending = false;
nsRefPtr<nsViewManager> vm = mPresContext->GetPresShell()->GetViewManager();