aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.cpp
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-04-06 10:00:09 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-06 16:54:45 +0000
commit9cc282370fd28cf9ebc1ea7ce1add1a56ff92c61 (patch)
tree2c017969e011f3e138a7eafdbb52a740d784df54 /src/gpu/SkGpuDevice.cpp
parent13872ddc56c4ab128569428b3ea8c722e7494df5 (diff)
Remove unneeded SK_SUPPORT_GPU checks in gpu only files.
Bug: skia: Change-Id: I8f25c883f7d741866ac850c8e0ba9f439830570f Reviewed-on: https://skia-review.googlesource.com/119008 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r--src/gpu/SkGpuDevice.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index e7ba14e1d9..eb26ba2f9b 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -51,8 +51,6 @@
#include "../private/SkShadowFlags.h"
#include "text/GrTextUtils.h"
-#if SK_SUPPORT_GPU
-
#define ASSERT_SINGLE_OWNER \
SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fContext->contextPriv().debugSingleOwner());)
@@ -1752,4 +1750,3 @@ SkImageFilterCache* SkGpuDevice::getImageFilterCache() {
return SkImageFilterCache::Create(SkImageFilterCache::kDefaultTransientSize);
}
-#endif