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

Unified Diff: third_party/WebKit/Source/core/editing/markers/StyleableMarker.cpp

Issue 2923033002: [ActiveSuggestionMarker #2] Add ActiveSuggestionMarker (Closed)
Patch Set: Update comment on ActiveSuggestionMarker.h Created 3 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: 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;
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698