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

Unified Diff: Source/core/css/StyleSheetContents.cpp

Issue 185403016: Oilpan: Use weak pointers in StyleSheetContents caches. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | Source/core/dom/StyleEngine.cpp » ('j') | Source/core/dom/StyleEngine.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleSheetContents.cpp
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp
index 034d2269e30885a7477558826597a10a327a5cfb..6db484b3c2fae8ec57b27ce13ee1675e8a663501 100644
--- a/Source/core/css/StyleSheetContents.cpp
+++ b/Source/core/css/StyleSheetContents.cpp
@@ -97,8 +97,8 @@ StyleSheetContents::StyleSheetContents(const StyleSheetContents& o)
StyleSheetContents::~StyleSheetContents()
{
- StyleEngine::removeSheet(this);
#if !ENABLE(OILPAN)
+ StyleEngine::removeSheet(this);
clearRules();
#endif
}
« no previous file with comments | « no previous file | Source/core/dom/StyleEngine.cpp » ('j') | Source/core/dom/StyleEngine.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698