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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.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/layout/svg/LayoutSVGResourceGradient.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.h
index 5f2bffcdea8e60390004d6bb206ca3504838f5ba..ccfcb20c6412bcb9aaea2f61907e53b21feee5e6 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.h
@@ -28,6 +28,7 @@
#include "platform/graphics/Gradient.h"
#include "platform/transforms/AffineTransform.h"
#include "wtf/HashMap.h"
+#include <memory>
namespace blink {
@@ -61,7 +62,7 @@ protected:
private:
bool m_shouldCollectGradientAttributes : 1;
- HashMap<const LayoutObject*, OwnPtr<GradientData>> m_gradientMap;
+ HashMap<const LayoutObject*, std::unique_ptr<GradientData>> m_gradientMap;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698