Index: content/browser/renderer_host/render_widget_host_view_mac.mm |
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm |
index 38fb4785fb3934000bd67efdf558b4e3c93e30d1..dce9a5eb1710d8043513812c5f27338d1d4be664 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm |
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm |
@@ -278,8 +278,12 @@ void ExtractUnderlines( |
color = WebColorFromNSColor( |
[colorAttr colorUsingColorSpaceName:NSDeviceRGBColorSpace]); |
} |
- underlines->push_back(blink::WebCompositionUnderline( |
- range.location, NSMaxRange(range), color, [style intValue] > 1)); |
+ underlines->push_back( |
+ blink::WebCompositionUnderline(range.location, |
+ NSMaxRange(range), |
+ color, |
+ [style intValue] > 1, |
+ SK_ColorTRANSPARENT)); |
} |
i = range.location + range.length; |
} |
@@ -3594,8 +3598,8 @@ extern NSString *NSTextInputReplacementRangeAttributeName; |
ExtractUnderlines(string, &underlines_); |
} else { |
// Use a thin black underline by default. |
- underlines_.push_back( |
- blink::WebCompositionUnderline(0, length, SK_ColorBLACK, false)); |
+ underlines_.push_back(blink::WebCompositionUnderline( |
+ 0, length, SK_ColorBLACK, false, SK_ColorTRANSPARENT)); |
} |
// If we are handling a key down event, then SetComposition() will be |