Index: extensions/browser/extension_function.cc |
diff --git a/extensions/browser/extension_function.cc b/extensions/browser/extension_function.cc |
index 255f2c63abaf35e497bae1096df7a8b1ba038b95..1408071f21cd9f36e6330a2d04ac4a74ac1a2c11 100644 |
--- a/extensions/browser/extension_function.cc |
+++ b/extensions/browser/extension_function.cc |
@@ -518,11 +518,6 @@ void UIThreadExtensionFunction::Destruct() const { |
BrowserThread::DeleteOnUIThread::Destruct(this); |
} |
-content::RenderViewHost* |
-UIThreadExtensionFunction::render_view_host_do_not_use() const { |
- return render_frame_host_ ? render_frame_host_->GetRenderViewHost() : nullptr; |
-} |
- |
void UIThreadExtensionFunction::SetRenderFrameHost( |
content::RenderFrameHost* render_frame_host) { |
// An extension function from Service Worker does not have a RenderFrameHost. |