Index: tools/gpu/TestContext.cpp |
diff --git a/tools/gpu/TestContext.cpp b/tools/gpu/TestContext.cpp |
index 0857024d06fc784cf089d61f38be79eb504fe4c9..8a78b903b15fbefe8507fa9210fa02448b8dd22e 100644 |
--- a/tools/gpu/TestContext.cpp |
+++ b/tools/gpu/TestContext.cpp |
@@ -8,13 +8,8 @@ |
#include "TestContext.h" |
-#include "GpuTimer.h" |
- |
namespace sk_gpu_test { |
-TestContext::TestContext() |
- : fFenceSync(nullptr) |
- , fGpuTimer(nullptr) |
- , fCurrentFenceIdx(0) { |
+TestContext::TestContext() : fFenceSync(nullptr), fCurrentFenceIdx(0) { |
memset(fFrameFences, 0, sizeof(fFrameFences)); |
} |
@@ -26,7 +21,6 @@ |
} |
#endif |
SkASSERT(!fFenceSync); |
- SkASSERT(!fGpuTimer); |
} |
void TestContext::makeCurrent() const { this->onPlatformMakeCurrent(); } |
@@ -69,7 +63,6 @@ |
delete fFenceSync; |
fFenceSync = nullptr; |
} |
- delete fGpuTimer; |
} |
} |