Index: third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h b/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h |
index 433a95e79761f1d9386861fbad1ba015473e117c..db57752805fab40d5c72e77e146de5b92760ce26 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h |
@@ -24,7 +24,7 @@ |
#include "wtf/Allocator.h" |
#include "wtf/HashMap.h" |
#include "wtf/Noncopyable.h" |
-#include "wtf/OwnPtr.h" |
+#include <memory> |
namespace blink { |
@@ -60,7 +60,7 @@ private: |
void addResourcesFromLayoutObject(LayoutObject*, const ComputedStyle&); |
void removeResourcesFromLayoutObject(LayoutObject*); |
- typedef HashMap<const LayoutObject*, OwnPtr<SVGResources>> CacheMap; |
+ typedef HashMap<const LayoutObject*, std::unique_ptr<SVGResources>> CacheMap; |
CacheMap m_cache; |
}; |