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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 1389333003: Do not keep InvalidationSets on the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 71bf96ea8ac9e1b5c93c32921f727cd7f4d19600..dd1ec1e8d8c81e2fb8b27cf5a7c3c0f4fc475fc0 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -159,6 +159,10 @@ StyleResolver::StyleResolver(Document& document)
initWatchedSelectorRules();
}
+StyleResolver::~StyleResolver()
+{
+}
+
void StyleResolver::initWatchedSelectorRules()
{
CSSSelectorWatch* watch = CSSSelectorWatch::fromIfExists(*m_document);
@@ -346,10 +350,6 @@ void StyleResolver::popParentElement(Element& parent)
m_selectorFilter.popParent(parent);
}
-StyleResolver::~StyleResolver()
-{
-}
-
static inline ScopedStyleResolver* scopedResolverFor(const Element* element)
{
// Ideally, returning element->treeScope().scopedStyleResolver() should be
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.h ('k') | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698