Bug 109957

Summary: Remove const from a bunch of StorageArea member functions
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, darin, kling
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch bdakin: review+

Anders Carlsson
Reported 2013-02-15 11:25:59 PST
Remove const from a bunch of StorageArea member functions
Attachments
Patch (18.52 KB, patch)
2013-02-15 11:27 PST, Anders Carlsson
bdakin: review+
Anders Carlsson
Comment 1 2013-02-15 11:27:51 PST
Andreas Kling
Comment 2 2013-02-15 11:55:49 PST
I think that this removes useful documentation from the code about which functions on the StorageArea interface are conceptually read-only. :(
Anders Carlsson
Comment 3 2013-02-15 11:59:01 PST
(In reply to comment #2) > I think that this removes useful documentation from the code about which functions on the StorageArea interface are conceptually read-only. :( I don’t think it makes much sense to use const for an abstract class where implementations can do pretty much anything. That’s the reason why none of our client member functions are const.
Anders Carlsson
Comment 4 2013-02-15 12:07:33 PST
Note You need to log in before you can comment on or make changes to this bug.