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

Unified Diff: src/utils/SkCanvasStateUtils.cpp

Issue 130913018: Templetized SkWriter32 readTAt() & overwriteTAt() (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Win build fix Created 6 years, 10 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
Index: src/utils/SkCanvasStateUtils.cpp
diff --git a/src/utils/SkCanvasStateUtils.cpp b/src/utils/SkCanvasStateUtils.cpp
index eb92c37b1935e9d02cba6186fcdbdbe06f99dbb8..c40e2e18fab0e1d64fb49a3435e8b7c4b6ddc592 100644
--- a/src/utils/SkCanvasStateUtils.cpp
+++ b/src/utils/SkCanvasStateUtils.cpp
@@ -163,7 +163,7 @@ static void setup_MC_state(SkMCState* state, const SkMatrix& matrix, const SkReg
for (; !clip_iterator.done(); clip_iterator.next()) {
// this assumes the SkIRect is stored in l,t,r,b ordering which
// matches the ordering of our ClipRect struct
- clipWriter.writeIRect(clip_iterator.rect());
+ clipWriter.writeT<SkIRect>(clip_iterator.rect());
state->clipRectCount++;
}
}

Powered by Google App Engine
This is Rietveld 408576698