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

Unified Diff: gm/hairlines.cpp

Issue 1085453002: always layout w/ same bounds (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/hairlines.cpp
diff --git a/gm/hairlines.cpp b/gm/hairlines.cpp
index e7e47c1d4e2f409644af5ce86e1513b7d335f66a..605641562f1dcfe998b45a2c4cfd59cd41d054d3 100644
--- a/gm/hairlines.cpp
+++ b/gm/hairlines.cpp
@@ -168,7 +168,7 @@ protected:
enum {
kMargin = 5,
};
- int wrapX = canvas->getDeviceSize().fWidth - kMargin;
+ int wrapX = 1250 - kMargin;
SkScalar maxH = 0;
canvas->translate(SkIntToScalar(kMargin), SkIntToScalar(kMargin));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698