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

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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.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;
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleElementTest.cpp ('k') | third_party/WebKit/Source/core/dom/StyleEngineTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698