| Index: content/utility/utility_thread_impl.cc
|
| diff --git a/content/utility/utility_thread_impl.cc b/content/utility/utility_thread_impl.cc
|
| index 32f9814ee032ffa15256d7fc4a1eac94d56d2b9a..26af2b17a06ae523c4e7c01d755698731fc631c4 100644
|
| --- a/content/utility/utility_thread_impl.cc
|
| +++ b/content/utility/utility_thread_impl.cc
|
| @@ -40,7 +40,7 @@ UtilityThreadImpl::UtilityThreadImpl() : single_process_(false) {
|
| }
|
|
|
| UtilityThreadImpl::UtilityThreadImpl(const std::string& channel_name)
|
| - : ChildThread(Options(channel_name, false)),
|
| + : ChildThreadImpl(Options(channel_name, false)),
|
| single_process_(true) {
|
| Init();
|
| }
|
| @@ -49,16 +49,12 @@ UtilityThreadImpl::~UtilityThreadImpl() {
|
| }
|
|
|
| void UtilityThreadImpl::Shutdown() {
|
| - ChildThread::Shutdown();
|
| + ChildThreadImpl::Shutdown();
|
|
|
| if (!single_process_)
|
| blink::shutdown();
|
| }
|
|
|
| -bool UtilityThreadImpl::Send(IPC::Message* msg) {
|
| - return ChildThread::Send(msg);
|
| -}
|
| -
|
| void UtilityThreadImpl::ReleaseProcessIfNeeded() {
|
| if (batch_mode_)
|
| return;
|
| @@ -74,18 +70,6 @@ void UtilityThreadImpl::ReleaseProcessIfNeeded() {
|
| }
|
| }
|
|
|
| -#if defined(OS_WIN)
|
| -
|
| -void UtilityThreadImpl::PreCacheFont(const LOGFONT& log_font) {
|
| - Send(new ChildProcessHostMsg_PreCacheFont(log_font));
|
| -}
|
| -
|
| -void UtilityThreadImpl::ReleaseCachedFonts() {
|
| - Send(new ChildProcessHostMsg_ReleaseCachedFonts());
|
| -}
|
| -
|
| -#endif // OS_WIN
|
| -
|
| void UtilityThreadImpl::Init() {
|
| batch_mode_ = false;
|
| ChildProcess::current()->AddRefProcess();
|
|
|