summaryrefslogtreecommitdiffstats
path: root/chrome/browser/in_process_webkit/webkit_context_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/in_process_webkit/webkit_context_unittest.cc')
-rw-r--r--chrome/browser/in_process_webkit/webkit_context_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/in_process_webkit/webkit_context_unittest.cc b/chrome/browser/in_process_webkit/webkit_context_unittest.cc
index 9158495..a920726 100644
--- a/chrome/browser/in_process_webkit/webkit_context_unittest.cc
+++ b/chrome/browser/in_process_webkit/webkit_context_unittest.cc
@@ -16,8 +16,8 @@ class MockDOMStorageContext : public DOMStorageContext {
}
virtual void PurgeMemory() {
- EXPECT_FALSE(ChromeThread::CurrentlyOn(ChromeThread::UI));
- EXPECT_TRUE(ChromeThread::CurrentlyOn(ChromeThread::WEBKIT));
+ EXPECT_FALSE(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ EXPECT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT));
++purge_count_;
}
@@ -42,7 +42,7 @@ TEST(WebKitContextTest, Basic) {
TEST(WebKitContextTest, PurgeMemory) {
// Start up a WebKit thread for the WebKitContext to call the
// DOMStorageContext on.
- ChromeThread webkit_thread(ChromeThread::WEBKIT);
+ BrowserThread webkit_thread(BrowserThread::WEBKIT);
webkit_thread.Start();
// Create the contexts.