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 5c484d06037b3200e7475fa150c8dc3961025702..c7e08d0d9284b92e27b0647ed70539fc8a1bf58e 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); |
} |