summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tabpose_window.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/tabpose_window.mm')
-rw-r--r--chrome/browser/cocoa/tabpose_window.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/tabpose_window.mm b/chrome/browser/cocoa/tabpose_window.mm
index 68c809c..011f10a 100644
--- a/chrome/browser/cocoa/tabpose_window.mm
+++ b/chrome/browser/cocoa/tabpose_window.mm
@@ -105,7 +105,7 @@ class ThumbnailLoader : public base::RefCountedThreadSafe<ThumbnailLoader> {
}
void DidReceiveBitmap(const SkBitmap& bitmap) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
ResetPaintingObserver();
[layer_ setThumbnail:bitmap];
}
@@ -127,7 +127,7 @@ class ThumbnailLoader : public base::RefCountedThreadSafe<ThumbnailLoader> {
};
void ThumbnailLoader::LoadThumbnail() {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
ThumbnailGenerator* generator = g_browser_process->GetThumbnailGenerator();
if (!generator) // In unit tests.
return;