Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Unified Diff: ui/views/accessibility/ax_view_obj_wrapper.cc

Issue 2154213007: Replace gfx::Rect with gfx::RectF in ui::AXNodeData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win compile Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/accessibility/ax_view_obj_wrapper.cc
diff --git a/ui/views/accessibility/ax_view_obj_wrapper.cc b/ui/views/accessibility/ax_view_obj_wrapper.cc
index 3ea1e04efb2fe687a8ff4e72c6a43c4b1923c966..b043dedc504ca3b67798e2e9ce119f601cefa7ce 100644
--- a/ui/views/accessibility/ax_view_obj_wrapper.cc
+++ b/ui/views/accessibility/ax_view_obj_wrapper.cc
@@ -58,7 +58,7 @@ void AXViewObjWrapper::Serialize(ui::AXNodeData* out_node_data) {
if (!view_->visible())
out_node_data->state |= 1 << ui::AX_STATE_INVISIBLE;
- out_node_data->location = view_->GetBoundsInScreen();
+ out_node_data->location = gfx::RectF(view_->GetBoundsInScreen());
out_node_data->AddStringAttribute(
ui::AX_ATTR_NAME, base::UTF16ToUTF8(view_data.name));
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_win_unittest.cc ('k') | ui/views/accessibility/ax_widget_obj_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698