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

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.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/dom/StyleEngine.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
index 8f61504461b5ddd1396365e116888792f32fd843..911f80a8e9fae0bf945bcae6ae0992cfaf416e35 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
@@ -401,7 +401,7 @@ void StyleEngine::createResolver()
ASSERT(document().frame());
- m_resolver = adoptPtrWillBeNoop(new StyleResolver(*m_document));
+ m_resolver = StyleResolver::create(*m_document);
// A scoped style resolver for document will be created during
// appendActiveAuthorStyleSheets if needed.

Powered by Google App Engine
This is Rietveld 408576698