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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPainter.h

Issue 2640143005: Support subpixel layout for borders. (Closed)
Patch Set: Rebaselined tests. 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/ObjectPainter.h
diff --git a/third_party/WebKit/Source/core/paint/ObjectPainter.h b/third_party/WebKit/Source/core/paint/ObjectPainter.h
index 04af85ce3aa5e88722ac0733e2eab89e54b1ca38..1eff8a676b6c736d1d03beb195ce589d63363b2d 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPainter.h
+++ b/third_party/WebKit/Source/core/paint/ObjectPainter.h
@@ -31,10 +31,10 @@ class ObjectPainter {
void addPDFURLRectIfNeeded(const PaintInfo&, const LayoutPoint& paintOffset);
static void drawLineForBoxSide(GraphicsContext&,
- int x1,
- int y1,
- int x2,
- int y2,
+ float x1,
+ float y1,
+ float x2,
+ float y2,
BoxSide,
Color,
EBorderStyle,
@@ -94,7 +94,7 @@ class ObjectPainter {
int length,
BoxSide,
Color,
- int thickness,
+ float thickness,
int adjacentWidth1,
int adjacentWidth2,
bool antialias);
« no previous file with comments | « third_party/WebKit/Source/core/paint/NinePieceImageGrid.cpp ('k') | third_party/WebKit/Source/core/paint/ObjectPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698