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

Unified Diff: content/browser/compositor/reflector_texture.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/browser/compositor/reflector_texture.h
diff --git a/content/browser/compositor/reflector_texture.h b/content/browser/compositor/reflector_texture.h
index cc8f98ce19f68034270cd0fc4ee44d0f9673c8ca..09e1508e7d8e7a7a77075fb2bcffa50a25a54c72 100644
--- a/content/browser/compositor/reflector_texture.h
+++ b/content/browser/compositor/reflector_texture.h
@@ -7,9 +7,10 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/compositor/owned_mailbox.h"
#include "content/common/content_export.h"
@@ -39,7 +40,7 @@ class CONTENT_EXPORT ReflectorTexture {
private:
scoped_refptr<OwnedMailbox> mailbox_;
- scoped_ptr<GLHelper> gl_helper_;
+ std::unique_ptr<GLHelper> gl_helper_;
uint32_t texture_id_;
DISALLOW_COPY_AND_ASSIGN(ReflectorTexture);

Powered by Google App Engine
This is Rietveld 408576698