summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authoramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 19:39:24 +0000
committeramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 19:39:24 +0000
commitbe4bcf67cc90697ea713356db83b23a586fe3f70 (patch)
tree79f59f1835fec6b20ad16883d6a6cf5d896299ac /chrome_frame
parent733b9d09e21c8b45b629dccb60a3ed0ae199d3f2 (diff)
downloadchromium_src-be4bcf67cc90697ea713356db83b23a586fe3f70.zip
chromium_src-be4bcf67cc90697ea713356db83b23a586fe3f70.tar.gz
chromium_src-be4bcf67cc90697ea713356db83b23a586fe3f70.tar.bz2
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
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/chrome_frame_activex_base.h2
1 files changed, 1 insertions, 1 deletions
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<long*>(bs2.get()) +
+ *(*(reinterpret_cast<void***>(bs2.get())) +
kMayTranslateAcceleratorOffset)) {
hr = bs2->v_MayTranslateAccelerator(&accel_message);
} else {