Bug 120376

Summary: Stop using deleteAllValues in CClass
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: abrhm, allan.jensen, hausmann, kadam, ossy, zarvai
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 120398    
Bug Blocks:    
Attachments:
Description Flags
Patch kling: review+

Anders Carlsson
Reported 2013-08-27 14:18:32 PDT
Stop using deleteAllValues in CClass
Attachments
Patch (4.42 KB, patch)
2013-08-27 14:21 PDT, Anders Carlsson
kling: review+
Anders Carlsson
Comment 1 2013-08-27 14:21:13 PDT
Andreas Kling
Comment 2 2013-08-27 14:22:36 PDT
Comment on attachment 209801 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=209801&action=review k > Source/WebCore/ChangeLog:8 > + No new tests (OOPS!). OOPS
Anders Carlsson
Comment 3 2013-08-27 14:25:58 PDT
Darin Adler
Comment 4 2013-08-27 14:59:11 PDT
Comment on attachment 209801 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=209801&action=review > Source/WebCore/bridge/c/c_class.cpp:101 > + OwnPtr<Field> field = adoptPtr(new CField(ident)); > + m_fields.set(name.impl(), field.release()); This would read better without the local variable and without the release().
Note You need to log in before you can comment on or make changes to this bug.