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

Unified Diff: gpu/command_buffer/service/gpu_processor_win.cc

Issue 465099: Removed command buffer's last dependency on NPAPI.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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 | « gpu/command_buffer/service/gpu_processor_unittest.cc ('k') | gpu/gpu_plugin/gpu_plugin_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_processor_win.cc
===================================================================
--- gpu/command_buffer/service/gpu_processor_win.cc (revision 33880)
+++ gpu/command_buffer/service/gpu_processor_win.cc (working copy)
@@ -10,9 +10,8 @@
namespace command_buffer {
-GPUProcessor::GPUProcessor(NPP npp, CommandBuffer* command_buffer)
- : npp_(npp),
- command_buffer_(command_buffer),
+GPUProcessor::GPUProcessor(CommandBuffer* command_buffer)
+ : command_buffer_(command_buffer),
commands_per_update_(100) {
DCHECK(command_buffer);
decoder_.reset(gles2::GLES2Decoder::Create());
@@ -23,8 +22,7 @@
gles2::GLES2Decoder* decoder,
CommandParser* parser,
int commands_per_update)
- : npp_(NULL),
- command_buffer_(command_buffer),
+ : command_buffer_(command_buffer),
commands_per_update_(commands_per_update) {
DCHECK(command_buffer);
decoder_.reset(decoder);
« no previous file with comments | « gpu/command_buffer/service/gpu_processor_unittest.cc ('k') | gpu/gpu_plugin/gpu_plugin_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698