-
jpu@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=82946 Reviewed by Enrica Casucci. On OS X, we draw similar underline on dictated text that has alternative text. We rename this function, so that we can reuse it for dictation underline. No new tests, since there's no change of functionality. * platform/graphics/GraphicsContext.h: * platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::drawLineForDocumentMarker): * platform/graphics/mac/GraphicsContextMac.mm: (WebCore::GraphicsContext::drawLineForDocumentMarker): * platform/graphics/openvg/GraphicsContextOpenVG.cpp: (WebCore::GraphicsContext::drawLineForDocumentMarker): * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::drawLineForDocumentMarker): * platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::drawLineForDocumentMarker): * platform/graphics/win/GraphicsContextCGWin.cpp: (WebCore::GraphicsContext::drawLineForDocumentMarker): * platform/graphics/wince/GraphicsContextWinCE.cpp: (WebCore::GraphicsContext::drawLineForDocumentMarker): * platform/graphics/wx/GraphicsContextWx.cpp: (WebCore::GraphicsContext::drawLineForDocumentMarker): * rendering/InlineTextBox.cpp: (WebCore::lineStyleForMarkerType): (WebCore::InlineTextBox::paintSpellingOrGrammarMarker): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
02107526