summaryrefslogtreecommitdiffstats
path: root/chrome/views/view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/view.cc')
-rw-r--r--chrome/views/view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/views/view.cc b/chrome/views/view.cc
index 4df9cc2..9f107be 100644
--- a/chrome/views/view.cc
+++ b/chrome/views/view.cc
@@ -282,6 +282,7 @@ bool View::UILayoutIsRightToLeft() const {
////////////////////////////////////////////////////////////////////////////////
inline int View::MirroredX() const {
+ // TODO(beng): reimplement in terms of MirroredLeftPointForRect.
View* parent = GetParent();
if (parent && parent->UILayoutIsRightToLeft()) {
return parent->width() - bounds_.left - width();