Index: Source/core/loader/FrameLoader.cpp |
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp |
index 2e845aeba183e9e57ab8a8bb9feb95a179da7334..7db45b18448c35e01f8e5667b61f461fa41b7285 100644 |
--- a/Source/core/loader/FrameLoader.cpp |
+++ b/Source/core/loader/FrameLoader.cpp |
@@ -394,7 +394,7 @@ void FrameLoader::didBeginDocument(bool dispatch) |
headerContentLanguage.truncate(commaIndex); // kNotFound == -1 == don't truncate |
headerContentLanguage = headerContentLanguage.stripWhiteSpace(isHTMLSpace<UChar>); |
if (!headerContentLanguage.isEmpty()) |
- m_frame->document()->setContentLanguage(headerContentLanguage); |
+ m_frame->document()->setContentLanguage(AtomicString(headerContentLanguage)); |
} |
} |