Index: Source/core/page/PageSerializer.h |
diff --git a/Source/core/page/PageSerializer.h b/Source/core/page/PageSerializer.h |
index 52f43c9e0012ade9e08280728680b357d248e09e..3ce28aa5f2a3862668812198a0b36dd519c99242 100644 |
--- a/Source/core/page/PageSerializer.h |
+++ b/Source/core/page/PageSerializer.h |
@@ -45,6 +45,7 @@ namespace blink { |
class Attribute; |
class FontResource; |
class ImageResource; |
+class CSSRule; |
class CSSStyleSheet; |
class CSSValue; |
class Document; |
@@ -86,6 +87,9 @@ private: |
// It also adds any resources included in that stylesheet (including any imported stylesheets and their own resources). |
void serializeCSSStyleSheet(CSSStyleSheet&, const KURL&); |
+ // Serializes the css rule (including any imported stylesheets), adding referenced resources. |
+ void serializeCSSRule(CSSRule*); |
+ |
bool shouldAddURL(const KURL&); |
void addToResources(Resource *, PassRefPtr<SharedBuffer>, const KURL&); |