| 357 | } |
| 358 | |
| 359 | Bookmark const * BookmarkManager::GetBookmark(kml::MarkId markId) const |
| 360 | { |
| 361 | CHECK_THREAD_CHECKER(m_threadChecker, ()); |
| 362 | auto it = m_bookmarks.find(markId); |
| 363 | return (it != m_bookmarks.end()) ? it->second.get() : nullptr; |
| 364 | } |
| 365 | |
| 366 | Bookmark * BookmarkManager::GetBookmarkForEdit(kml::MarkId markId) |
| 367 | { |