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

Unified Diff: experimental/PdfViewer/chop_transparency_main.cpp

Issue 22076007: pdfviewer: fix typo (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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: experimental/PdfViewer/chop_transparency_main.cpp
===================================================================
--- experimental/PdfViewer/chop_transparency_main.cpp (revision 10538)
+++ experimental/PdfViewer/chop_transparency_main.cpp (working copy)
@@ -43,7 +43,7 @@
int width = 1;
int height = 1;
for (int y = 0 ; y < bm.height(); y++) {
- for (int x = 0 ; x < bm.height(); x++) {
+ for (int x = 0 ; x < bm.width(); x++) {
SkColor color = bm.getColor(x, y);
if (SkColorGetA(color) != 0) {
height = y + 1;
« 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