summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/gtk_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/gtk_util.cc b/chrome/common/gtk_util.cc
index a442918..68a1fd0 100644
--- a/chrome/common/gtk_util.cc
+++ b/chrome/common/gtk_util.cc
@@ -371,7 +371,7 @@ int MirroredLeftPointForRect(GtkWidget* widget, const gfx::Rect& bounds) {
}
int MirroredXCoordinate(GtkWidget* widget, int x) {
- if (l10n_util::GetTextDirection() != l10n_util::RIGHT_TO_LEFT) {
+ if (l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT) {
return widget->allocation.width - x;
}
return x;