aboutsummaryrefslogtreecommitdiff
path: root/src/ui/render/FlexLayoutRenderObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/render/FlexLayoutRenderObject.cpp')
-rw-r--r--src/ui/render/FlexLayoutRenderObject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/render/FlexLayoutRenderObject.cpp b/src/ui/render/FlexLayoutRenderObject.cpp
index 8e6b41fe..ade230b5 100644
--- a/src/ui/render/FlexLayoutRenderObject.cpp
+++ b/src/ui/render/FlexLayoutRenderObject.cpp
@@ -88,7 +88,7 @@ Size FlexLayoutMeasureContentImpl(
const MeasureRequirement& requirement, const MeasureSize& preferred_size,
const std::vector<RenderObject*>& children,
const std::vector<FlexChildLayoutData>& layout_data,
- std::string_view log_tag) {
+ std::u16string_view log_tag) {
Expects(children.size() == layout_data.size());
direction_tag_t direction_tag;
@@ -111,8 +111,8 @@ Size FlexLayoutMeasureContentImpl(
StackLayoutCalculateChildMaxLength(
preferred_cross_length, max_cross_length,
GetCross(child->GetMinSize(), direction_tag), log_tag,
- "(Measure) Child's min cross size is bigger than parent's max "
- "cross size."));
+ u"(Measure) Child's min cross size is bigger than parent's max "
+ u"cross size."));
}
// step 1.
@@ -315,7 +315,7 @@ Size FlexLayoutMeasureContentImpl(
total_length > max_main_length.GetLengthOrUndefined()) {
log::TagWarn(
log_tag,
- "(Measure) Children's main axis length exceeds required max length.");
+ u"(Measure) Children's main axis length exceeds required max length.");
total_length = max_main_length.GetLengthOrUndefined();
} else if (min_main_length.IsSpecified() &&
total_length < min_main_length.GetLengthOrUndefined()) {