Changeset 85302 in webkit
- Timestamp:
- Apr 28, 2011 9:57:32 PM (13 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r85273 r85302 1 2011-04-28 David Kilzer <ddkilzer@apple.com> 2 3 <http://webkit.org/b/59758> Fix static analyzer warnings for missing assignment to 'self' in -init methods 4 5 Reviewed by Anders Carlsson. 6 7 * History/WebHistory.mm: 8 (-[WebHistoryPrivate init]): 9 * Misc/WebElementDictionary.mm: 10 (-[WebElementDictionary initWithHitTestResult:]): 11 * Misc/WebIconDatabase.mm: 12 (-[WebIconDatabase init]): 13 * Plugins/WebPluginController.mm: 14 (-[WebPluginController initWithDocumentView:]): 15 * Plugins/WebPluginRequest.m: 16 (-[WebPluginRequest initWithRequest:frameName:notifyData:sendNotification:didStartFromUserGesture:]): 17 * WebCoreSupport/WebEditorClient.mm: 18 (-[WebEditCommand initWithEditCommand:]): 19 * WebCoreSupport/WebJavaScriptTextInputPanel.m: 20 (-[WebJavaScriptTextInputPanel initWithPrompt:text:]): 21 * WebView/WebNavigationData.mm: 22 (-[WebNavigationData initWithURLString:title:originalRequest:response:hasSubstituteData:clientRedirectSource:]): 23 1 24 2011-04-28 David Levin <levin@chromium.org> 2 25 -
trunk/Source/WebKit/mac/History/WebHistory.mm
r74733 r85302 124 124 - (id)init 125 125 { 126 if (![super init]) 126 self = [super init]; 127 if (!self) 127 128 return nil; 128 129 -
trunk/Source/WebKit/mac/Misc/WebElementDictionary.mm
r85036 r85302 99 99 { 100 100 [[self class] initializeLookupTable]; 101 [super init]; 101 self = [super init]; 102 if (!self) 103 return nil; 102 104 _result = new HitTestResult(result); 103 105 return self; -
trunk/Source/WebKit/mac/Misc/WebIconDatabase.mm
r83324 r85302 107 107 - (id)init 108 108 { 109 [super init]; 109 self = [super init]; 110 if (!self) 111 return nil; 110 112 WebCoreThreadViolationCheckRoundOne(); 111 113 -
trunk/Source/WebKit/mac/Plugins/WebPluginController.mm
r73149 r85302 123 123 - (id)initWithDocumentView:(NSView *)view 124 124 { 125 [super init]; 125 self = [super init]; 126 if (!self) 127 return nil; 126 128 _documentView = view; 127 129 _views = [[NSMutableArray alloc] init]; -
trunk/Source/WebKit/mac/Plugins/WebPluginRequest.m
r38981 r85302 35 35 - (id)initWithRequest:(NSURLRequest *)request frameName:(NSString *)frameName notifyData:(void *)notifyData sendNotification:(BOOL)sendNotification didStartFromUserGesture:(BOOL)currentEventIsUserGesture 36 36 { 37 [super init]; 37 self = [super init]; 38 if (!self) 39 return nil; 38 40 _didStartFromUserGesture = currentEventIsUserGesture; 39 41 _request = [request retain]; -
trunk/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm
r85036 r85302 116 116 { 117 117 ASSERT(command); 118 [super init]; 118 self = [super init]; 119 if (!self) 120 return nil; 119 121 m_command = command; 120 122 return self; -
trunk/Source/WebKit/mac/WebCoreSupport/WebJavaScriptTextInputPanel.m
r34956 r85302 38 38 - (id)initWithPrompt:(NSString *)p text:(NSString *)t 39 39 { 40 [self initWithWindowNibName:@"WebJavaScriptTextInputPanel"]; 40 self = [self initWithWindowNibName:@"WebJavaScriptTextInputPanel"]; 41 if (!self) 42 return nil; 41 43 NSWindow *window = [self window]; 42 44 -
trunk/Source/WebKit/mac/WebView/WebNavigationData.mm
r61562 r85302 58 58 - (id)initWithURLString:(NSString *)url title:(NSString *)title originalRequest:(NSURLRequest *)request response:(NSURLResponse *)response hasSubstituteData:(BOOL)hasSubstituteData clientRedirectSource:(NSString *)redirectSource 59 59 { 60 self = [super init]; 61 if (!self) 62 return nil; 60 63 _private = [[WebNavigationDataPrivate alloc] init]; 61 64
Note: See TracChangeset
for help on using the changeset viewer.