diff options
Diffstat (limited to 'extensions/browser/extension_function.cc')
-rw-r--r-- | extensions/browser/extension_function.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/browser/extension_function.cc b/extensions/browser/extension_function.cc index 64ce69e..de84548 100644 --- a/extensions/browser/extension_function.cc +++ b/extensions/browser/extension_function.cc @@ -431,7 +431,8 @@ void UIThreadExtensionFunction::Destruct() const { BrowserThread::DeleteOnUIThread::Destruct(this); } -content::RenderViewHost* UIThreadExtensionFunction::render_view_host() const { +content::RenderViewHost* +UIThreadExtensionFunction::render_view_host_do_not_use() const { return render_frame_host_ ? render_frame_host_->GetRenderViewHost() : nullptr; } |