Index: third_party/WebKit/Source/core/loader/ImageLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
index 66d5f545a9239f8d86a35cc847a7f1f7d52c6789..4f38a210caddd5649018f6609105dd1e551ac782 100644 |
--- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
@@ -51,6 +51,7 @@ |
#include "public/platform/WebCachePolicy.h" |
#include "public/platform/WebURLRequest.h" |
#include "wtf/PtrUtil.h" |
+#include <memory> |
namespace blink { |
@@ -262,7 +263,7 @@ void ImageLoader::doUpdateFromElement(BypassMainWorldBehavior bypassBehavior, Up |
// m_pendingTask to null). |
m_pendingTask.clear(); |
// Make sure to only decrement the count when we exit this function |
- OwnPtr<IncrementLoadEventDelayCount> loadDelayCounter; |
+ std::unique_ptr<IncrementLoadEventDelayCount> loadDelayCounter; |
loadDelayCounter.swap(m_loadDelayCounter); |
Document& document = m_element->document(); |