Index: Source/core/page/Page.cpp |
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp |
index 3f27bd50248008af9a0301c357a945318d8a4105..78ccb8e7a6b5ea14ed0116a4a016d9f57657729c 100644 |
--- a/Source/core/page/Page.cpp |
+++ b/Source/core/page/Page.cpp |
@@ -216,6 +216,7 @@ void Page::documentDetached(Document* document) |
m_contextMenuController->documentDetached(document); |
if (m_validationMessageClient) |
m_validationMessageClient->documentDetached(*document); |
+ m_originsUsingFeatures.documentDetached(*document); |
} |
bool Page::openedByDOM() const |
@@ -546,6 +547,7 @@ void Page::didCommitLoad(LocalFrame* frame) |
if (m_mainFrame == frame) { |
frame->console().clearMessages(); |
useCounter().didCommitLoad(); |
+ m_originsUsingFeatures.updateMeasurementsAndClear(); |
UserGestureIndicator::clearProcessedUserGestureSinceLoad(); |
} |
} |