summaryrefslogtreecommitdiffstats
path: root/lib/web_contents_view_qt.h
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-08-08 13:56:38 +0200
committerZeno Albisser <zeno.albisser@digia.com>2013-08-12 12:04:53 +0200
commit80ead68ca80bca4f33e824064bff5af3b939a803 (patch)
tree200257aa555eced28a29d9d7a3e6078f8e3dbef3 /lib/web_contents_view_qt.h
parent08bfd6fb1595f4940316845348b5a262f55e7077 (diff)
Avoid keeping a RWHVDelegate pointer in WebContentsViewQt.
There can be multiple RWHVDelegates within one WebContentsViewQt during navigation. Avoid keeping a pointer by sending the focus call to the client directly, which fits the purpose better. Change-Id: I863c174e9a2567f3580f3cb525bc5353ab2a4417 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'lib/web_contents_view_qt.h')
-rw-r--r--lib/web_contents_view_qt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/web_contents_view_qt.h b/lib/web_contents_view_qt.h
index 3723a8786..0d686359b 100644
--- a/lib/web_contents_view_qt.h
+++ b/lib/web_contents_view_qt.h
@@ -114,7 +114,6 @@ public:
private:
WebContentsAdapterClient* m_client;
- RenderWidgetHostViewQtDelegate* m_viewDelegate;
};
#endif // WEB_CONTENTS_VIEW_QT_H