Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp |
| diff --git a/third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp b/third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp |
| index 3ed789a82a392b8d7558c9536873ce10fac2ddb1..b80743e5f5873a3d4a5ecb817113f5aaaae27753 100644 |
| --- a/third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp |
| +++ b/third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp |
| @@ -30,7 +30,8 @@ Color StyleableMarker::BackgroundColor() const { |
| bool IsStyleableMarker(const DocumentMarker& marker) { |
| DocumentMarker::MarkerType type = marker.GetType(); |
| - return type == DocumentMarker::kComposition; |
| + return type == DocumentMarker::kComposition || |
| + type == DocumentMarker::kActiveSuggestion; |
|
yosin_UTC9
2017/06/06 01:27:48
Could you add a test for IsStylableMaker() with Ac
|
| } |
| } // namespace blink |