| Index: content/browser/compositor/surface_utils.cc
|
| diff --git a/content/browser/compositor/surface_utils.cc b/content/browser/compositor/surface_utils.cc
|
| index 9f79cb74b55a776b0de5a845d1932e3f4659a6f7..e0e49162781b9b649f38fb25a2d5e09d765082b5 100644
|
| --- a/content/browser/compositor/surface_utils.cc
|
| +++ b/content/browser/compositor/surface_utils.cc
|
| @@ -172,6 +172,8 @@ cc::SurfaceManager* GetSurfaceManager() {
|
| return CompositorImpl::GetSurfaceManager();
|
| #else
|
| ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
|
| + if (factory == NULL)
|
| + return nullptr;
|
| return factory->GetSurfaceManager();
|
| #endif
|
| }
|
|
|