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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.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/svg/graphics/SVGImageChromeClient.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h
index 32a2a3bbb3765eec3462fd7f36d36c191f404b60..35e6148a087b043a2029483d02eb628947dfd1b0 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h
@@ -33,6 +33,7 @@
#include "core/CoreExport.h"
#include "core/loader/EmptyClients.h"
#include "platform/Timer.h"
+#include <memory>
namespace blink {
@@ -61,7 +62,7 @@ private:
void animationTimerFired(Timer<SVGImageChromeClient>*);
SVGImage* m_image;
- OwnPtr<Timer<SVGImageChromeClient>> m_animationTimer;
+ std::unique_ptr<Timer<SVGImageChromeClient>> m_animationTimer;
enum {
Running,
Suspended,

Powered by Google App Engine
This is Rietveld 408576698