| Index: third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
|
| index def3f14199fc6dd88a144fb3e4d3245fbfc2ac4e..1b508ece06b9b3dc02f37b4b2e07a948d429601b 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
|
| +++ b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
|
| @@ -43,6 +43,14 @@ class CORE_EXPORT SpellCheckMarkerListImpl : public DocumentMarkerList {
|
| DISALLOW_COPY_AND_ASSIGN(SpellCheckMarkerListImpl);
|
| };
|
|
|
| +DEFINE_TYPE_CASTS(SpellCheckMarkerListImpl,
|
| + DocumentMarkerList,
|
| + list,
|
| + list->MarkerType() == DocumentMarker::kSpelling ||
|
| + list->MarkerType() == DocumentMarker::kGrammar,
|
| + list.MarkerType() == DocumentMarker::kSpelling ||
|
| + list.MarkerType() == DocumentMarker::kGrammar);
|
| +
|
| } // namespace blink
|
|
|
| #endif // SpellCheckMarkerListImpl_h
|
|
|