Index: content/browser/renderer_host/legacy_render_widget_host_win.cc |
diff --git a/content/browser/renderer_host/legacy_render_widget_host_win.cc b/content/browser/renderer_host/legacy_render_widget_host_win.cc |
index 7d9c181aa5479be1caa85c6a9b206e7a213a8a3d..c0eff5ba12b24ac40145358d78bcdc7302eb539e 100644 |
--- a/content/browser/renderer_host/legacy_render_widget_host_win.cc |
+++ b/content/browser/renderer_host/legacy_render_widget_host_win.cc |
@@ -4,6 +4,8 @@ |
#include "content/browser/renderer_host/legacy_render_widget_host_win.h" |
+#include <objbase.h> |
+ |
#include <memory> |
#include "base/command_line.h" |
@@ -114,9 +116,8 @@ bool LegacyRenderWidgetHostHWND::Init() { |
if (base::win::GetVersion() >= base::win::VERSION_WIN7) |
RegisterTouchWindow(hwnd(), TWF_WANTPALM); |
- HRESULT hr = ::CreateStdAccessibleObject( |
- hwnd(), OBJID_WINDOW, IID_IAccessible, |
- reinterpret_cast<void **>(window_accessible_.Receive())); |
+ HRESULT hr = ::CreateStdAccessibleObject(hwnd(), OBJID_WINDOW, |
+ IID_PPV_ARGS(&window_accessible_)); |
DCHECK(SUCCEEDED(hr)); |
AccessibilityMode mode = |