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. |