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

Unified Diff: third_party/WebKit/Source/core/layout/ImageQualityController.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/layout/ImageQualityController.h
diff --git a/third_party/WebKit/Source/core/layout/ImageQualityController.h b/third_party/WebKit/Source/core/layout/ImageQualityController.h
index 7066d2167ca336d3fc10aed4eff8769bfa0f5d6f..d6636b7d3f9ae9a5600c2aa8e5d317de5e6865a8 100644
--- a/third_party/WebKit/Source/core/layout/ImageQualityController.h
+++ b/third_party/WebKit/Source/core/layout/ImageQualityController.h
@@ -37,6 +37,7 @@
#include "platform/geometry/LayoutSize.h"
#include "platform/graphics/Image.h"
#include "wtf/HashMap.h"
+#include <memory>
namespace blink {
@@ -83,7 +84,7 @@ private:
void setTimer(Timer<ImageQualityController>*);
ObjectLayerSizeMap m_objectLayerSizeMap;
- OwnPtr<Timer<ImageQualityController>> m_timer;
+ std::unique_ptr<Timer<ImageQualityController>> m_timer;
double m_frameTimeWhenTimerStarted;
// For calling set().

Powered by Google App Engine
This is Rietveld 408576698