Bug 30794

Summary: [V8] Tidy up the DOM Storage runtime flag stuff
Product: WebKit Reporter: Jeremy Orlow <jorlow>
Component: New BugsAssignee: Jeremy Orlow <jorlow>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, dumi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch v1 dglazkov: review+, dglazkov: commit-queue-

Jeremy Orlow
Reported 2009-10-26 15:50:40 PDT
Clean up the DOM Storage runtime flag stuff to match the new way of doing things.
Attachments
Patch v1 (5.32 KB, patch)
2009-10-26 15:52 PDT, Jeremy Orlow
dglazkov: review+
dglazkov: commit-queue-
Jeremy Orlow
Comment 1 2009-10-26 15:52:48 PDT
Created attachment 41908 [details] Patch v1
Dimitri Glazkov (Google)
Comment 2 2009-10-26 15:55:48 PDT
Comment on attachment 41908 [details] Patch v1 r=me, except -- I don't know for sure, but I think all new code uses just camelCase for statics. Can you change that back?
Dumitru Daniliuc
Comment 3 2009-10-26 16:11:21 PDT
I've seen more static variables without s_, and Eric raised the same question when I uploaded a patch with s_ static variables. So I think we should get rid of the s_ prefix. Also, I don't see why 'enabled' is better than 'isEnabled': ~15 'bool enabled' parameters in ~5 different .cpp files in all of WebCore can hardly be called a 'standard'. But I don't feel strongly about this.
Jeremy Orlow
Comment 4 2009-10-26 16:16:27 PDT
I switched back to isBlahBlahEnabled and isEnabled. Didn't realize those were the more accepted conventions. (Kind of wish that, whenever such decisions are made, that people would just change everything over right away....it's so hard knowing what's currently in favor!)
Jeremy Orlow
Comment 5 2009-10-26 16:45:18 PDT
Note You need to log in before you can comment on or make changes to this bug.