summaryrefslogtreecommitdiff
path: root/chromium/content
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2016-12-21 11:38:23 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-05-03 16:01:06 +0200
commita2974666e4cb414fb78cda1b6176d78500fa21ec (patch)
treefe0e2bf70157814000a229b3dcccf46ee2a41133 /chromium/content
parent9497215074c3221b14f6b0a2692e20c77cf340b2 (diff)
downloadqtwebengine-chromium-a2974666e4cb414fb78cda1b6176d78500fa21ec.tar.gz
Fix macOS build when plugins are disabled
A method was not defined but still used when building with plugins disabled. Checking original chromium history, the ifdef block seems like an oversight and is safe to remove. The method contents does not depend on any plugin code. Change-Id: I1aff3abc352faf545fb82d5ea0139a911c0722be Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/content')
-rw-r--r--chromium/content/renderer/render_view_impl.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chromium/content/renderer/render_view_impl.cc b/chromium/content/renderer/render_view_impl.cc
index 224e002409c..1869ab4f557 100644
--- a/chromium/content/renderer/render_view_impl.cc
+++ b/chromium/content/renderer/render_view_impl.cc
@@ -1155,8 +1155,6 @@ blink::WebView* RenderViewImpl::webview() const {
return webview_;
}
-#if BUILDFLAG(ENABLE_PLUGINS)
-
#if defined(OS_MACOSX)
void RenderViewImpl::OnGetRenderedText() {
if (!webview())
@@ -1182,8 +1180,6 @@ void RenderViewImpl::OnGetRenderedText() {
}
#endif // defined(OS_MACOSX)
-#endif // ENABLE_PLUGINS
-
void RenderViewImpl::TransferActiveWheelFlingAnimation(
const blink::WebActiveWheelFlingParameters& params) {
if (webview())