Index: chrome_frame/chrome_frame_automation.h |
diff --git a/chrome_frame/chrome_frame_automation.h b/chrome_frame/chrome_frame_automation.h |
index e903268486997f6e6e5c2f2cc18124e6045e1242..150a778341c1874619db1d647fd4472966e2826c 100644 |
--- a/chrome_frame/chrome_frame_automation.h |
+++ b/chrome_frame/chrome_frame_automation.h |
@@ -226,7 +226,8 @@ class AutomationProxyCacheEntry |
DWORD WaitForThread(DWORD timeout) { // NOLINT |
DCHECK(thread_.get()); |
- return ::WaitForSingleObject(thread_->thread_handle(), timeout); |
+ return ::WaitForSingleObject(thread_->thread_handle().platform_handle(), |
+ timeout); |
} |
bool IsSameProfile(const std::wstring& name) const { |