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

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

Powered by Google App Engine
This is Rietveld 408576698