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

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

Powered by Google App Engine
This is Rietveld 408576698