GM::height() now returns the height, not the width.
Fortunately, the only current caller has a width and height that
match, so this should not change any existing GMs.
Review URL: https://codereview.chromium.org/14234022
git-svn-id: http://skia.googlecode.com/svn/trunk@8669 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/gm.h b/gm/gm.h
index b41fdc3..6e34d3d 100644
--- a/gm/gm.h
+++ b/gm/gm.h
@@ -58,7 +58,7 @@
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