aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-12-12 16:41:46 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-12 16:41:46 -0800
commitfbaace082745a0e301186b2d3b84af62e2fb87ec (patch)
tree27982934bbf0defcc05ee93bdae535cd2863b8ff /src/gpu
parentf6139f7c3867a70a750620cd34ce10338a54086e (diff)
DM warning-free on win64
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/GrLayerHoister.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp
index 493e2f752a..c63fb5476c 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,