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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.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/gpu/Extensions3DUtil.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.h b/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.h
index 418daf367096e5cfbef10fa992957a2186e8fb2f..155d21fd9e40cb7993c5a76de1513cc051c9284f 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/Extensions3DUtil.h
@@ -12,6 +12,7 @@
#include "wtf/Noncopyable.h"
#include "wtf/text/StringHash.h"
#include "wtf/text/WTFString.h"
+#include <memory>
namespace gpu {
namespace gles2 {
@@ -26,7 +27,7 @@ class PLATFORM_EXPORT Extensions3DUtil final {
WTF_MAKE_NONCOPYABLE(Extensions3DUtil);
public:
// Creates a new Extensions3DUtil. If the passed GLES2Interface has been spontaneously lost, returns null.
- static PassOwnPtr<Extensions3DUtil> create(gpu::gles2::GLES2Interface*);
+ static std::unique_ptr<Extensions3DUtil> create(gpu::gles2::GLES2Interface*);
~Extensions3DUtil();
bool isValid() { return m_isValid; }

Powered by Google App Engine
This is Rietveld 408576698