Index: ui/gfx/canvas.h |
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h |
index dd2e76467c69a58679f0fa2678d0148cd6750837..7653f39cec55d2796ad8bd48a9035af9c434a523 100644 |
--- a/ui/gfx/canvas.h |
+++ b/ui/gfx/canvas.h |
@@ -273,6 +273,14 @@ class UI_EXPORT Canvas { |
bool filter, |
const SkPaint& paint); |
+ // TODO(pkotwicz): make this function private once gfx::ImageSkia stops |
+ // calling this method. |
+ void DrawBitmapFloat(const SkBitmap& bitmap, |
+ float src_x, float src_y, float src_w, float src_h, |
+ float dest_x, float dest_y, float dest_w, float dest_h, |
+ bool filter, |
+ const SkPaint& paint); |
+ |
// Draws text with the specified color, font and location. The text is |
// aligned to the left, vertically centered, clipped to the region. If the |
// text is too big, it is truncated and '...' is added to the end. |