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

Unified Diff: ppapi/proxy/plugin_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/plugin_dispatcher.cc
===================================================================
--- ppapi/proxy/plugin_dispatcher.cc (revision 84549)
+++ ppapi/proxy/plugin_dispatcher.cc (working copy)
@@ -79,6 +79,7 @@
bool is_client) {
if (!Dispatcher::InitWithChannel(delegate, channel_handle, is_client))
return false;
+ SetDelegate(delegate);
// The message filter will intercept and process certain messages directly
// on the I/O thread.
@@ -201,6 +202,12 @@
return (it == instance_map_.end()) ? NULL : &it->second;
}
+void PluginDispatcher::PostToWebKitThread(
+ const tracked_objects::Location& from_here,
+ const base::Closure& task) {
+ return dispatcher_delegate_->PostToWebKitThread(from_here, task);
+}
+
::ppapi::shared_impl::FunctionGroupBase* PluginDispatcher::GetFunctionAPI(
pp::proxy::InterfaceID id) {
if (function_proxies_[id].get())

Powered by Google App Engine
This is Rietveld 408576698