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

Unified Diff: chrome/browser/android/vr_shell/textures/render_text_wrapper.cc

Issue 2969623004: RenderText: Allow strike-through line thickness to be customized. (Closed)
Patch Set: Reincorporate URL bar unittest improvements. Created 3 years, 5 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/android/vr_shell/textures/render_text_wrapper.cc
diff --git a/chrome/browser/android/vr_shell/textures/render_text_wrapper.cc b/chrome/browser/android/vr_shell/textures/render_text_wrapper.cc
index 487c67b2b0fb7abf68ae1443f23c957e6a2f455d..d09c494455caa10820c5f6f009bc331a96ce40c0 100644
--- a/chrome/browser/android/vr_shell/textures/render_text_wrapper.cc
+++ b/chrome/browser/android/vr_shell/textures/render_text_wrapper.cc
@@ -29,4 +29,8 @@ void RenderTextWrapper::ApplyStyle(gfx::TextStyle style,
render_text_->ApplyStyle(style, value, range);
}
+void RenderTextWrapper::set_strike_thickness_factor(SkScalar f) {
msw 2017/07/05 19:55:00 Ah, as this is defined out-of-line with a 'non-tri
cjgrant 2017/07/05 20:44:43 Done. Heh, back to how it was. ;)
msw 2017/07/05 20:51:55 Yeah, thanks for addressing my erratic comments, a
+ render_text_->set_strike_thickness_factor(f);
+}
+
} // namespace vr_shell

Powered by Google App Engine
This is Rietveld 408576698