summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/StyleElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/StyleElement.h')
-rw-r--r--Source/WebCore/dom/StyleElement.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/dom/StyleElement.h b/Source/WebCore/dom/StyleElement.h
index 3c31abbf7..6dd48ecbb 100644
--- a/Source/WebCore/dom/StyleElement.h
+++ b/Source/WebCore/dom/StyleElement.h
@@ -22,6 +22,7 @@
#define StyleElement_h
#include "CSSStyleSheet.h"
+#include <wtf/text/TextPosition.h>
namespace WebCore {
@@ -52,13 +53,13 @@ protected:
RefPtr<CSSStyleSheet> m_sheet;
private:
- void createSheet(Element*, int startLineNumber, const String& text = String());
+ void createSheet(Element*, WTF::OrdinalNumber startLineNumber, const String& text = String());
void process(Element*);
void clearSheet();
bool m_createdByParser;
bool m_loading;
- int m_startLineNumber;
+ WTF::OrdinalNumber m_startLineNumber;
};
}