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

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/modules/notifications/NotificationImageLoader.h
diff --git a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h
index 363b4fb855e5fbf28409a786d5137dded208b362..8aeb5572071ddfde0931962ffd7841e86ef4cd46 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h
+++ b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h
@@ -10,8 +10,9 @@
#include "platform/SharedBuffer.h"
#include "platform/heap/Handle.h"
#include "wtf/Functional.h"
+#include "wtf/OwnPtr.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/RefPtr.h"
-#include <memory>
class SkBitmap;
@@ -55,7 +56,7 @@ private:
double m_startTime;
RefPtr<SharedBuffer> m_data;
std::unique_ptr<ImageCallback> m_imageCallback;
- std::unique_ptr<ThreadableLoader> m_threadableLoader;
+ OwnPtr<ThreadableLoader> m_threadableLoader;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698