From 3e437af1bc845c3b0dd5a3da1947e7b28a030a0a Mon Sep 17 00:00:00 2001 From: Jared Wein Date: Fri, 23 Mar 2012 11:45:27 -0700 Subject: [PATCH] Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage --- content/base/src/nsObjectLoadingContent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/base/src/nsObjectLoadingContent.cpp b/content/base/src/nsObjectLoadingContent.cpp index 56c1079d1695..b277419be4a9 100644 --- a/content/base/src/nsObjectLoadingContent.cpp +++ b/content/base/src/nsObjectLoadingContent.cpp @@ -563,9 +563,8 @@ nsObjectLoadingContent::BindToTree(nsIDocument* aDocument, nsIContent* /*aParent nsIContent* /*aBindingParent*/, bool /*aCompileEventHandlers*/) { - if (aDocument) { + if (aDocument) return aDocument->AddPlugin(this); - } return NS_OK; }