pdfviewer: update drawBitmap, and fic a gyp issue: gyp does not run in a consistent way on various palt forms, and it generates some files in ../../../foo instead of ../foo - Solution: use the (inconvenient) Shared intermediary directory that should work on all platforms.
Review URL: https://codereview.chromium.org/20328002
git-svn-id: http://skia.googlecode.com/svn/trunk@10359 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/PdfViewer/SkTrackDevice.h b/experimental/PdfViewer/SkTrackDevice.h
index eb0e19d..9369f84 100644
--- a/experimental/PdfViewer/SkTrackDevice.h
+++ b/experimental/PdfViewer/SkTrackDevice.h
@@ -83,10 +83,9 @@
}
virtual void drawBitmap(const SkDraw& dummy1, const SkBitmap& bitmap,
- const SkIRect* srcRectOrNull,
const SkMatrix& matrix, const SkPaint& paint) {
before();
- INHERITED::drawBitmap(dummy1, bitmap, srcRectOrNull, matrix, paint);
+ INHERITED::drawBitmap(dummy1, bitmap, matrix, paint);
after();
}