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

Unified Diff: Source/core/testing/Internals.cpp

Issue 23703016: [blink] Use functions for AllMarkers and MisspellingMarkers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index bb17304b2f7b4de295e7dbed32d4cae5060699f0..07001b9c17c3232e7d6e4e6d22ef1f9c44c5ad2b 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -156,7 +156,7 @@ bool InspectorFrontendChannelDummy::sendMessageToFrontend(const String& message)
static bool markerTypesFrom(const String& markerType, DocumentMarker::MarkerTypes& result)
{
if (markerType.isEmpty() || equalIgnoringCase(markerType, "all"))
- result = DocumentMarker::AllMarkers();
+ result = DocumentMarker::allMarkers();
else if (equalIgnoringCase(markerType, "Spelling"))
result = DocumentMarker::Spelling;
else if (equalIgnoringCase(markerType, "Grammar"))

Powered by Google App Engine
This is Rietveld 408576698