aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/RecordReplaceDrawTest.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-11-09 13:51:06 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-09 13:51:06 -0800
commit60029a5397f75aae4bdb994f26bd297edc3e433c (patch)
treeecfe56285b4e3810fb864bd3cb2c07d1855d9638 /tests/RecordReplaceDrawTest.cpp
parente5911c9c5b859d60208f4b9ac4bf2a638f4bc35f (diff)
Update Layer Hoisting to store its atlas texture in the resource cache
Diffstat (limited to 'tests/RecordReplaceDrawTest.cpp')
-rw-r--r--tests/RecordReplaceDrawTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp
index 225185ddd3..46f6af3c13 100644
--- a/tests/RecordReplaceDrawTest.cpp
+++ b/tests/RecordReplaceDrawTest.cpp
@@ -125,7 +125,7 @@ void test_replacements(skiatest::Reporter* r, GrContext* context, bool doReplace
desc.fSampleCnt = 0;
texture.reset(context->textureProvider()->createTexture(desc, false, nullptr, 0));
- layer->setTexture(texture, SkIRect::MakeWH(kWidth, kHeight));
+ layer->setTexture(texture, SkIRect::MakeWH(kWidth, kHeight), false);
}
SkRecord rerecord;