Closed
Bug 664898
Opened 14 years ago
Closed 14 years ago
Cleanup startup cache api
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: mwu, Assigned: mwu)
Details
(Whiteboard: [inbound])
Attachments
(1 file)
|
13.05 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
From taras in bug 592943:
This kind of unrelated to the patch. But while you are at this can you get rid of NS_* prefix in this file? and Get rid of the using namespace mozilla::scache(didn't realize it was in a header too :( ) in mozJSComponentLoader?
also rename scache->startupcache and make all calls via the namespace ie
startupcache::PathifyURI.
| Assignee | ||
Comment 1•14 years ago
|
||
This implements the first two suggestions. I'm a bit suspicious of doing scache->startupcache since that's pretty verbose and requiring the namespace every time makes it even worse. Lines like:
StartupCache* cache = StartupCache::GetSingleton();
would turn into
startupcache::StartupCache* cache = startupcache::StartupCache::GetSingleton();
Though I think just doing scache->startupcache without removing the use of using would be ok.
Attachment #546708 -
Flags: review?(tglek)
Updated•14 years ago
|
Attachment #546708 -
Flags: review?(tglek) → review+
| Assignee | ||
Comment 2•14 years ago
|
||
Whiteboard: [inbound]
Comment 3•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in
before you can comment on or make changes to this bug.
Description
•