commit | 6e06b1f4e2b8a76e4311d1a5381cdf5e4c606a09 | [log] [tgz] |
---|---|---|
author | Jamie Madill <jmadill@chromium.org> | Thu May 14 10:01:17 2015 -0400 |
committer | Jamie Madill <jmadill@chromium.org> | Thu May 14 18:14:41 2015 +0000 |
tree | 22401d0dab9de7774595e539e91543a1b4e34d81 | |
parent | 558d5eb4eb0fcca6c538cbf403c07727dd232fef [diff] [blame] |
Make TParseContext a class, with private data. *re-land with build fix* BUG=angleproject:995 Change-Id: I67d3ded8f6c705b54fb372857e07ce1a86b58475 Reviewed-on: https://chromium-review.googlesource.com/271162 Tested-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Zhenyao Mo <zmo@chromium.org>
diff --git a/src/compiler/translator/ValidateGlobalInitializer.h b/src/compiler/translator/ValidateGlobalInitializer.h index 28c005b..c3d2a47 100644 --- a/src/compiler/translator/ValidateGlobalInitializer.h +++ b/src/compiler/translator/ValidateGlobalInitializer.h
@@ -8,7 +8,7 @@ #define COMPILER_TRANSLATOR_VALIDATEGLOBALINITIALIZER_H_ class TIntermTyped; -struct TParseContext; +class TParseContext; // Returns true if the initializer is valid. bool ValidateGlobalInitializer(TIntermTyped *initializer, const TParseContext *context, bool *warning);