Chromium Code Reviews| Index: chrome/browser/chrome_browser_main_win.cc |
| diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc |
| index 3a996d66a8f5d9c7d8b9e074a54edd37fef51573..cbebabc041eb27566e82f7f0f87d7c7e633c18e7 100644 |
| --- a/chrome/browser/chrome_browser_main_win.cc |
| +++ b/chrome/browser/chrome_browser_main_win.cc |
| @@ -312,6 +312,16 @@ void ChromeBrowserMainPartsWin::ShowMissingLocaleMessageBox() { |
| void ChromeBrowserMainPartsWin::PostProfileInit() { |
| ChromeBrowserMainParts::PostProfileInit(); |
| + |
| + // TODO(kulshin): delete this function and associated code in 2017. |
|
gab
2016/04/15 14:59:34
s/delete this function and associated code in..../
|
| + // see http://crbug.com/603718 |
| + // Attempt to delete the font cache and ignore any errors. |
| + base::FilePath path( |
| + profile()->GetPath().AppendASCII("ChromeDWriteFontCache")); |
| + content::BrowserThread::PostAfterStartupTask( |
| + FROM_HERE, content::BrowserThread::GetMessageLoopProxyForThread( |
| + content::BrowserThread::FILE), |
| + base::Bind(base::IgnoreResult(&base::DeleteFile), path, false)); |
| } |
| void ChromeBrowserMainPartsWin::PostBrowserStart() { |