summaryrefslogtreecommitdiff
path: root/core/fxcrt/css/cfx_csssyntaxparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/css/cfx_csssyntaxparser.cpp')
-rw-r--r--core/fxcrt/css/cfx_csssyntaxparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/css/cfx_csssyntaxparser.cpp b/core/fxcrt/css/cfx_csssyntaxparser.cpp
index c8082e87fb..066b82b5d6 100644
--- a/core/fxcrt/css/cfx_csssyntaxparser.cpp
+++ b/core/fxcrt/css/cfx_csssyntaxparser.cpp
@@ -223,6 +223,6 @@ bool CFX_CSSSyntaxParser::RestoreMode() {
return true;
}
-CFX_WideStringC CFX_CSSSyntaxParser::GetCurrentString() const {
- return CFX_WideStringC(m_TextData.GetBuffer(), m_iTextDataLen);
+WideStringView CFX_CSSSyntaxParser::GetCurrentString() const {
+ return WideStringView(m_TextData.GetBuffer(), m_iTextDataLen);
}