| 94 | } |
| 95 | |
| 96 | void DocumentChangeTracker::reset() |
| 97 | { |
| 98 | VERIFY_FOREGROUND_LOCKED |
| 99 | |
| 100 | // We don't reset the insertion here, as it may continue |
| 101 | m_needUpdate = false; |
| 102 | |
| 103 | m_revisionAtLastReset = acquireRevision(m_document->revision()); |
| 104 | Q_ASSERT(m_revisionAtLastReset); |
| 105 | } |
| 106 | |
| 107 | RevisionReference DocumentChangeTracker::currentRevision() |
| 108 | { |