Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 2d788807cbf73cab3dab325e127db1e55237678e..cf1b7f2d609e852e1165af07cde018090da62bc5 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -662,7 +662,7 @@ class WebContents : public PageNavigator, |
virtual bool HasOpener() const = 0; |
// Returns the opener if HasOpener() is true, or nullptr otherwise. |
- virtual WebContents* GetOpener() const = 0; |
+ virtual RenderFrameHost* GetOpener() const = 0; |
// Returns true if this WebContents was opened by another WebContents, even |
// if the opener was suppressed. In contrast to HasOpener/GetOpener, the |
@@ -672,7 +672,7 @@ class WebContents : public PageNavigator, |
// Returns the original opener if HasOriginalOpener() is true, or nullptr |
// otherwise. |
- virtual WebContents* GetOriginalOpener() const = 0; |
+ virtual RenderFrameHost* GetOriginalOpener() const = 0; |
typedef base::Callback<void( |
int, /* id */ |