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

Unified Diff: Source/modules/canvas2d/CanvasPattern.cpp

Issue 1290983003: SkImage-only bitmap patterns (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: drop non-repeat optimization Created 5 years, 4 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 | « no previous file | Source/platform/blink_platform.gypi » ('j') | Source/platform/graphics/ImagePattern.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/canvas2d/CanvasPattern.cpp
diff --git a/Source/modules/canvas2d/CanvasPattern.cpp b/Source/modules/canvas2d/CanvasPattern.cpp
index 68981976e763223c9684325d3bcb1fff225a02f1..840d115f46cb1c38ccafe9ca22bd61f1f654cb7f 100644
--- a/Source/modules/canvas2d/CanvasPattern.cpp
+++ b/Source/modules/canvas2d/CanvasPattern.cpp
@@ -52,7 +52,7 @@ Pattern::RepeatMode CanvasPattern::parseRepetitionType(const String& type,
}
CanvasPattern::CanvasPattern(PassRefPtr<Image> image, Pattern::RepeatMode repeat, bool originClean)
- : m_pattern(Pattern::createBitmapPattern(image, repeat))
+ : m_pattern(Pattern::createImagePattern(image, repeat))
, m_originClean(originClean)
{
}
« no previous file with comments | « no previous file | Source/platform/blink_platform.gypi » ('j') | Source/platform/graphics/ImagePattern.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698