diff --git a/content/html/style/public/nsICSSStyleSheet.h b/content/html/style/public/nsICSSStyleSheet.h
index 8cebd2046db..7c4877b2f1d 100644
--- a/content/html/style/public/nsICSSStyleSheet.h
+++ b/content/html/style/public/nsICSSStyleSheet.h
@@ -53,6 +53,9 @@ public:
NS_IMETHOD SetOwningNode(nsIDOMNode* aOwningNode) = 0;
NS_IMETHOD Clone(nsICSSStyleSheet*& aClone) const = 0;
+
+ NS_IMETHOD IsUnmodified(void) const = 0; // NS_OK if not modified since construct/last reset, NS_COMFALSE otherwise
+ NS_IMETHOD SetModified(PRBool aModified) = 0;
};
// XXX for backwards compatibility and convenience
diff --git a/layout/html/style/public/nsICSSStyleSheet.h b/layout/html/style/public/nsICSSStyleSheet.h
index 8cebd2046db..7c4877b2f1d 100644
--- a/layout/html/style/public/nsICSSStyleSheet.h
+++ b/layout/html/style/public/nsICSSStyleSheet.h
@@ -53,6 +53,9 @@ public:
NS_IMETHOD SetOwningNode(nsIDOMNode* aOwningNode) = 0;
NS_IMETHOD Clone(nsICSSStyleSheet*& aClone) const = 0;
+
+ NS_IMETHOD IsUnmodified(void) const = 0; // NS_OK if not modified since construct/last reset, NS_COMFALSE otherwise
+ NS_IMETHOD SetModified(PRBool aModified) = 0;
};
// XXX for backwards compatibility and convenience
diff --git a/layout/style/nsICSSStyleSheet.h b/layout/style/nsICSSStyleSheet.h
index 8cebd2046db..7c4877b2f1d 100644
--- a/layout/style/nsICSSStyleSheet.h
+++ b/layout/style/nsICSSStyleSheet.h
@@ -53,6 +53,9 @@ public:
NS_IMETHOD SetOwningNode(nsIDOMNode* aOwningNode) = 0;
NS_IMETHOD Clone(nsICSSStyleSheet*& aClone) const = 0;
+
+ NS_IMETHOD IsUnmodified(void) const = 0; // NS_OK if not modified since construct/last reset, NS_COMFALSE otherwise
+ NS_IMETHOD SetModified(PRBool aModified) = 0;
};
// XXX for backwards compatibility and convenience