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

Unified Diff: android_webview/browser/scoped_app_gl_state_restore.h

Issue 1852513003: Convert //android_webview to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git is hard Created 4 years, 9 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: android_webview/browser/scoped_app_gl_state_restore.h
diff --git a/android_webview/browser/scoped_app_gl_state_restore.h b/android_webview/browser/scoped_app_gl_state_restore.h
index f2356f7d5490090a907f3b2b83489aaf7a9536d8..b4bec3e1bb441a53aabab6f921260a49d6511dd9 100644
--- a/android_webview/browser/scoped_app_gl_state_restore.h
+++ b/android_webview/browser/scoped_app_gl_state_restore.h
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace gfx {
class GLContext;
@@ -51,7 +51,7 @@ class ScopedAppGLStateRestore {
int framebuffer_binding_ext() const;
private:
- scoped_ptr<internal::ScopedAppGLStateRestoreImpl> impl_;
+ std::unique_ptr<internal::ScopedAppGLStateRestoreImpl> impl_;
DISALLOW_COPY_AND_ASSIGN(ScopedAppGLStateRestore);
};

Powered by Google App Engine
This is Rietveld 408576698