| * Copyright 2015 Google Inc. |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| #include "src/gpu/GrFragmentProcessor.h" |
| #include "src/gpu/GrProcessorUnitTest.h" |
| std::unique_ptr<GrFragmentProcessor> GrProcessorUnitTest::MakeChildFP(GrProcessorTestData* data) { |
| #if SK_ALLOW_STATIC_GLOBAL_INITIALIZERS |
| std::unique_ptr<GrFragmentProcessor> fp; |
| fp = GrFragmentProcessorTestFactory::Make(data); |
| } while (fp->numChildProcessors() != 0); |
| SK_ABORT("Should not be called if !SK_ALLOW_STATIC_GLOBAL_INITIALIZERS"); |