Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: content/browser/in_process_webkit/webkit_context_unittest.cc

Issue 8879013: Deprecate WEBKIT thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update after rebase Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/in_process_webkit/webkit_context_unittest.cc
diff --git a/content/browser/in_process_webkit/webkit_context_unittest.cc b/content/browser/in_process_webkit/webkit_context_unittest.cc
index af5a439062e7fe3435ebd261e5cbf1d45938627e..f564919157311267a9a6ff4021949b54a59919ad 100644
--- a/content/browser/in_process_webkit/webkit_context_unittest.cc
+++ b/content/browser/in_process_webkit/webkit_context_unittest.cc
@@ -21,7 +21,7 @@ class MockDOMStorageContext : public DOMStorageContext {
virtual void PurgeMemory() {
EXPECT_FALSE(BrowserThread::CurrentlyOn(BrowserThread::UI));
- EXPECT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT));
+ EXPECT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
++purge_count_;
}
@@ -50,7 +50,8 @@ TEST(WebKitContextTest, PurgeMemory) {
// Start up a WebKit thread for the WebKitContext to call the
// DOMStorageContext on.
MessageLoop message_loop(MessageLoop::TYPE_DEFAULT);
- BrowserThreadImpl webkit_thread(BrowserThread::WEBKIT, &message_loop);
+ BrowserThreadImpl webkit_thread(BrowserThread::WEBKIT_DEPRECATED,
+ &message_loop);
{
// Create the contexts.
« no previous file with comments | « content/browser/in_process_webkit/webkit_context.cc ('k') | content/browser/in_process_webkit/webkit_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698