mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 656183: remove duplicate call to SetCanvasElement. r=joe
This commit is contained in:
parent
d3aa297de2
commit
f41c05a7d6
@ -473,12 +473,6 @@ nsHTMLCanvasElement::GetContext(const nsAString& aContextId,
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
rv = mCurrentContext->SetCanvasElement(this);
|
||||
if (NS_FAILED(rv)) {
|
||||
mCurrentContext = nsnull;
|
||||
return rv;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIPropertyBag> contextProps;
|
||||
if (!JSVAL_IS_NULL(aContextOptions) &&
|
||||
!JSVAL_IS_VOID(aContextOptions))
|
||||
|
Loading…
Reference in New Issue
Block a user