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

Unified Diff: gpu/command_buffer/tests/gl_unittests_android.cc

Issue 16907002: Update Android to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | « content/renderer/render_view_impl.cc ('k') | media/base/android/media_player_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_unittests_android.cc
diff --git a/gpu/command_buffer/tests/gl_unittests_android.cc b/gpu/command_buffer/tests/gl_unittests_android.cc
index f110d2c08d9edf351c6917bb359dd4b2f8765435..b1d41516839c94ae71f9b0ae07e55e8e88277d3d 100644
--- a/gpu/command_buffer/tests/gl_unittests_android.cc
+++ b/gpu/command_buffer/tests/gl_unittests_android.cc
@@ -47,7 +47,7 @@ TEST_F(GLSurfaceTextureTest, SimpleTest) {
gfx::GLSurface::CreateViewGLSurface(false, window);
EXPECT_TRUE(gl_surface.get() != NULL);
- gl_.SetSurface(gl_surface);
+ gl_.SetSurface(gl_surface.get());
glClearColor(0.0f, 1.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | media/base/android/media_player_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698