fix typo
This commit is contained in:
parent
aae28b4fb5
commit
8206448240
@ -669,7 +669,7 @@ void WebPagesManager::on_get_web_page_instant_view_view_count(WebPageId web_page
|
|||||||
if (find_web_page_val == web_pages_.end()) { return; }
|
if (find_web_page_val == web_pages_.end()) { return; }
|
||||||
auto &web_page_val = find_web_page_val->second;
|
auto &web_page_val = find_web_page_val->second;
|
||||||
// End custom-patches
|
// End custom-patches
|
||||||
auto *instant_view = web_page_val->instant_view;
|
auto *instant_view = &web_page_val->instant_view;
|
||||||
if (instant_view->is_empty) { return; }
|
if (instant_view->is_empty) { return; }
|
||||||
if (instant_view->view_count >= view_count) {
|
if (instant_view->view_count >= view_count) {
|
||||||
return;
|
return;
|
||||||
@ -1715,7 +1715,7 @@ FileSourceId WebPagesManager::get_url_file_source_id(const string &url) {
|
|||||||
if (find_web_page_val != web_pages_.end()) {
|
if (find_web_page_val != web_pages_.end()) {
|
||||||
auto &web_page_val = find_web_page_val->second;
|
auto &web_page_val = find_web_page_val->second;
|
||||||
// End custom-patches
|
// End custom-patches
|
||||||
web_pages_[web_page_id]->file_source_id =
|
web_page_val->file_source_id =
|
||||||
td_->file_reference_manager_->create_web_page_file_source(web_page->url);
|
td_->file_reference_manager_->create_web_page_file_source(web_page->url);
|
||||||
// Start custom-patches
|
// Start custom-patches
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user