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

Unified Diff: ppapi/proxy/host_dispatcher.cc

Issue 6981001: Make the Pepper proxy support in-process font rendering. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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: ppapi/proxy/host_dispatcher.cc
===================================================================
--- ppapi/proxy/host_dispatcher.cc (revision 84549)
+++ ppapi/proxy/host_dispatcher.cc (working copy)
@@ -90,10 +90,13 @@
}
bool HostDispatcher::InitHostWithChannel(
- ProxyChannel::Delegate* delegate,
+ Delegate* delegate,
const IPC::ChannelHandle& channel_handle,
bool is_client) {
- return Dispatcher::InitWithChannel(delegate, channel_handle, is_client);
+ if (!Dispatcher::InitWithChannel(delegate, channel_handle, is_client))
+ return false;
+ SetDelegate(delegate);
+ return true;
}
// static

Powered by Google App Engine
This is Rietveld 408576698