 Chromium Code Reviews
 Chromium Code Reviews Issue 
            2507363003:
    MacViews: Fix flaky label selection tests.  (Closed)
    
  
    Issue 
            2507363003:
    MacViews: Fix flaky label selection tests.  (Closed) 
  | DescriptionMacViews: Fix flaky label selection tests.
r431107 enabled text selection related tests on Mac by using RenderTextHarfBuzz
for these tests. It did this by appending the kEnableHarfBuzzRenderText switch
to the list of command line switches.
However RenderText::CreateInstance() assigns the result of evaluating the
presence of this switch to the static variable |use_native|. As a result, if
another test has already initialized the variable |use_native| to true,
appending the kEnableHarfBuzzRenderText switch has no effect. This causes the
Label selection tests to fail on Mac. To fix, make the |use_native| variable
non-static.
BUG=666162
Committed: https://crrev.com/50221c896a243c90466c5bed3ad83008198ea2b5
Cr-Commit-Position: refs/heads/master@{#433123}
   Patch Set 1 : -- #
 Messages
    Total messages: 15 (10 generated)
     | |||||||||||||||||||