From be4bcf67cc90697ea713356db83b23a586fe3f70 Mon Sep 17 00:00:00 2001 From: "amit@chromium.org" Date: Tue, 25 May 2010 19:39:24 +0000 Subject: Another try at correcting VTable pointer check BUG==25457 Review URL: http://codereview.chromium.org/2152004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48177 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_frame_activex_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome_frame') diff --git a/chrome_frame/chrome_frame_activex_base.h b/chrome_frame/chrome_frame_activex_base.h index 8277d22..d38e964 100644 --- a/chrome_frame/chrome_frame_activex_base.h +++ b/chrome_frame/chrome_frame_activex_base.h @@ -943,7 +943,7 @@ END_MSG_MAP() // circumstances this vtable is actually used though. if (S_OK == DoQueryService(SID_STopLevelBrowser, m_spInPlaceSite, bs2.Receive()) && bs2.get() && - *(reinterpret_cast(bs2.get()) + + *(*(reinterpret_cast(bs2.get())) + kMayTranslateAcceleratorOffset)) { hr = bs2->v_MayTranslateAccelerator(&accel_message); } else { -- cgit v1.1