Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index 493e2f752a53440d9e46cb145a55a1a85433c8bc..c63fb5476c5b0c7fb8dd77034b316d17e1696883 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -31,8 +31,8 @@ static void prepare_for_hoisting(GrLayerCache* layerCache, |
const SkPicture* pict = info.fPicture ? info.fPicture : topLevelPicture; |
GrCachedLayer* layer = layerCache->findLayerOrCreate(topLevelPicture->uniqueID(), |
- info.fSaveLayerOpID, |
- info.fRestoreOpID, |
+ SkToInt(info.fSaveLayerOpID), |
+ SkToInt(info.fRestoreOpID), |
layerRect, |
initialMat, |
info.fKey, |