Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj

This commit is contained in:
Ehsan Akhgari
2014-07-28 13:19:06 -04:00
parent d4de10d6c7
commit c60f82c778
29 changed files with 78 additions and 78 deletions

View File

@@ -235,7 +235,7 @@ TraceWeakMapping(js::WeakMapTracer* aTrc, JSObject* aMap,
// This is based on the logic in TraceWeakMapping.
struct FixWeakMappingGrayBitsTracer : public js::WeakMapTracer
{
FixWeakMappingGrayBitsTracer(JSRuntime* aRt)
explicit FixWeakMappingGrayBitsTracer(JSRuntime* aRt)
: js::WeakMapTracer(aRt, FixWeakMappingGrayBits)
{
}
@@ -295,7 +295,7 @@ private:
struct Closure
{
Closure(nsCycleCollectionNoteRootCallback* aCb)
explicit Closure(nsCycleCollectionNoteRootCallback* aCb)
: mCycleCollectionEnabled(true), mCb(aCb)
{
}