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

Unified Diff: gpu/command_buffer/client/cmd_buffer_helper_test.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/client/cmd_buffer_helper.cc ('k') | gpu/command_buffer/client/fenced_allocator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/cmd_buffer_helper_test.cc
===================================================================
--- gpu/command_buffer/client/cmd_buffer_helper_test.cc (revision 33880)
+++ gpu/command_buffer/client/cmd_buffer_helper_test.cc (working copy)
@@ -38,16 +38,12 @@
#include "gpu/command_buffer/service/mocks.h"
#include "gpu/command_buffer/service/command_buffer_service.h"
#include "gpu/command_buffer/service/gpu_processor.h"
-#include "gpu/np_utils/np_object_pointer.h"
-#include "gpu/np_utils/np_browser_stub.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace command_buffer {
using command_buffer::CommandBufferService;
using command_buffer::GPUProcessor;
-using np_utils::NPCreateObject;
-using np_utils::NPObjectPointer;
using testing::Return;
using testing::Mock;
using testing::Truly;
@@ -71,7 +67,7 @@
EXPECT_CALL(*api_mock_, DoCommand(0, 0, _))
.WillRepeatedly(Return(parse_error::kParseNoError));
- ::base::SharedMemory* ring_buffer = new ::base::SharedMemory;
+ base::SharedMemory* ring_buffer = new base::SharedMemory;
ring_buffer->Create(std::wstring(), false, false, kCommandBufferSizeBytes);
ring_buffer->Map(1024);
@@ -142,7 +138,6 @@
base::AtExitManager at_exit_manager_;
MessageLoop message_loop_;
- np_utils::StubNPBrowser browser_;
scoped_ptr<AsyncAPIMock> api_mock_;
scoped_ptr<CommandBufferService> command_buffer_;
command_buffer::CommandParser* parser_;
« no previous file with comments | « gpu/command_buffer/client/cmd_buffer_helper.cc ('k') | gpu/command_buffer/client/fenced_allocator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698