| 168 | // userfree scoped string |
| 169 | |
| 170 | CefScopedStr::CefScopedStr(cef_string_userfree_t uf) : CefStrBase(), str_(uf) |
| 171 | { |
| 172 | if (uf != nullptr) |
| 173 | { |
| 174 | cef_string_t::str = uf->str; |
| 175 | cef_string_t::length = uf->length; |
| 176 | } |
| 177 | else |
| 178 | { |
| 179 | cef_string_t::str = (char16 *)u""; |
| 180 | cef_string_t::length = 0; |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | CefScopedStr::~CefScopedStr() |
| 185 | { |
nothing calls this directly
no outgoing calls
no test coverage detected