fixup Iced04c6c79e62c6bfb19cb8aa03ff7e67ede936c crash issue on riscV
Change-Id: Ic6d033eab13e11b60f786e440da8127755369018
Signed-off-by: fr.fang <fr.fang@samsung.com>
// proceses.
{
NavigationEntry* entry = GetController().GetVisibleEntry();
- if (entry && entry->GetTitle().empty())
- return std::u16string();
+ if (entry && entry->GetTitle().empty()) {
+ page_title_when_no_navigation_entry_ = std::u16string();
+ return page_title_when_no_navigation_entry_;
+ }
}
#endif
// Data for current page -----------------------------------------------------
+ // When a title cannot be taken from any entry, this title will be used.
+ std::u16string page_title_when_no_navigation_entry_;
+
// The last published theme color.
absl::optional<SkColor> last_sent_theme_color_;