mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 05:37:11 +00:00
dom/bindings: VC2010 can't call another constructor like this, copy that one to here instead.
This commit is contained in:
@@ -67,8 +67,13 @@ public:
|
||||
ErrorResult& operator=(ErrorResult&& aRHS);
|
||||
|
||||
explicit ErrorResult(nsresult aRv)
|
||||
: ErrorResult()
|
||||
{
|
||||
mResult = NS_OK;
|
||||
|
||||
#ifdef DEBUG
|
||||
mMightHaveUnreportedJSException = false;
|
||||
mHasMessage = false;
|
||||
#endif
|
||||
AssignErrorCode(aRv);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user