Bug 1061060 - Fix more bad implicit constructors in parser; r=hsivonen

This commit is contained in:
Ehsan Akhgari
2014-09-01 18:04:52 -04:00
parent 7cea6a9bcc
commit 500b9e8204
12 changed files with 20 additions and 20 deletions

View File

@@ -46,7 +46,7 @@ class nsHtml5ExecutorReflusher : public nsRunnable
private:
nsRefPtr<nsHtml5TreeOpExecutor> mExecutor;
public:
nsHtml5ExecutorReflusher(nsHtml5TreeOpExecutor* aExecutor)
explicit nsHtml5ExecutorReflusher(nsHtml5TreeOpExecutor* aExecutor)
: mExecutor(aExecutor)
{}
NS_IMETHODIMP Run()
@@ -305,7 +305,7 @@ class nsHtml5FlushLoopGuard
uint32_t mStartTime;
#endif
public:
nsHtml5FlushLoopGuard(nsHtml5TreeOpExecutor* aExecutor)
explicit nsHtml5FlushLoopGuard(nsHtml5TreeOpExecutor* aExecutor)
: mExecutor(aExecutor)
#ifdef DEBUG_NS_HTML5_TREE_OP_EXECUTOR_FLUSH
, mStartTime(PR_IntervalToMilliseconds(PR_IntervalNow()))