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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h

Issue 2857483002: Make DocumentMarker::AllMarkers() automatically track list of types (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
index 25e398b382c4a499c4ed06df6caeaabc52f9a669..0171ea10ed9826b8fe17f250839600ae601049c1 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
@@ -122,8 +122,7 @@ class CORE_EXPORT DocumentMarker : public GarbageCollected<DocumentMarker> {
class AllMarkers : public MarkerTypes {
public:
- AllMarkers()
- : MarkerTypes(kSpelling | kGrammar | kTextMatch | kComposition) {}
+ AllMarkers() : MarkerTypes((1 << kMarkerTypeIndexesCount) - 1) {}
};
class MisspellingMarkers : public MarkerTypes {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698