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

Unified Diff: Source/platform/graphics/StaticBitmapImage.cpp

Issue 1334703002: NOT FOR LANDING Pass URL to Image::draw (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 | « Source/platform/graphics/StaticBitmapImage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/StaticBitmapImage.cpp
diff --git a/Source/platform/graphics/StaticBitmapImage.cpp b/Source/platform/graphics/StaticBitmapImage.cpp
index 92ee5e3ddf82bfbc50b6edf41a4e3527d2ccb7b8..0b4c98236fe9972971519212a8b7bab733ad6002 100644
--- a/Source/platform/graphics/StaticBitmapImage.cpp
+++ b/Source/platform/graphics/StaticBitmapImage.cpp
@@ -39,7 +39,7 @@ bool StaticBitmapImage::currentFrameKnownToBeOpaque()
}
void StaticBitmapImage::draw(SkCanvas* canvas, const SkPaint& paint, const FloatRect& dstRect,
- const FloatRect& srcRect, RespectImageOrientationEnum, ImageClampingMode clampMode)
+ const FloatRect& srcRect, RespectImageOrientationEnum, ImageClampingMode clampMode, const KURL&)
{
ASSERT(dstRect.width() >= 0 && dstRect.height() >= 0);
ASSERT(srcRect.width() >= 0 && srcRect.height() >= 0);
« no previous file with comments | « Source/platform/graphics/StaticBitmapImage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698