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

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

Issue 500243002: Remove implicit conversions from scoped_refptr to T* in gpu/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert silliness Created 6 years, 4 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/mailbox_manager_unittest.cc
diff --git a/gpu/command_buffer/service/mailbox_manager_unittest.cc b/gpu/command_buffer/service/mailbox_manager_unittest.cc
index 8e57faa96c0fe836e7d473528e635fd5febdc982..df1cd4eced635fa56d8509f84a16dbd0fc5bed75 100644
--- a/gpu/command_buffer/service/mailbox_manager_unittest.cc
+++ b/gpu/command_buffer/service/mailbox_manager_unittest.cc
@@ -78,7 +78,7 @@ class MailboxManagerTest : public GpuServiceTest {
}
GLenum SetParameter(Texture* texture, GLenum pname, GLint param) {
- return texture->SetParameteri(feature_info_, pname, param);
+ return texture->SetParameteri(feature_info_.get(), pname, param);
}
void DestroyTexture(Texture* texture) {
@@ -205,7 +205,7 @@ class MailboxManagerSyncTest : public MailboxManagerTest {
manager2_ = new MailboxManager;
context_ = new gfx::GLContextStub();
surface_ = new gfx::GLSurfaceStub();
- context_->MakeCurrent(surface_);
+ context_->MakeCurrent(surface_.get());
}
Texture* DefineTexture() {
« no previous file with comments | « gpu/command_buffer/service/in_process_command_buffer.cc ('k') | gpu/command_buffer/service/program_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698