diff options
author | Robert Phillips <robertphillips@google.com> | 2017-03-02 18:18:38 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-03 12:35:27 +0000 |
commit | 2f49314227053dd5acc011e04681faee05c5e0ff (patch) | |
tree | 2669e6d4567687bffea21da299834125124b831d /tests/TestUtils.cpp | |
parent | 3b4c22d3731813d2d0f2ae0e68180b6eeacea7a2 (diff) |
Make GrSurface::MakeDeferred return sk_sp<GrTextureProxy>
This should make upcoming changes less tedious
Change-Id: I313ae9df724f109a64cf5708a974e8bfeb963025
Reviewed-on: https://skia-review.googlesource.com/9183
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests/TestUtils.cpp')
-rw-r--r-- | tests/TestUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestUtils.cpp b/tests/TestUtils.cpp index b809a67a0a..0e6e7b0d07 100644 --- a/tests/TestUtils.cpp +++ b/tests/TestUtils.cpp @@ -106,7 +106,7 @@ void test_copy_to_surface(skiatest::Reporter* reporter, GrContext* context, for (auto flags : { kNone_GrSurfaceFlags, kRenderTarget_GrSurfaceFlag }) { copySrcDesc.fFlags = flags; - sk_sp<GrSurfaceProxy> src(GrSurfaceProxy::MakeDeferred(*context->caps(), + sk_sp<GrTextureProxy> src(GrSurfaceProxy::MakeDeferred(*context->caps(), context->textureProvider(), copySrcDesc, SkBudgeted::kYes, pixels.get(), 0)); |