| Index: Source/core/dom/DocumentMarker.h
|
| diff --git a/Source/core/dom/DocumentMarker.h b/Source/core/dom/DocumentMarker.h
|
| index f4410fbdc3f30c0942f2cbed661f7736221a7f9e..476d41b316412ad67c1544e6f90ffc4dcdda1a7a 100644
|
| --- a/Source/core/dom/DocumentMarker.h
|
| +++ b/Source/core/dom/DocumentMarker.h
|
| @@ -60,21 +60,8 @@ public:
|
| unsigned m_mask;
|
| };
|
|
|
| - class AllMarkers : public MarkerTypes {
|
| - public:
|
| - AllMarkers()
|
| - : MarkerTypes(Spelling | Grammar | TextMatch)
|
| - {
|
| - }
|
| - };
|
| -
|
| - class MisspellingMarkers : public MarkerTypes {
|
| - public:
|
| - MisspellingMarkers()
|
| - : MarkerTypes(Spelling | Grammar)
|
| - {
|
| - }
|
| - };
|
| + static MarkerTypes allMarkers() { return MarkerTypes(Spelling | Grammar | TextMatch); }
|
| + static MarkerTypes misspellingMarkers() { return MarkerTypes(Spelling | Grammar); }
|
|
|
| DocumentMarker();
|
| DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset);
|
|
|