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

Unified Diff: webkit/tools/test_shell/test_shell.cc

Issue 99064: Fixed rebasline iamge.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « webkit/tools/layout_tests/layout_package/test_shell_thread.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell.cc
===================================================================
--- webkit/tools/test_shell/test_shell.cc (revision 14633)
+++ webkit/tools/test_shell/test_shell.cc (working copy)
@@ -277,7 +277,7 @@
// Only encode and dump the png if the hashes don't match. Encoding the image
// is really expensive.
- if (md5hash.compare(0, pixel_hash.length(), pixel_hash) != 0) {
+ if (md5hash.compare(pixel_hash) != 0) {
PNGEncoder::Encode(
reinterpret_cast<const unsigned char*>(src_bmp.getPixels()),
color_format, src_bmp.width(), src_bmp.height(),
« no previous file with comments | « webkit/tools/layout_tests/layout_package/test_shell_thread.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698