Chromium Code Reviews| Index: chrome/browser/accessibility/browser_accessibility_cocoa.mm |
| =================================================================== |
| --- chrome/browser/accessibility/browser_accessibility_cocoa.mm (revision 79131) |
| +++ chrome/browser/accessibility/browser_accessibility_cocoa.mm (working copy) |
| @@ -127,8 +127,8 @@ |
| // This is relative to webkit's top-left origin, not Cocoa's |
| // bottom-left origin. |
| - (NSPoint)origin { |
| - return NSMakePoint(browserAccessibility_->location().x, |
| - browserAccessibility_->location().y); |
| + return NSMakePoint(browserAccessibility_->location().x(), |
|
Tom Sepez
2011/03/23 17:32:53
Maybe change gfx::rect to make the underlying memb
jam
2011/03/23 18:21:02
We couldn't do that since that would go against th
|
| + browserAccessibility_->location().y()); |
| } |
| // Returns a string indicating the role of this object. |
| @@ -171,8 +171,8 @@ |
| // Returns the size of this object. |
| - (NSSize)size { |
| - return NSMakeSize(browserAccessibility_->location().width, |
| - browserAccessibility_->location().height); |
| + return NSMakeSize(browserAccessibility_->location().width(), |
| + browserAccessibility_->location().height()); |
| } |
| // Returns the accessibility value for the given attribute. If the value isn't |