Index: ui/gfx/render_text_harfbuzz.h |
diff --git a/ui/gfx/render_text_harfbuzz.h b/ui/gfx/render_text_harfbuzz.h |
index 7c304c06c9867fc07e6679fd32879251f7788bf0..b028a37a3ab0bf0147d1e4b85f382b5327f5a58a 100644 |
--- a/ui/gfx/render_text_harfbuzz.h |
+++ b/ui/gfx/render_text_harfbuzz.h |
@@ -107,6 +107,7 @@ class GFX_EXPORT RenderTextHarfBuzz : public RenderText { |
FRIEND_TEST_ALL_PREFIXES(RenderTextTest, HarfBuzz_BreakRunsByUnicodeBlocks); |
FRIEND_TEST_ALL_PREFIXES(RenderTextTest, HarfBuzz_SubglyphGraphemeCases); |
FRIEND_TEST_ALL_PREFIXES(RenderTextTest, HarfBuzz_SubglyphGraphemePartition); |
+ FRIEND_TEST_ALL_PREFIXES(RenderTextTest, HarfBuzz_NonExistentFont); |
// Return the run index that contains the argument; or the length of the |
// |runs_| vector if argument exceeds the text length or width. |
@@ -126,7 +127,7 @@ class GFX_EXPORT RenderTextHarfBuzz : public RenderText { |
// Shape the glyphs needed for the text |run|. |
void ShapeRun(internal::TextRunHarfBuzz* run); |
- void ShapeRunWithFont(internal::TextRunHarfBuzz* run, |
+ bool ShapeRunWithFont(internal::TextRunHarfBuzz* run, |
const std::string& font); |
// Text runs in logical order. |