build: remove //chrome/browser/icon_loader source copies (#14955)
* build: remove //chrome/browser/icon_loader source copies * chore: add DCHECK to ensure IconManager is accessed from UI thread
This commit is contained in:
parent
71058fd9a3
commit
2700eaca1e
17 changed files with 25 additions and 560 deletions
|
@ -1100,7 +1100,7 @@ void App::GetFileIcon(const base::FilePath& path, mate::Arguments* args) {
|
|||
return;
|
||||
}
|
||||
|
||||
auto* icon_manager = g_browser_process->GetIconManager();
|
||||
auto* icon_manager = AtomBrowserMainParts::Get()->GetIconManager();
|
||||
gfx::Image* icon =
|
||||
icon_manager->LookupIconFromFilepath(normalized_path, icon_size);
|
||||
if (icon) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue