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

Unified Diff: gm/gm.h

Issue 14234022: GM::height() now returns the height, not the width. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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/gm.h
diff --git a/gm/gm.h b/gm/gm.h
index b41fdc33f3b21527d39f611e709ad7b9b5c907f0..6e34d3dedeccc86d30bd844e62ce47ef4d1bf29f 100644
--- a/gm/gm.h
+++ b/gm/gm.h
@@ -58,7 +58,7 @@ namespace skiagm {
return SkIntToScalar(this->getISize().width());
}
SkScalar height() {
- return SkIntToScalar(this->getISize().width());
+ return SkIntToScalar(this->getISize().height());
}
// TODO(vandebo) Instead of exposing this, we should run all the GMs
« 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