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

Unified Diff: ui/gfx/render_text.cc

Issue 2507363003: MacViews: Fix flaky label selection tests. (Closed)
Patch Set: -- Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.cc
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc
index eb2e8cf59efff1be9368ff7276313af02dd2b3d3..e6e93a603c29f21dbbff3762133705f088165e4f 100644
--- a/ui/gfx/render_text.cc
+++ b/ui/gfx/render_text.cc
@@ -430,9 +430,8 @@ RenderText::~RenderText() {
// static
RenderText* RenderText::CreateInstance() {
#if defined(OS_MACOSX)
- static const bool use_native =
- !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableHarfBuzzRenderText);
+ const bool use_native = !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableHarfBuzzRenderText);
if (use_native)
return new RenderTextMac;
#endif // defined(OS_MACOSX)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698