diff options
author | Robert Phillips <robertphillips@google.com> | 2018-03-22 15:16:30 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-22 19:55:05 +0000 |
commit | 0a4b13cdea208946a59c612e0743f28533124166 (patch) | |
tree | be5b089cb61c3cf2478689a2308501edb2878d7b /src/sksl/SkSLHCodeGenerator.cpp | |
parent | f7d3f6170fc8efb16a98cf8c52a32060c5c21631 (diff) |
Remove std::move from GrSimpleTextureEffect
Bug:822680
Change-Id: I4780ce12a6ce244a2165bfb7b293adb06ae577c5
Reviewed-on: https://skia-review.googlesource.com/115900
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/sksl/SkSLHCodeGenerator.cpp')
-rw-r--r-- | src/sksl/SkSLHCodeGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/SkSLHCodeGenerator.cpp b/src/sksl/SkSLHCodeGenerator.cpp index 9750aabb87..ad97722077 100644 --- a/src/sksl/SkSLHCodeGenerator.cpp +++ b/src/sksl/SkSLHCodeGenerator.cpp @@ -176,9 +176,9 @@ void HCodeGenerator::writeConstructor() { const char* msg = "may not be present when constructor is overridden"; this->failOnSection(CONSTRUCTOR_CODE_SECTION, msg); this->failOnSection(CONSTRUCTOR_PARAMS_SECTION, msg); - this->failOnSection(COORD_TRANSFORM_SECTION, msg); this->failOnSection(INITIALIZERS_SECTION, msg); this->failOnSection(OPTIMIZATION_FLAGS_SECTION, msg); + return; } this->writef(" %s(", fFullName.c_str()); const char* separator = ""; |