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

Unified Diff: components/guest_view/renderer/guest_view_container.h

Issue 2695633008: Re-check existence of GuestViewContainer before requesting attach. (Closed)
Patch Set: Remove unnecessary check. Created 3 years, 10 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 | « no previous file | extensions/renderer/guest_view/guest_view_internal_custom_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/guest_view/renderer/guest_view_container.h
diff --git a/components/guest_view/renderer/guest_view_container.h b/components/guest_view/renderer/guest_view_container.h
index e8f53d82df4b1078eb67c7658ac126b786898025..7025d95908fafb89229689bc8b1fadae64034b72 100644
--- a/components/guest_view/renderer/guest_view_container.h
+++ b/components/guest_view/renderer/guest_view_container.h
@@ -66,6 +66,7 @@ class GuestViewContainer : public content::BrowserPluginDelegate {
// BrowserPluginGuestDelegate public implementation.
void SetElementInstanceID(int element_instance_id) final;
void DidResizeElement(const gfx::Size& new_size) override;
+ base::WeakPtr<BrowserPluginDelegate> GetWeakPtr() final;
protected:
~GuestViewContainer() override;
@@ -89,7 +90,6 @@ class GuestViewContainer : public content::BrowserPluginDelegate {
// BrowserPluginDelegate implementation.
void Ready() final;
void DidDestroyElement() final;
- base::WeakPtr<BrowserPluginDelegate> GetWeakPtr() final;
int element_instance_id_;
content::RenderFrame* render_frame_;
« no previous file with comments | « no previous file | extensions/renderer/guest_view/guest_view_internal_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698