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

Unified Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.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/style/StyleRareNonInheritedData.h
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
index 5f6563a78f2a68d2e6efc29129b052dc501b1af0..5d9b9e2e4d63f3cbe533a8d3a5929ab29a29e6d4 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
@@ -28,11 +28,11 @@
#include "core/CoreExport.h"
#include "core/css/StyleColor.h"
#include "core/layout/ClipPathOperation.h"
+#include "core/style/ComputedStyleConstants.h"
#include "core/style/CounterDirectives.h"
#include "core/style/DataPersistent.h"
#include "core/style/DataRef.h"
#include "core/style/FillLayer.h"
-#include "core/style/ComputedStyleConstants.h"
#include "core/style/LineClampValue.h"
#include "core/style/NinePieceImage.h"
#include "core/style/ShapeValue.h"
@@ -40,10 +40,10 @@
#include "core/style/StyleScrollSnapData.h"
#include "core/style/StyleSelfAlignmentData.h"
#include "platform/LengthPoint.h"
-#include "wtf/OwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
+#include <memory>
namespace blink {
@@ -123,9 +123,9 @@ public:
DataRef<StyleScrollSnapData> m_scrollSnap;
Persistent<ContentData> m_content;
- OwnPtr<CounterDirectiveMap> m_counterDirectives;
- OwnPtr<CSSAnimationData> m_animations;
- OwnPtr<CSSTransitionData> m_transitions;
+ std::unique_ptr<CounterDirectiveMap> m_counterDirectives;
+ std::unique_ptr<CSSAnimationData> m_animations;
+ std::unique_ptr<CSSTransitionData> m_transitions;
RefPtr<ShadowList> m_boxShadow;
« no previous file with comments | « third_party/WebKit/Source/core/style/StylePath.cpp ('k') | third_party/WebKit/Source/core/svg/SVGAnimateElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698