Chromium Code Reviews| Index: Source/core/html/imports/HTMLImportTreeRoot.cpp |
| diff --git a/Source/core/html/imports/HTMLImportTreeRoot.cpp b/Source/core/html/imports/HTMLImportTreeRoot.cpp |
| index 7a220639d4f6c4c09e8a5bb1cbbbd8c9abd13da4..98a60687c36d76c64a0c9a9f18cb820bf2377f4b 100644 |
| --- a/Source/core/html/imports/HTMLImportTreeRoot.cpp |
| +++ b/Source/core/html/imports/HTMLImportTreeRoot.cpp |
| @@ -99,12 +99,8 @@ HTMLImportChild* HTMLImportTreeRoot::find(const KURL& url) const |
| void HTMLImportTreeRoot::recalcTimerFired(Timer<HTMLImportTreeRoot>*) |
| { |
| ASSERT(m_document); |
| - RefPtrWillBeRawPtr<Document> protect(m_document.get()); |
| - |
| - do { |
| - m_recalcTimer.stop(); |
| - HTMLImport::recalcTreeState(this); |
| - } while (m_recalcTimer.isActive()); |
| + RefPtrWillBeRawPtr<Document> protectDocument(m_document.get()); |
| + HTMLImport::recalcTreeState(this); |
|
sof
2015/04/30 18:18:37
Could you explain why new recalculations cannot be
|
| } |
| DEFINE_TRACE(HTMLImportTreeRoot) |