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

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

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Created 6 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
Index: Source/core/dom/StyleElement.cpp
diff --git a/Source/core/dom/StyleElement.cpp b/Source/core/dom/StyleElement.cpp
index cbe3765c7c735307a928c59e76aa5ba6a703413b..9ec414acd58ada1c57ebc400a4f938af1e5f56ae 100644
--- a/Source/core/dom/StyleElement.cpp
+++ b/Source/core/dom/StyleElement.cpp
@@ -52,8 +52,10 @@ StyleElement::StyleElement(Document* document, bool createdByParser)
StyleElement::~StyleElement()
{
+#if !ENABLE(OILPAN)
if (m_sheet)
clearSheet();
haraken 2014/04/25 05:21:42 If you don't call clearSheet(), who removes pendin
Mads Ager (chromium) 2014/04/25 10:58:25 Restored, thanks!
+#endif
}
void StyleElement::processStyleSheet(Document& document, Element* element)

Powered by Google App Engine
This is Rietveld 408576698