Index: third_party/WebKit/Source/wtf/text/StringStatics.cpp |
diff --git a/third_party/WebKit/Source/wtf/text/StringStatics.cpp b/third_party/WebKit/Source/wtf/text/StringStatics.cpp |
index 03a7ad1d3a2b04866a73a08d4b932c92c43746a8..7d4890676d0f1fd77e58038399d9da0aa3d4434a 100644 |
--- a/third_party/WebKit/Source/wtf/text/StringStatics.cpp |
+++ b/third_party/WebKit/Source/wtf/text/StringStatics.cpp |
@@ -54,6 +54,8 @@ WTF_EXPORT DEFINE_GLOBAL(AtomicString, starAtom); |
WTF_EXPORT DEFINE_GLOBAL(AtomicString, xmlAtom); |
WTF_EXPORT DEFINE_GLOBAL(AtomicString, xmlnsAtom); |
WTF_EXPORT DEFINE_GLOBAL(AtomicString, xlinkAtom); |
+WTF_EXPORT DEFINE_GLOBAL(AtomicString, httpAtom); |
+WTF_EXPORT DEFINE_GLOBAL(AtomicString, httpsAtom); |
// This is not an AtomicString because it is unlikely to be used as an |
// event/element/attribute name, so it shouldn't pollute the AtomicString hash |
@@ -93,6 +95,8 @@ void StringStatics::init() { |
new (NotNull, (void*)&xmlnsAtom) AtomicString(addStaticASCIILiteral("xmlns")); |
new (NotNull, (void*)&xlinkAtom) AtomicString(addStaticASCIILiteral("xlink")); |
new (NotNull, (void*)&xmlnsWithColon) String("xmlns:"); |
+ new (NotNull, (void*)&httpAtom) AtomicString(addStaticASCIILiteral("http")); |
+ new (NotNull, (void*)&httpsAtom) AtomicString(addStaticASCIILiteral("https")); |
} |
} // namespace WTF |