Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: Source/WebCore/bindings/v8/ScriptSourceCode.h

Issue 8806015: Changes to support a second VM. (Closed) Base URL: svn://svn.chromium.org/dash/experimental/chrome/src/webkit-full
Patch Set: . Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698