Index: Source/WebCore/bindings/v8/ScriptSourceCode.h |
diff --git a/Source/WebCore/bindings/v8/ScriptSourceCode.h b/Source/WebCore/bindings/v8/ScriptSourceCode.h |
index 0c68a156190845be3303b49d41642529e2317c0a..e0cacf5f0313c2f222e3f30b02d2c6c3265e3632 100644 |
--- a/Source/WebCore/bindings/v8/ScriptSourceCode.h |
+++ b/Source/WebCore/bindings/v8/ScriptSourceCode.h |
@@ -72,11 +72,15 @@ public: |
int startLine() const { return m_startPosition.m_line.oneBasedInt(); } |
const TextPosition& startPosition() const { return m_startPosition; } |
+ void setMimeType(const String& mimeType) { m_mimeType = mimeType; } |
+ const String& mimeType() const { return m_mimeType; } |
+ |
private: |
String m_source; |
CachedResourceHandle<CachedScript> m_cachedScript; |
KURL m_url; |
TextPosition m_startPosition; |
+ String m_mimeType; |
}; |
} // namespace WebCore |