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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 313053007: Passing BackgroundColorSpan and UnderlineSpan from Clank to Blink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 6 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: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 6bec9f27ccacfd082660b5bf1708b6b7df56c727..32b666fbadbe0a9d0f21905c620cbbaa15254492 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -1357,7 +1357,8 @@ void RenderWidgetHostViewAura::SetCompositionText(
underlines.push_back(blink::WebCompositionUnderline(it->start_offset,
it->end_offset,
it->color,
- it->thick));
+ it->thick,
+ it->background_color));
}
// TODO(suzhe): due to a bug of webkit, we can't use selection range with

Powered by Google App Engine
This is Rietveld 408576698