TileController::~TileController() { ASSERT(isMainThread()); #if PLATFORM(IOS) tileControllerMemoryHandler().removeTileController(this); #endif }
void TileGrid::startedNewCohort(TileCohort cohort) { m_cohortList.append(TileCohortInfo(cohort, monotonicallyIncreasingTime())); #if PLATFORM(IOS) if (!m_controller.isInWindow()) tileControllerMemoryHandler().tileControllerGainedUnparentedTiles(&m_controller); #endif }