Bug 795085 - linux external api builds fail (nsString.h include in gfx/src/nsRegion.h). r=neil
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Thu, 11 Oct 2012 22:28:41 +0300
changeset 11299 2303738b90c3
parent 11298 c3ebb48413be
child 11300 686c09891d77
push id8455
push usermkmelin@iki.fi
push date2012-10-11 19:32 +0000
treeherdercomm-central@2303738b90c3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersneil
bugs795085
Bug 795085 - linux external api builds fail (nsString.h include in gfx/src/nsRegion.h). r=neil
mailnews/base/src/nsMsgPrintEngine.cpp
--- a/mailnews/base/src/nsMsgPrintEngine.cpp
+++ b/mailnews/base/src/nsMsgPrintEngine.cpp
@@ -1,53 +1,48 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-// nsMsgPrintEngine.cpp: provides a DocShell container for use 
-// in printing
+/**
+ * nsMsgPrintEngine.cpp provides a DocShell container for use in printing.
+ */
 
 #include "nscore.h"
 #include "nsCOMPtr.h"
 
 #include "nsIComponentManager.h"
 
 #include "nsISupports.h"
 
 #include "nsIURI.h"
-#include "nsIDocShell.h"
+
 #include "nsPIDOMWindow.h"
 #include "nsIContentViewer.h"
-#include "nsIPresShell.h"
-#include "nsIDocument.h"
 #include "nsIMsgMessageService.h"
 #include "nsMsgUtils.h"
 #include "nsIWebProgress.h"
 #include "nsIInterfaceRequestorUtils.h"
 #include "nsIMarkupDocumentViewer.h"
 #include "nsMsgPrintEngine.h"
-#include "nsMsgBaseCID.h"
 #include "nsIDocumentLoader.h"
-#include "nsIWidget.h"
-#include "nsIXULWindow.h"
 #include "nsIPrefService.h"
 #include "nsIPrefBranch.h"
 #include "nsThreadUtils.h"
 #include "nsAutoPtr.h"
 #include "mozilla/Services.h"
 
 // Interfaces Needed
 #include "nsIBaseWindow.h"
 #include "nsIDocShellTreeOwner.h"
 #include "nsIDocShellTreeItem.h"
 #include "nsIDocShellTreeNode.h"
 #include "nsIWebNavigation.h"
 #include "nsIChannel.h"
 #include "nsIContentViewerFile.h"
-#include "nsIPrintingPromptService.h"
 #include "nsServiceManagerUtils.h"
 
 static const char* kPrintingPromptService = "@mozilla.org/embedcomp/printingprompt-service;1";
 
 /////////////////////////////////////////////////////////////////////////
 // nsMsgPrintEngine implementation
 /////////////////////////////////////////////////////////////////////////