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

Unified Diff: third_party/WebKit/WebCore/platform/graphics/cairo/PatternCairo.cpp

Issue 10670: Do another merge using nifty new merge script (CL for that coming soon). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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
Index: third_party/WebKit/WebCore/platform/graphics/cairo/PatternCairo.cpp
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/cairo/PatternCairo.cpp (revision 5296)
+++ third_party/WebKit/WebCore/platform/graphics/cairo/PatternCairo.cpp (working copy)
@@ -40,7 +40,8 @@
return 0;
cairo_pattern_t* pattern = cairo_pattern_create_for_surface(surface);
- const cairo_matrix_t* pattern_matrix = reinterpret_cast<const cairo_matrix_t*>(&patternTransform.inverse());
+ const AffineTransform& inverse = patternTransform.inverse();
+ const cairo_matrix_t* pattern_matrix = reinterpret_cast<const cairo_matrix_t*>(&inverse);
cairo_pattern_set_matrix(pattern, pattern_matrix);
if (m_repeatX || m_repeatY)
cairo_pattern_set_extend(pattern, CAIRO_EXTEND_REPEAT);
« no previous file with comments | « third_party/WebKit/WebCore/platform/graphics/FloatQuad.cpp ('k') | third_party/WebKit/WebCore/rendering/RenderBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698