Index: content/browser/android/surface_texture_peer_browser_impl.cc |
diff --git a/content/browser/android/surface_texture_peer_browser_impl.cc b/content/browser/android/surface_texture_peer_browser_impl.cc |
index 4f61887f880db73b7212700daf29eda77382504e..b533bec292d5e93dc504da59a236895269d7933a 100644 |
--- a/content/browser/android/surface_texture_peer_browser_impl.cc |
+++ b/content/browser/android/surface_texture_peer_browser_impl.cc |
@@ -62,7 +62,7 @@ static void SetSurfacePeer( |
} |
if (player != player_manager->GetFullscreenPlayer()) { |
- gfx::ScopedJavaSurface scoped_surface(surface_texture); |
+ gfx::ScopedJavaSurface scoped_surface(surface_texture.get()); |
player->SetVideoSurface(scoped_surface.Pass()); |
} |
} |