Index: third_party/WebKit/Source/core/dom/StyleEngine.h |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h |
index 24dfe5766b3abc3ed3cdee45b2b42a532e610fbf..b2cd4f001e62058521b5bf47f194b1a75b249b07 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h |
@@ -43,6 +43,7 @@ |
#include "wtf/TemporaryChange.h" |
#include "wtf/Vector.h" |
#include "wtf/text/WTFString.h" |
+#include <memory> |
namespace blink { |
@@ -261,7 +262,7 @@ private: |
HeapHashMap<AtomicString, Member<StyleSheetContents>> m_textToSheetCache; |
HeapHashMap<Member<StyleSheetContents>, AtomicString> m_sheetToTextCache; |
- OwnPtr<StyleResolverStats> m_styleResolverStats; |
+ std::unique_ptr<StyleResolverStats> m_styleResolverStats; |
unsigned m_styleForElementCount = 0; |
friend class StyleEngineTest; |