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

Unified Diff: Source/core/paint/NinePieceImagePainter.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/core/paint/MediaControlsPainter.cpp ('k') | Source/core/paint/SVGImagePainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/NinePieceImagePainter.cpp
diff --git a/Source/core/paint/NinePieceImagePainter.cpp b/Source/core/paint/NinePieceImagePainter.cpp
index 26f394f9c00775d65cad44c39f58a7599c2706f8..8001f474e9f9ae05c064b52c6df23057a192dad2 100644
--- a/Source/core/paint/NinePieceImagePainter.cpp
+++ b/Source/core/paint/NinePieceImagePainter.cpp
@@ -66,10 +66,10 @@ bool NinePieceImagePainter::paint(GraphicsContext* graphicsContext, const Layout
if (drawInfo.isDrawable) {
if (drawInfo.isCornerPiece) {
- graphicsContext->drawImage(image.get(), drawInfo.destination, drawInfo.source, op);
+ graphicsContext->drawImage(image.get(), drawInfo.destination, drawInfo.source, KURL(), op); // TODO(davve): empty url
} else {
graphicsContext->drawTiledImage(image.get(), enclosingIntRect(drawInfo.destination),
- enclosingIntRect(drawInfo.source), drawInfo.tileScale, drawInfo.tileRule.horizontal,
+ enclosingIntRect(drawInfo.source), drawInfo.tileScale, KURL(), drawInfo.tileRule.horizontal, // TODO(davve): empty url
drawInfo.tileRule.vertical, op);
}
}
« no previous file with comments | « Source/core/paint/MediaControlsPainter.cpp ('k') | Source/core/paint/SVGImagePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698