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

Unified Diff: android_webview/browser/aw_render_thread_context_provider.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
« no previous file with comments | « android_webview/browser/aw_pref_store.cc ('k') | android_webview/browser/browser_view_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_render_thread_context_provider.h
diff --git a/android_webview/browser/aw_render_thread_context_provider.h b/android_webview/browser/aw_render_thread_context_provider.h
index cb763236ccb29c0a732a4925ef78ed1e2fd231fc..839f1a9346d6c4ea4de0b5d8345d431c4e096450 100644
--- a/android_webview/browser/aw_render_thread_context_provider.h
+++ b/android_webview/browser/aw_render_thread_context_provider.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "base/threading/thread_checker.h"
#include "cc/output/context_provider.h"
@@ -54,7 +55,7 @@ class AwRenderThreadContextProvider : public cc::ContextProvider {
base::ThreadChecker main_thread_checker_;
- scoped_ptr<gpu::GLInProcessContext> context_;
+ std::unique_ptr<gpu::GLInProcessContext> context_;
skia::RefPtr<class GrContext> gr_context_;
cc::ContextProvider::Capabilities capabilities_;
« no previous file with comments | « android_webview/browser/aw_pref_store.cc ('k') | android_webview/browser/browser_view_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698