diff options
Diffstat (limited to 'tools/skiaserve/Request.cpp')
-rw-r--r-- | tools/skiaserve/Request.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skiaserve/Request.cpp b/tools/skiaserve/Request.cpp index 6081c05c74..7808638c3b 100644 --- a/tools/skiaserve/Request.cpp +++ b/tools/skiaserve/Request.cpp @@ -136,7 +136,7 @@ SkIRect Request::getBounds() { bounds = fPicture->cullRect().roundOut(); if (fGPUEnabled) { #if SK_SUPPORT_GPU - int maxRTSize = this->getContext()->caps()->maxRenderTargetSize(); + int maxRTSize = this->getContext()->maxRenderTargetSize(); bounds = SkIRect::MakeWH(SkTMin(bounds.width(), maxRTSize), SkTMin(bounds.height(), maxRTSize)); #endif |