Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage
authorJared Wein <jwein@mozilla.com>
Fri, 23 Mar 2012 11:45:27 -0700
changeset 93436 e04dcc41a324f24dec93d3122e435a76ab46d135
parent 93435 d41503780635a7f261fb4637b481daec1afe9732
child 93437 418c8f45151b495d47fc31482d284153cfecaf30
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs730318
milestone14.0a1
backs out29a7f9d3d4c4e7ef2fe780ca4e219dc0b4a1a0af
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage
content/base/src/nsObjectLoadingContent.cpp
--- a/content/base/src/nsObjectLoadingContent.cpp
+++ b/content/base/src/nsObjectLoadingContent.cpp
@@ -558,19 +558,18 @@ bool nsObjectLoadingContent::IsPluginEna
   return false;
 }
 
 nsresult
 nsObjectLoadingContent::BindToTree(nsIDocument* aDocument, nsIContent* /*aParent*/,
                                    nsIContent* /*aBindingParent*/,
                                    bool /*aCompileEventHandlers*/)
 {
-  if (aDocument) {
+  if (aDocument)
     return aDocument->AddPlugin(this);
-  }
   return NS_OK;
 }
 
 void
 nsObjectLoadingContent::UnbindFromTree(bool /*aDeep*/, bool /*aNullParent*/)
 {
   nsCOMPtr<nsIContent> thisContent = do_QueryInterface(static_cast<nsIObjectLoadingContent*>(this));
   MOZ_ASSERT(thisContent);