Fix build bustage
authorPeter Van der Beken <peterv@propagandism.org>
Fri, 08 Apr 2011 14:13:17 -0700
changeset 67690 c1ef3c3740cb313db324c51ba3aa47a77186b797
parent 67689 851fc65d2f5548fee0f6e673802a698bc5fdbc25
child 67691 987c2e86262f0405dca621a5e3fba61fd1c142b1
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.2a1pre
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
Fix build bustage
content/xslt/src/xslt/txMozillaXSLTProcessor.cpp
--- a/content/xslt/src/xslt/txMozillaXSLTProcessor.cpp
+++ b/content/xslt/src/xslt/txMozillaXSLTProcessor.cpp
@@ -149,16 +149,18 @@ txToDocHandlerFactory::createHandlerWith
                                                         mResultDocument);
             if (NS_SUCCEEDED(rv)) {
                 *aHandler = handler.forget();
             }
 
             return rv;
         }
     }
+
+    return NS_OK;
 }
 
 nsresult
 txToDocHandlerFactory::createHandlerWith(txOutputFormat* aFormat,
                                          const nsSubstring& aName,
                                          PRInt32 aNsID,
                                          txAXMLEventHandler** aHandler)
 {
@@ -195,16 +197,18 @@ txToDocHandlerFactory::createHandlerWith
                                                         mResultDocument);
             if (NS_SUCCEEDED(rv)) {
                 *aHandler = handler.forget();
             }
 
             return rv;
         }
     }
+
+    return NS_OK;
 }
 
 nsresult
 txToFragmentHandlerFactory::createHandlerWith(txOutputFormat* aFormat,
                                               txAXMLEventHandler** aHandler)
 {
     *aHandler = nsnull;
     switch (aFormat->mMethod) {