Bug 1064354 - Fix more bad implicit constructors in gfx; r=jrmuizel

This commit is contained in:
Ehsan Akhgari 2014-09-08 20:48:12 -04:00
parent bd73520e3c
commit d3f6eb924f
2 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ private:
NS_DECL_ISUPPORTS
NS_DECL_NSIOBSERVER
MemoryPressureObserver(ClientLayerManager* aClientLayerManager)
explicit MemoryPressureObserver(ClientLayerManager* aClientLayerManager)
: mClientLayerManager(aClientLayerManager)
{
RegisterMemoryPressureEvent();

View File

@ -176,7 +176,7 @@ gfxUserFontEntry::CreateFontInstance(const gfxFontStyle* aFontStyle, bool aNeeds
class gfxOTSContext : public ots::OTSContext {
public:
gfxOTSContext(gfxUserFontEntry* aUserFontEntry)
explicit gfxOTSContext(gfxUserFontEntry* aUserFontEntry)
: mUserFontEntry(aUserFontEntry) {}
virtual ots::TableAction GetTableAction(uint32_t aTag) MOZ_OVERRIDE {