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

Unified Diff: content/browser/android/surface_texture_peer_browser_impl.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
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 256195d26a7569c6538f144c0b487849018d0682..faaf4a2821d6e3bed58447382bd2cdef8aa8d721 100644
--- a/content/browser/android/surface_texture_peer_browser_impl.cc
+++ b/content/browser/android/surface_texture_peer_browser_impl.cc
@@ -60,7 +60,7 @@ void SurfaceTexturePeerBrowserImpl::EstablishSurfaceTexturePeer(
scoped_refptr<gfx::SurfaceTextureBridge> surface_texture_bridge,
int render_view_id,
int player_id) {
- if (!surface_texture_bridge)
+ if (!surface_texture_bridge.get())
return;
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind(

Powered by Google App Engine
This is Rietveld 408576698