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

Unified Diff: Source/WebCore/dom/DOMImplementation.h

Issue 8210003: Merge 96999 - Make isXMLMIMEType regex use TLS (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 months 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/dom/DOMImplementation.h
===================================================================
--- Source/WebCore/dom/DOMImplementation.h (revision 97019)
+++ Source/WebCore/dom/DOMImplementation.h (working copy)
@@ -37,6 +37,7 @@
class Frame;
class HTMLDocument;
class KURL;
+class RegularExpression;
typedef int ExceptionCode;
@@ -73,6 +74,18 @@
Document* m_document;
};
+class XMLMIMETypeRegExp {
+public:
+ XMLMIMETypeRegExp();
+ ~XMLMIMETypeRegExp();
+ bool isXMLMIMEType(const String& mimeType);
+
+ WTF_MAKE_NONCOPYABLE(XMLMIMETypeRegExp);
+private:
+ OwnPtr<RegularExpression> m_regex;
+};
+
+
} // namespace WebCore
#endif
« no previous file with comments | « LayoutTests/fast/workers/worker-multi-startup-expected.txt ('k') | Source/WebCore/dom/DOMImplementation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698