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

Unified Diff: Source/core/dom/DocumentMarker.h

Issue 419563003: Adding a word to dictionary should remove spelling markers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed the removeSpellingMarkersUnderWords method from WebRemoteFrameImpl Created 6 years, 5 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
Index: Source/core/dom/DocumentMarker.h
diff --git a/Source/core/dom/DocumentMarker.h b/Source/core/dom/DocumentMarker.h
index d57dae2670cb5e0fe1c9de572ec81f3db7869110..80263a96da1b8537d6e6f400c439e3de29066417 100644
--- a/Source/core/dom/DocumentMarker.h
+++ b/Source/core/dom/DocumentMarker.h
@@ -140,6 +140,9 @@ private:
typedef WillBeHeapVector<RawPtrWillBeMember<DocumentMarker> > DocumentMarkerVector;
+typedef std::pair<RawPtrWillBeWeakMember<const Node>, RawPtrWillBeMember<DocumentMarker>> NodeMarkerPair;
+typedef WillBeHeapVector<NodeMarkerPair> DocumentMarkerAndNodeVector;
+
inline DocumentMarkerDetails* DocumentMarker::details() const
{
return m_details.get();
« no previous file with comments | « no previous file | Source/core/dom/DocumentMarkerController.h » ('j') | Source/core/dom/DocumentMarkerController.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698