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

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

Issue 1136006: Calling OpenGL from the renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | « gpu/command_buffer/service/gpu_processor_mac.cc ('k') | gpu/command_buffer/service/gpu_processor_win.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_unittest.cc
===================================================================
--- gpu/command_buffer/service/gpu_processor_unittest.cc (revision 42644)
+++ gpu/command_buffer/service/gpu_processor_unittest.cc (working copy)
@@ -58,10 +58,10 @@
0,
async_api_.get());
- processor_ = new GPUProcessor(command_buffer_.get(),
- decoder_,
- parser_,
- 2);
+ processor_.reset(new GPUProcessor(command_buffer_.get(),
+ decoder_,
+ parser_,
+ 2));
}
virtual void TearDown() {
@@ -85,7 +85,7 @@
gles2::MockGLES2Decoder* decoder_;
CommandParser* parser_;
scoped_ptr<AsyncAPIMock> async_api_;
- scoped_refptr<GPUProcessor> processor_;
+ scoped_ptr<GPUProcessor> processor_;
};
TEST_F(GPUProcessorTest, ProcessorDoesNothingIfRingBufferIsEmpty) {
« no previous file with comments | « gpu/command_buffer/service/gpu_processor_mac.cc ('k') | gpu/command_buffer/service/gpu_processor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698