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 9328735443e33cc927825e6f59d358f3038b0fa8..1bda24f72f22bd3cf840c1abcd1eba5b2f303b8a 100644 |
--- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
@@ -39,6 +39,7 @@ |
#include "core/dom/ElementTraversal.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/exported/WebDataSourceImpl.h" |
#include "core/exported/WebPluginContainerBase.h" |
@@ -144,7 +145,7 @@ static String SelectMisspellingAsync(LocalFrame* selected_frame, |
if (marker_it == markers_in_node.end()) |
return String(); |
- const DocumentMarker* const found_marker = *marker_it; |
+ const SpellCheckMarker* const found_marker = ToSpellCheckMarker(*marker_it); |
description = found_marker->Description(); |
Range* const marker_range = |