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

Unified Diff: content/browser/in_process_webkit/indexed_db_quota_client_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/indexed_db_quota_client_unittest.cc
diff --git a/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc b/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
index f9b6742ce15742f7ec113627813ff04bb28598fd..98a7441b19d03a34bb4cf819ff460b6510aa7715 100644
--- a/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
+++ b/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
@@ -42,7 +42,7 @@ class IndexedDBQuotaClientTest : public testing::Test {
usage_(0),
weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)),
message_loop_(MessageLoop::TYPE_IO),
- webkit_thread_(BrowserThread::WEBKIT, &message_loop_),
+ webkit_thread_(BrowserThread::WEBKIT_DEPRECATED, &message_loop_),
io_thread_(BrowserThread::IO, &message_loop_) {
TestBrowserContext browser_context;
idb_context_ = browser_context.GetWebKitContext()->indexed_db_context();
@@ -57,9 +57,10 @@ class IndexedDBQuotaClientTest : public testing::Test {
}
~IndexedDBQuotaClientTest() {
- // IndexedDBContext needs to be destructed on BrowserThread::WEBKIT, which
- // is also a member variable of this class. Cause IndexedDBContext's
- // destruction now to ensure that it doesn't outlive BrowserThread::WEBKIT.
+ // IndexedDBContext needs to be destructed on
+ // BrowserThread::WEBKIT_DEPRECATED, which is also a member variable of this
+ // class. Cause IndexedDBContext's destruction now to ensure that it
+ // doesn't outlive BrowserThread::WEBKIT_DEPRECATED.
idb_context_ = NULL;
MessageLoop::current()->RunAllPending();
}

Powered by Google App Engine
This is Rietveld 408576698