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

Unified Diff: content/renderer/pepper/ppb_broker_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/ppapi_unittest.cc ('k') | content/renderer/pepper/ppb_buffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_broker_impl.cc
===================================================================
--- content/renderer/pepper/ppb_broker_impl.cc (revision 214295)
+++ content/renderer/pepper/ppb_broker_impl.cc (working copy)
@@ -11,6 +11,7 @@
#include "content/renderer/pepper/pepper_plugin_instance_impl.h"
#include "content/renderer/pepper/plugin_module.h"
#include "content/renderer/pepper/resource_helper.h"
+#include "ppapi/c/pp_errors.h"
#include "ppapi/shared_impl/platform_file.h"
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebElement.h"
@@ -65,8 +66,7 @@
// ConnectToBroker fails.
connect_callback_ = connect_callback;
- broker_ = static_cast<PepperPluginDelegateImpl*>(
- plugin_instance->delegate())->ConnectToBroker(this);
+ broker_ = plugin_instance->delegate()->ConnectToBroker(this);
if (!broker_) {
connect_callback_->Abort();
return PP_ERROR_FAILED;
« no previous file with comments | « content/renderer/pepper/ppapi_unittest.cc ('k') | content/renderer/pepper/ppb_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698