summaryrefslogtreecommitdiffstats
path: root/content/test/test_webkit_platform_support.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/test/test_webkit_platform_support.cc')
-rw-r--r--content/test/test_webkit_platform_support.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/test/test_webkit_platform_support.cc b/content/test/test_webkit_platform_support.cc
index bc93658..ea6ea71 100644
--- a/content/test/test_webkit_platform_support.cc
+++ b/content/test/test_webkit_platform_support.cc
@@ -303,8 +303,7 @@ TestWebKitPlatformSupport::createLayerTreeViewForTesting() {
scoped_ptr<WebLayerTreeViewImplForTesting> view(
new WebLayerTreeViewImplForTesting());
- if (!view->Initialize())
- return NULL;
+ view->Initialize();
return view.release();
}