| Index: content/test/test_webkit_platform_support.cc
|
| diff --git a/content/test/test_webkit_platform_support.cc b/content/test/test_webkit_platform_support.cc
|
| index ea6ea715f1cfef222a49426a9f11fc5db0d24330..bc936586dc51ca98b5f5739b19f1e8b95bc93470 100644
|
| --- a/content/test/test_webkit_platform_support.cc
|
| +++ b/content/test/test_webkit_platform_support.cc
|
| @@ -303,7 +303,8 @@
|
| scoped_ptr<WebLayerTreeViewImplForTesting> view(
|
| new WebLayerTreeViewImplForTesting());
|
|
|
| - view->Initialize();
|
| + if (!view->Initialize())
|
| + return NULL;
|
| return view.release();
|
| }
|
|
|
|
|