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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 133233012: BrowserPlugin: Cleanup ChildFrameCompositingHelper and fix lifetime issue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reupload Created 6 years, 11 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/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 008964e180d254a6b34bc91aea3616248bdf69fd..0c280e4fb39866d781051eb08afb9ebeaba92a6b 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -42,6 +42,9 @@ class CONTENT_EXPORT BrowserPlugin :
int render_view_routing_id() const { return render_view_routing_id_; }
int guest_instance_id() const { return guest_instance_id_; }
bool attached() const { return attached_; }
+ BrowserPluginManager* browser_plugin_manager() const {
+ return browser_plugin_manager_.get();
+ }
static BrowserPlugin* FromContainer(blink::WebPluginContainer* container);
@@ -234,9 +237,6 @@ class CONTENT_EXPORT BrowserPlugin :
int GetAdjustedMinHeight() const;
// Gets the Min Width value used for auto size.
int GetAdjustedMinWidth() const;
- BrowserPluginManager* browser_plugin_manager() const {
- return browser_plugin_manager_.get();
- }
// Virtual to allow for mocking in tests.
virtual float GetDeviceScaleFactor() const;
« no previous file with comments | « no previous file | content/renderer/browser_plugin/browser_plugin.cc » ('j') | content/renderer/child_frame_compositing_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698