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

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

Issue 20777009: A few more cleanups to the pepper code. Dispatch IPCs in the sockets implementations directly by ha… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix browsertest Created 7 years, 4 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/pepper_helper_impl.cc ('k') | content/renderer/pepper/ppb_broker_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_audio_impl.cc
===================================================================
--- content/renderer/pepper/ppb_audio_impl.cc (revision 215615)
+++ content/renderer/pepper/ppb_audio_impl.cc (working copy)
@@ -8,7 +8,6 @@
#include "content/renderer/pepper/common.h"
#include "content/renderer/pepper/pepper_platform_audio_output.h"
#include "content/renderer/pepper/pepper_plugin_instance_impl.h"
-#include "content/renderer/pepper/resource_helper.h"
#include "content/renderer/render_view_impl.h"
#include "media/audio/audio_output_controller.h"
#include "ppapi/c/pp_completion_callback.h"
@@ -74,7 +73,7 @@
return false;
SetCallback(callback, user_data);
- PepperPluginInstanceImpl* instance = ResourceHelper::GetPluginInstance(this);
+ PepperPluginInstance* instance = PepperPluginInstance::Get(pp_instance());
if (!instance)
return false;
@@ -124,7 +123,7 @@
return PP_ERROR_FAILED;
config_ = config;
- PepperPluginInstanceImpl* instance = ResourceHelper::GetPluginInstance(this);
+ PepperPluginInstance* instance = PepperPluginInstance::Get(pp_instance());
if (!instance)
return PP_ERROR_FAILED;
« no previous file with comments | « content/renderer/pepper/pepper_helper_impl.cc ('k') | content/renderer/pepper/ppb_broker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698