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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp

Issue 2536883002: Rename Image::drawTiled methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 1 month 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 | third_party/WebKit/Source/platform/graphics/Image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
index 70068e10658e84b629e2dd8566a6fac6be8811b0..cb5f3ad5020d4a547ea1cd836f428f1c97085d80 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
@@ -897,7 +897,8 @@ void GraphicsContext::drawTiledImage(Image* image,
const FloatSize& repeatSpacing) {
if (contextDisabled() || !image)
return;
- image->drawTiled(*this, destRect, srcPoint, tileSize, op, repeatSpacing);
+ image->drawTiledBackground(*this, destRect, srcPoint, tileSize, op,
+ repeatSpacing);
m_paintController.setImagePainted();
}
@@ -917,7 +918,8 @@ void GraphicsContext::drawTiledImage(Image* image,
return;
}
- image->drawTiled(*this, dest, srcRect, tileScaleFactor, hRule, vRule, op);
+ image->drawTiledBorder(*this, dest, srcRect, tileScaleFactor, hRule, vRule,
+ op);
m_paintController.setImagePainted();
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/Image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698