<http://webkit.org/b/56688> Fix clang static analyzer warning in WebCoreViewFactory.m
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Mar 2011 03:58:46 +0000 (03:58 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Mar 2011 03:58:46 +0000 (03:58 +0000)
commit37fff2826724b31070bd6d548ac35a51440fef3a
tree14987afe893f90af44eb815b14547593a63fa5b7
parentea568d980e03f47cb0a9ccdac4a26a76a2f2e720
<webkit.org/b/56688> Fix clang static analyzer warning in WebCoreViewFactory.m

Reviewed by Anders Carlsson.

Fixes the following static analyzer warning:

    Source/WebCore/page/mac/WebCoreViewFactory.m:45:5: warning: Returning 'self' while it is not set to the result of '[(super or self) init...]'
         return self;
         ^

* page/mac/WebCoreViewFactory.m:
(-[WebCoreViewFactory init]): Assign the result of [super init]
to self.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/mac/WebCoreViewFactory.m