Index: third_party/WebKit/Source/core/frame/FrameSerializer.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp |
index a088867d25ec5f076231a1ec0f830b589785b9ee..6427f7e04fab9595002ef102e06221ba685c23a4 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp |
@@ -329,7 +329,7 @@ void FrameSerializer::serializeCSSStyleSheet(CSSStyleSheet& styleSheet, const KU |
WTF::TextEncoding textEncoding(styleSheet.contents()->charset()); |
ASSERT(textEncoding.isValid()); |
String textString = cssText.toString(); |
- CString text = textEncoding.encode(textString, WTF::EntitiesForUnencodables); |
+ CString text = textEncoding.encode(textString, WTF::CSSEncodedEntitiesForUnencodables); |
m_resources->append(SerializedResource(url, String("text/css"), SharedBuffer::create(text.data(), text.length()))); |
m_resourceURLs.add(url); |
} |