void QGraphicsWKViewPrivate::onScaleChanged() { #if ENABLE(TILED_BACKING_STORE) if (!m_isChangingScale) m_scaleCommitTimer.startOneShot(0.1); #endif }
void SendGarbageCollectionEventsTask::addGarbageCollection(GarbageCollectionData& collection) { { std::lock_guard<Lock> lock(m_mutex); m_collections.append(collection); } if (!m_timer.isActive()) m_timer.startOneShot(0); }