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

Unified Diff: content/child/webmessageportchannel_impl.cc

Issue 897563002: Unify the three places that patch font loading for PDFium on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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/child/webmessageportchannel_impl.cc
diff --git a/content/child/webmessageportchannel_impl.cc b/content/child/webmessageportchannel_impl.cc
index c3de36fbeae7897e826edb5e4ac24f3b7a3d3705..725e5956288946d470953bbd991a0bc7bf03fbe1 100644
--- a/content/child/webmessageportchannel_impl.cc
+++ b/content/child/webmessageportchannel_impl.cc
@@ -7,7 +7,7 @@
#include "base/bind.h"
#include "base/message_loop/message_loop_proxy.h"
#include "content/child/child_process.h"
-#include "content/child/child_thread.h"
+#include "content/child/child_thread_impl.h"
#include "content/common/message_port_messages.h"
#include "third_party/WebKit/public/platform/WebMessagePortChannelClient.h"
#include "third_party/WebKit/public/platform/WebString.h"
@@ -56,7 +56,7 @@ WebMessagePortChannelImpl::~WebMessagePortChannelImpl() {
Send(new MessagePortHostMsg_DestroyMessagePort(message_port_id_));
if (route_id_ != MSG_ROUTING_NONE)
- ChildThread::current()->GetRouter()->RemoveRoute(route_id_);
+ ChildThreadImpl::current()->GetRouter()->RemoveRoute(route_id_);
}
// static
@@ -169,7 +169,7 @@ void WebMessagePortChannelImpl::Init() {
Send(new MessagePortHostMsg_ReleaseMessages(message_port_id_));
}
- ChildThread::current()->GetRouter()->AddRoute(route_id_, this);
+ ChildThreadImpl::current()->GetRouter()->AddRoute(route_id_, this);
}
void WebMessagePortChannelImpl::Entangle(
@@ -216,7 +216,7 @@ void WebMessagePortChannelImpl::Send(IPC::Message* message) {
return;
}
- ChildThread::current()->GetRouter()->Send(message);
+ ChildThreadImpl::current()->GetRouter()->Send(message);
}
bool WebMessagePortChannelImpl::OnMessageReceived(const IPC::Message& message) {

Powered by Google App Engine
This is Rietveld 408576698