Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
<http://webkit.org/b/59758> Fix static analyzer warnings for missing …
…assignment to 'self' in -init methods Reviewed by Anders Carlsson. * History/WebHistory.mm: (-[WebHistoryPrivate init]): * Misc/WebElementDictionary.mm: (-[WebElementDictionary initWithHitTestResult:]): * Misc/WebIconDatabase.mm: (-[WebIconDatabase init]): * Plugins/WebPluginController.mm: (-[WebPluginController initWithDocumentView:]): * Plugins/WebPluginRequest.m: (-[WebPluginRequest initWithRequest:frameName:notifyData:sendNotification:didStartFromUserGesture:]): * WebCoreSupport/WebEditorClient.mm: (-[WebEditCommand initWithEditCommand:]): * WebCoreSupport/WebJavaScriptTextInputPanel.m: (-[WebJavaScriptTextInputPanel initWithPrompt:text:]): * WebView/WebNavigationData.mm: (-[WebNavigationData initWithURLString:title:originalRequest:response:hasSubstituteData:clientRedirectSource:]): Canonical link: https://commits.webkit.org/75009@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@85302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
46 additions
and 7 deletions.
- +23 −0 Source/WebKit/mac/ChangeLog
- +2 −1 Source/WebKit/mac/History/WebHistory.mm
- +3 −1 Source/WebKit/mac/Misc/WebElementDictionary.mm
- +3 −1 Source/WebKit/mac/Misc/WebIconDatabase.mm
- +3 −1 Source/WebKit/mac/Plugins/WebPluginController.mm
- +3 −1 Source/WebKit/mac/Plugins/WebPluginRequest.m
- +3 −1 Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm
- +3 −1 Source/WebKit/mac/WebCoreSupport/WebJavaScriptTextInputPanel.m
- +3 −0 Source/WebKit/mac/WebView/WebNavigationData.mm
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -123,7 +123,8 @@ + (void)initialize | ||
|
||
- (id)init | ||
{ | ||
self = [super init]; | ||
if (!self) | ||
return nil; | ||
|
||
_entriesByURL = [[NSMutableDictionary alloc] init]; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -115,7 +115,9 @@ + (void)initialize | ||
- (id)initWithEditCommand:(PassRefPtr<EditCommand>)command | ||
{ | ||
ASSERT(command); | ||
self = [super init]; | ||
if (!self) | ||
return nil; | ||
m_command = command; | ||
return self; | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters