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

Unified Diff: Source/web/CompositionUnderlineBuilder.h

Issue 313233002: Adding backgroundColor to WebCompositionUnderline and using it for InlineTextBox drawing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Extracting paintCompositionBackgrounds() from paint(). Created 6 years, 6 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
« no previous file with comments | « Source/core/rendering/RenderTheme.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/CompositionUnderlineBuilder.h
diff --git a/Source/web/CompositionUnderlineBuilder.h b/Source/web/CompositionUnderlineBuilder.h
index f957a424278a32465bfaeb8f806b78cc2333eb50..950986e7751677681a0863c2b55abc1c5f40cf28 100644
--- a/Source/web/CompositionUnderlineBuilder.h
+++ b/Source/web/CompositionUnderlineBuilder.h
@@ -45,7 +45,8 @@ class CompositionUnderlineBuilder : public WebCore::CompositionUnderline {
public:
CompositionUnderlineBuilder(const WebCompositionUnderline& u)
: WebCore::CompositionUnderline(u.startOffset, u.endOffset,
- WebCore::Color(u.color), u.thick) { }
+ WebCore::Color(u.color), u.thick,
+ WebCore::Color(u.backgroundColor)) { }
};
} // namespace blink
« no previous file with comments | « Source/core/rendering/RenderTheme.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698