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

Unified Diff: gpu/command_buffer/service/memory_program_cache.h

Issue 13454036: Rewrite scoped_array<T> to scoped_ptr<T[]> in gpu/, Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yikes Created 7 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: gpu/command_buffer/service/memory_program_cache.h
diff --git a/gpu/command_buffer/service/memory_program_cache.h b/gpu/command_buffer/service/memory_program_cache.h
index be487d9e558c457af87857be4c9528df2f7bf39d..19d37985b7d51471c588583c4790398c03776e34 100644
--- a/gpu/command_buffer/service/memory_program_cache.h
+++ b/gpu/command_buffer/service/memory_program_cache.h
@@ -56,7 +56,7 @@ class GPU_EXPORT MemoryProgramCache : public ProgramCache {
const ShaderTranslator::VariableMap& _uniform_map_1);
const GLsizei length;
const GLenum format;
- const scoped_array<const char> data;
+ const scoped_ptr<const char[]> data;
const std::string shader_0_hash;
const ShaderTranslator::VariableMap attrib_map_0;
const ShaderTranslator::VariableMap uniform_map_0;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h ('k') | gpu/command_buffer/service/memory_program_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698