зеркало из https://github.com/mozilla/pjs.git
Fix regression from bug 113173 checkin. b=221186 Patch from Brian Ryner <bryner@brianryner.com>. r+sr=bzbarsky
This commit is contained in:
Родитель
76a655d873
Коммит
ea45cbb522
|
@ -4663,7 +4663,7 @@ nsElementSH::PostCreate(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
|
|||
|
||||
nsCOMPtr<nsIURI> bindingURL;
|
||||
pctx->GetXBLBindingURL(content, getter_AddRefs(bindingURL));
|
||||
if (!binding) {
|
||||
if (!bindingURL) {
|
||||
// No binding, nothing left to do here.
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче