Index: ui/views/accessibility/native_view_accessibility_win.cc |
diff --git a/ui/views/accessibility/native_view_accessibility_win.cc b/ui/views/accessibility/native_view_accessibility_win.cc |
index 241087d84f54fc19ac0b7e2891cd6715b90da306..b890de7a72ca6dbba963ad92fb73e505622b6b98 100644 |
--- a/ui/views/accessibility/native_view_accessibility_win.cc |
+++ b/ui/views/accessibility/native_view_accessibility_win.cc |
@@ -1166,7 +1166,8 @@ STDMETHODIMP NativeViewAccessibilityWin::GetPatternProvider( |
if (role == ROLE_SYSTEM_TEXT) { |
DVLOG(1) << "Returning UIA text provider"; |
- base::win::UIATextProvider::CreateTextProvider(true, provider); |
+ base::win::UIATextProvider::CreateTextProvider( |
+ state.value, true, provider); |
return S_OK; |
} |
} |