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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolverState.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/css/resolver/StyleResolverState.h
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
index 547e58ab9077ea8c21f3ed8f9b7e3bd31ed31d76..f81711704b1f1a135f13223399229f40246de861 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
@@ -36,6 +36,7 @@
#include "core/style/CachedUAStyle.h"
#include "core/style/ComputedStyle.h"
#include "core/style/StyleInheritedData.h"
+#include <memory>
namespace blink {
@@ -180,7 +181,7 @@ private:
FontBuilder m_fontBuilder;
- OwnPtr<CachedUAStyle> m_cachedUAStyle;
+ std::unique_ptr<CachedUAStyle> m_cachedUAStyle;
ElementStyleResources m_elementStyleResources;

Powered by Google App Engine
This is Rietveld 408576698