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

Unified Diff: ppapi/proxy/raw_var_data.h

Issue 1649623002: Update ppapi to not use linked_ptr or ScopedVector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark RawVarDataGraph as DISALLOW_COPY_AND_ASSIGN Created 4 years, 11 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 | « ppapi/host/ppapi_host.cc ('k') | ppapi/proxy/raw_var_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/raw_var_data.h
diff --git a/ppapi/proxy/raw_var_data.h b/ppapi/proxy/raw_var_data.h
index 4789ccdc1b6613710872c76b652e21bfb223a0f9..7e437e9c1582719d9502a22977385b4822de64c0 100644
--- a/ppapi/proxy/raw_var_data.h
+++ b/ppapi/proxy/raw_var_data.h
@@ -11,8 +11,8 @@
#include <vector>
#include "base/callback.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
-#include "base/memory/scoped_vector.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_var.h"
#include "ppapi/proxy/ppapi_param_traits.h"
@@ -86,8 +86,11 @@ class PPAPI_PROXY_EXPORT RawVarDataGraph {
// (in order to have fast tests).
static void SetMinimumArrayBufferSizeForShmemForTest(uint32_t threshold);
+ private:
// A list of the nodes in the graph.
- ScopedVector<RawVarData> data_;
+ std::vector<scoped_ptr<RawVarData>> data_;
+
+ DISALLOW_COPY_AND_ASSIGN(RawVarDataGraph);
};
// Abstract base class for the data contained in a PP_Var.
« no previous file with comments | « ppapi/host/ppapi_host.cc ('k') | ppapi/proxy/raw_var_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698