From d8d1de0c33c797d6f65e60c9552e8d13ed350438 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Fri, 3 Feb 2017 14:00:05 -0800 Subject: [PATCH] Bug 1336223 followup: Use forward-decl rather than #include to provide mozilla::StyleSheet, in PreloadedStyleSheet.h. (no review) MozReview-Commit-ID: B7CzULCByvr --- layout/style/PreloadedStyleSheet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/style/PreloadedStyleSheet.h b/layout/style/PreloadedStyleSheet.h index b10717f87197..4f33abfbf998 100644 --- a/layout/style/PreloadedStyleSheet.h +++ b/layout/style/PreloadedStyleSheet.h @@ -12,7 +12,6 @@ #include "mozilla/css/SheetParsingMode.h" #include "mozilla/Result.h" #include "mozilla/StyleBackendType.h" -#include "mozilla/StyleSheet.h" #include "nsCOMPtr.h" #include "nsCycleCollectionParticipant.h" #include "nsIPreloadedStyleSheet.h" @@ -20,6 +19,7 @@ class nsIURI; namespace mozilla { +class StyleSheet; class PreloadedStyleSheet : public nsIPreloadedStyleSheet {