Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index fad569ed89be83222e6449a5d95e2447878b3f01..4826be7a48181fe1b55157a1c1a9b9d04b0cb505 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -319,7 +319,7 @@ void BrowserMainLoop::RunMainMessageLoopParts( |
case BrowserThread::DB: |
thread_to_start = &db_thread_; |
break; |
- case BrowserThread::WEBKIT: |
+ case BrowserThread::WEBKIT_DEPRECATED: |
// Special case as WebKitThread is a separate |
// type. |thread_to_start| is not used in this case. |
break; |
@@ -366,7 +366,7 @@ void BrowserMainLoop::RunMainMessageLoopParts( |
if (parts_.get()) |
parts_->PreStartThread(id); |
- if (thread_id == BrowserThread::WEBKIT) { |
+ if (thread_id == BrowserThread::WEBKIT_DEPRECATED) { |
webkit_thread_.reset(new WebKitThread); |
webkit_thread_->Initialize(); |
} else if (thread_to_start) { |
@@ -448,7 +448,7 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() { |
case BrowserThread::DB: |
thread_to_stop = &db_thread_; |
break; |
- case BrowserThread::WEBKIT: |
+ case BrowserThread::WEBKIT_DEPRECATED: |
// Special case as WebKitThread is a separate |
// type. |thread_to_stop| is not used in this case. |
break; |
@@ -484,7 +484,7 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() { |
if (parts_.get()) |
parts_->PreStopThread(id); |
- if (id == BrowserThread::WEBKIT) { |
+ if (id == BrowserThread::WEBKIT_DEPRECATED) { |
webkit_thread_.reset(); |
} else if (thread_to_stop) { |
thread_to_stop->reset(); |