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

Unified Diff: content/renderer/pepper/ppb_file_ref_impl.cc

Issue 21219002: Remove PluginDelegate completely. In a followup I'll rename PepperPluginDelegateImpl to something c… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « content/renderer/pepper/ppb_buffer_impl.cc ('k') | content/renderer/pepper/ppb_image_data_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_file_ref_impl.cc
===================================================================
--- content/renderer/pepper/ppb_file_ref_impl.cc (revision 214295)
+++ content/renderer/pepper/ppb_file_ref_impl.cc (working copy)
@@ -11,8 +11,8 @@
#include "content/child/fileapi/file_system_dispatcher.h"
#include "content/renderer/pepper/common.h"
#include "content/renderer/pepper/pepper_file_system_host.h"
+#include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
#include "content/renderer/pepper/pepper_plugin_instance_impl.h"
-#include "content/renderer/pepper/plugin_delegate.h"
#include "content/renderer/pepper/plugin_module.h"
#include "content/renderer/pepper/renderer_ppapi_host_impl.h"
#include "content/renderer/pepper/resource_helper.h"
@@ -465,7 +465,7 @@
// TODO(teravest): Use the SequencedWorkerPool instead.
scoped_refptr<base::TaskRunner> task_runner =
- plugin_instance->delegate()->GetFileThreadMessageLoopProxy();
+ RenderThreadImpl::current()->GetFileThreadMessageLoopProxy();
if (!plugin_instance->delegate()->AsyncOpenFile(
GetSystemPath(),
base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ,
« no previous file with comments | « content/renderer/pepper/ppb_buffer_impl.cc ('k') | content/renderer/pepper/ppb_image_data_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698