| Index: content/common/android/surface_texture_peer.cc
|
| diff --git a/content/common/android/surface_texture_peer.cc b/content/common/android/surface_texture_peer.cc
|
| index a6fade45e69b9af79f4d32e6c461bc9bae18a95b..b2eebcf1ba0a4179c0bfd32ed943c7b34bc17f2f 100644
|
| --- a/content/common/android/surface_texture_peer.cc
|
| +++ b/content/common/android/surface_texture_peer.cc
|
| @@ -26,7 +26,7 @@ SurfaceTexturePeer* SurfaceTexturePeer::GetInstance() {
|
|
|
| // static
|
| void SurfaceTexturePeer::InitInstance(SurfaceTexturePeer* instance) {
|
| - DCHECK(!g_instance_);
|
| + DCHECK(!g_instance_ || !instance);
|
| g_instance_ = instance;
|
| }
|
|
|
|
|