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

Unified Diff: third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.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/platform/graphics/CanvasSurfaceLayerBridge.h
diff --git a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h
index 3e9f3208198862f40c066485ec845ee15ee73542..5f9adc94db478006823e97a61578bf29ab717039 100644
--- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h
+++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h
@@ -7,7 +7,7 @@
#include "base/memory/ref_counted.h"
#include "platform/PlatformExport.h"
-#include "wtf/OwnPtr.h"
+#include <memory>
namespace cc {
// TODO(611796): replace SolidColorLayer with SurfaceLayer
@@ -26,7 +26,7 @@ public:
private:
scoped_refptr<cc::SolidColorLayer> m_solidColorLayer;
- OwnPtr<WebLayer> m_webLayer;
+ std::unique_ptr<WebLayer> m_webLayer;
};
}

Powered by Google App Engine
This is Rietveld 408576698