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

Unified Diff: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp

Issue 2667363004: Fix the painting of document markers under zoom and variable DPI (Closed)
Patch Set: Rebased Created 3 years, 10 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: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
index 0f183ce21a86cce5e2fc5fb95d25d107d2060891..c8b484ff06e9f9771d4c9120c2135439fe38e36d 100644
--- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
@@ -964,7 +964,8 @@ void InlineTextBoxPainter::paintDocumentMarker(GraphicsContext& context,
context.drawLineForDocumentMarker(
FloatPoint((boxOrigin.x() + start).toFloat(),
(boxOrigin.y() + underlineOffset).toFloat()),
- width.toFloat(), lineStyleForMarkerType(marker.type()));
+ width.toFloat(), lineStyleForMarkerType(marker.type()),
+ style.effectiveZoom());
}
template <InlineTextBoxPainter::PaintOptions options>

Powered by Google App Engine
This is Rietveld 408576698