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

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

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
Index: gpu/command_buffer/service/gpu_processor.h
===================================================================
--- gpu/command_buffer/service/gpu_processor.h (revision 33880)
+++ gpu/command_buffer/service/gpu_processor.h (working copy)
@@ -12,7 +12,6 @@
#include "gpu/command_buffer/service/cmd_buffer_engine.h"
#include "gpu/command_buffer/service/cmd_parser.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
-#include "gpu/np_utils/np_object_pointer.h"
namespace command_buffer {
@@ -21,7 +20,7 @@
class GPUProcessor : public ::base::RefCounted<GPUProcessor>,
public command_buffer::CommandBufferEngine {
public:
- GPUProcessor(NPP npp, CommandBuffer* command_buffer);
+ explicit GPUProcessor(CommandBuffer* command_buffer);
// This constructor is for unit tests.
GPUProcessor(CommandBuffer* command_buffer,
@@ -57,8 +56,6 @@
virtual void set_token(int32 token);
private:
- NPP npp_;
-
// The GPUProcessor holds a weak reference to the CommandBuffer. The
// CommandBuffer owns the GPUProcessor and holds a strong reference to it
// through the ProcessCommands callback.
« no previous file with comments | « gpu/command_buffer/service/command_buffer_service_unittest.cc ('k') | gpu/command_buffer/service/gpu_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698