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

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

Issue 2922233002: [ActiveSuggestionMarker #1] Introduce abstract StyleableMarker subclass of DocumentMarker (Closed)
Patch Set: Add test for IsStyleableMarker() 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/DocumentMarkerControllerTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
index ad8c4855be346da830014a33f5e011cb3b9a30e3..2fbeab1e1f7fe8d41abe1e1ef55e106ae19ec98e 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
@@ -220,10 +220,10 @@ TEST_F(DocumentMarkerControllerTest, CompositionMarkersNotMerged) {
GetDocument().UpdateStyleAndLayout();
MarkerController().AddCompositionMarker(
EphemeralRange(Position(text, 0), Position(text, 1)), Color::kBlack,
- CompositionMarker::Thickness::kThin, Color::kBlack);
+ StyleableMarker::Thickness::kThin, Color::kBlack);
MarkerController().AddCompositionMarker(
EphemeralRange(Position(text, 1), Position(text, 3)), Color::kBlack,
- CompositionMarker::Thickness::kThick, Color::kBlack);
+ StyleableMarker::Thickness::kThick, Color::kBlack);
EXPECT_EQ(2u, MarkerController().Markers().size());
}

Powered by Google App Engine
This is Rietveld 408576698