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 4f38a210caddd5649018f6609105dd1e551ac782..66d5f545a9239f8d86a35cc847a7f1f7d52c6789 100644 |
--- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
@@ -51,7 +51,6 @@ |
#include "public/platform/WebCachePolicy.h" |
#include "public/platform/WebURLRequest.h" |
#include "wtf/PtrUtil.h" |
-#include <memory> |
namespace blink { |
@@ -263,7 +262,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 |
- std::unique_ptr<IncrementLoadEventDelayCount> loadDelayCounter; |
+ OwnPtr<IncrementLoadEventDelayCount> loadDelayCounter; |
loadDelayCounter.swap(m_loadDelayCounter); |
Document& document = m_element->document(); |