Bug 828126 - Enable ifdef'd code on Fennec now that dependent bugs have been fixed. r=avih

This commit is contained in:
Kartikaya Gupta 2013-01-23 00:52:19 -05:00
Родитель 6def652730
Коммит 8c0cc0fece
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -2195,10 +2195,10 @@ nsDOMWindowUtils::StopFrameTimeRecording(float** paintTimes, uint32_t *frameCoun
/* copy over the frame intervals and paint times into the arrays we just allocated */
for (uint32_t i = 0; i < *frameCount; i++) {
(*frameIntervals)[i] = tmpFrameIntervals[i];
#ifndef ANDROID
#ifndef MOZ_WIDGET_GONK
(*paintTimes)[i] = tmpPaintTimes[i];
#else
// Waiting for bug 785597 to work on android.
// Waiting for bug 830475 to work on B2G.
(*paintTimes)[i] = 0;
#endif
}

Просмотреть файл

@ -942,8 +942,8 @@ 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.
#ifndef MOZ_WIDGET_GONK
// Waiting for bug 830475 to work on B2G.
nsRefPtr<layers::LayerManager> mgr = mPresContext->GetPresShell()->GetLayerManager();
if (mgr) {
mgr->SetPaintStartTime(mMostRecentRefresh);