fix HeadlessView::readPixels return value, ref #480

This commit is contained in:
Mike Morris
2014-10-08 16:04:13 -04:00
parent a1bc8c766d
commit dfb81fe9ce
3 changed files with 5 additions and 5 deletions

View File

@@ -98,7 +98,7 @@ TEST_P(HeadlessTest, render) {
const unsigned int w = width * pixelRatio;
const unsigned int h = height * pixelRatio;
const std::string image = util::compress_png(w, h, view.readPixels()->get(), true);
const std::string image = util::compress_png(w, h, view.readPixels().get(), true);
util::write_file(actual_image, image);
}
}