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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm

Issue 15769018: [Autofill] Determine Popup RTLness from page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Responding to comments Created 7 years, 6 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: chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
index 351cefed0bed7d9e1ae09ffeb540fe77b6dd6573..f4deaa01bd973e8deac160c7394050ee53677d3b 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
@@ -4,7 +4,6 @@
#import "chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.h"
-#include "base/i18n/rtl.h"
#include "base/logging.h"
#include "base/strings/sys_string_conversions.h"
#include "chrome/browser/ui/autofill/autofill_popup_controller.h"
@@ -196,7 +195,7 @@ NSColor* SubtextColor() {
[NSBezierPath fillRect:bounds];
}
- BOOL isRTL = base::i18n::IsRTL();
+ BOOL isRTL = controller_->is_rtl();
NSDictionary* nameAttributes =
[NSDictionary dictionaryWithObjectsAndKeys:

Powered by Google App Engine
This is Rietveld 408576698