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

Unified Diff: content/renderer/pepper/ppb_image_data_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
Index: content/renderer/pepper/ppb_image_data_impl.cc
===================================================================
--- content/renderer/pepper/ppb_image_data_impl.cc (revision 214295)
+++ content/renderer/pepper/ppb_image_data_impl.cc (working copy)
@@ -13,11 +13,12 @@
#include "content/renderer/pepper/common.h"
#include "content/renderer/pepper/resource_helper.h"
#include "content/renderer/render_thread_impl.h"
-#include "skia/ext/platform_canvas.h"
+#include "ppapi/c/pp_errors.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/ppb_image_data.h"
#include "ppapi/thunk/thunk.h"
+#include "skia/ext/platform_canvas.h"
#include "third_party/skia/include/core/SkColorPriv.h"
#include "ui/surface/transport_dib.h"
@@ -254,7 +255,8 @@
bool init_to_zero) {
skia_bitmap_.setConfig(SkBitmap::kARGB_8888_Config,
impl->width(), impl->height());
- PluginDelegate* plugin_delegate = ResourceHelper::GetPluginDelegate(impl);
+ PepperPluginDelegateImpl* plugin_delegate =
+ ResourceHelper::GetPluginDelegate(impl);
if (!plugin_delegate)
return false;
shared_memory_.reset(RenderThread::Get()->HostAllocateSharedMemoryBuffer(
« no previous file with comments | « content/renderer/pepper/ppb_image_data_impl.h ('k') | content/renderer/pepper/ppb_network_monitor_private_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698