| Index: content/browser/browser_plugin/browser_plugin_embedder.h
|
| diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h
|
| index e153a4df79af4261254b35a25c6d26489f907092..bce57a3094070b725604377d074e3584f2124bef 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder.h
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder.h
|
| @@ -45,7 +45,7 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
|
| static BrowserPluginEmbedder* Create(WebContentsImpl* web_contents);
|
|
|
| // Returns this embedder's WebContentsImpl.
|
| - WebContentsImpl* GetWebContents();
|
| + WebContentsImpl* GetWebContents() const;
|
|
|
| // Called when embedder's |rwh| has sent screen rects to renderer.
|
| void DidSendScreenRects();
|
| @@ -86,9 +86,9 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
|
| private:
|
| friend class TestBrowserPluginEmbedder;
|
|
|
| - BrowserPluginEmbedder(WebContentsImpl* web_contents);
|
| + explicit BrowserPluginEmbedder(WebContentsImpl* web_contents);
|
|
|
| - BrowserPluginGuestManager* GetBrowserPluginGuestManager();
|
| + BrowserPluginGuestManager* GetBrowserPluginGuestManager() const;
|
|
|
| bool DidSendScreenRectsCallback(BrowserPluginGuest* guest);
|
|
|
| @@ -121,6 +121,8 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
|
| // status messages to the correct guest.
|
| base::WeakPtr<BrowserPluginGuest> guest_started_drag_;
|
|
|
| + base::WeakPtrFactory<BrowserPluginEmbedder> weak_ptr_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedder);
|
| };
|
|
|
|
|