| Index: third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| index dd9e57e9fe261a56dc41a8e0ea49eab7eefec896..f4ce1d60810bdd3d4aefb3b395c56e9c18629d5e 100644
|
| --- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| @@ -38,6 +38,7 @@
|
| #include "core/dom/Document.h"
|
| #include "core/editing/Editor.h"
|
| #include "core/editing/markers/DocumentMarkerController.h"
|
| +#include "core/editing/markers/SpellCheckMarker.h"
|
| #include "core/editing/spellcheck/SpellChecker.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/Settings.h"
|
| @@ -119,7 +120,7 @@ static String selectMisspellingAsync(LocalFrame* selectedFrame,
|
| EphemeralRange(selectionRange), DocumentMarker::MisspellingMarkers());
|
| if (markers.size() != 1)
|
| return String();
|
| - description = markers[0]->description();
|
| + description = toSpellCheckMarker(markers[0])->description();
|
|
|
| // Cloning a range fails only for invalid ranges.
|
| Range* markerRange = selectionRange->cloneRange();
|
|
|