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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2895253003: Split general DocumentMarkerController::AddMarker() method into spelling/grammar versions (Closed)
Patch Set: Split off InputMethodControllerTest changes, make other requested changes Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index 0cc79443ce04832706b604e4c999995648191ddb..345dd40f3e922e441cd9f37e4a4ff018ef515bc6 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -6874,10 +6874,10 @@ TEST_P(ParameterizedWebFrameTest, SpellcheckResultErasesMarkers) {
EXPECT_FALSE(exception_state.HadException());
auto range = EphemeralRange::RangeOfContents(*element);
- document->Markers().AddMarker(range.StartPosition(), range.EndPosition(),
- DocumentMarker::kSpelling);
- document->Markers().AddMarker(range.StartPosition(), range.EndPosition(),
- DocumentMarker::kGrammar);
+ document->Markers().AddSpellingMarker(range.StartPosition(),
+ range.EndPosition());
+ document->Markers().AddGrammarMarker(range.StartPosition(),
+ range.EndPosition());
EXPECT_EQ(2U, document->Markers().Markers().size());
textcheck.KickNoResults();
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698