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

Unified Diff: content/renderer/pepper/pepper_broker.h

Issue 22300003: Move broker creation out of PepperHelperImpl to PPB_Broker_Impl in the effort to eliminate PepperHe… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
Index: content/renderer/pepper/pepper_broker.h
===================================================================
--- content/renderer/pepper/pepper_broker.h (revision 215720)
+++ content/renderer/pepper/pepper_broker.h (working copy)
@@ -24,7 +24,6 @@
namespace content {
-class PepperHelperImpl;
class PluginModule;
// This object is NOT thread-safe.
@@ -46,7 +45,7 @@
class PepperBroker : public base::RefCountedThreadSafe<PepperBroker>{
public:
- PepperBroker(PluginModule* plugin_module, PepperHelperImpl* helper);
+ explicit PepperBroker(PluginModule* plugin_module);
// Decrements the references to the broker.
// When there are no more references, this renderer's dispatcher is
@@ -97,8 +96,6 @@
// Always set and cleared at the same time as the module's pointer to this.
PluginModule* plugin_module_;
- base::WeakPtr<PepperHelperImpl> helper_;
-
DISALLOW_COPY_AND_ASSIGN(PepperBroker);
};

Powered by Google App Engine
This is Rietveld 408576698