Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(887)

Unified Diff: Source/core/dom/StyleElement.cpp

Issue 1102003002: Missing m_registeredAsCandidate = false. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed asserts Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/StyleElement.cpp
diff --git a/Source/core/dom/StyleElement.cpp b/Source/core/dom/StyleElement.cpp
index 79a03030c3e3a6117df0c6c449e4dcfb44dc4e3b..9a7a15fe5e0a9505afb232c595b21fd301a8e4aa 100644
--- a/Source/core/dom/StyleElement.cpp
+++ b/Source/core/dom/StyleElement.cpp
@@ -118,6 +118,7 @@ void StyleElement::clearDocumentData(Document& document, Element* element)
if (m_registeredAsCandidate) {
ASSERT(element->inDocument());
document.styleEngine().removeStyleSheetCandidateNode(element, element->treeScope());
+ m_registeredAsCandidate = false;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698