Commit Graph
2 Commits
Author SHA1 Message Date
Jamie Madill c38ae7dfd2 Rename Optional::None to Invalid.
This fixes a name conflict with the XWindow headers on Linux.
Only becomes an issue when using Optional inside GL-level libANGLE.

BUG=angleproject:1123

Change-Id: I7f0eb278a8b6eb6fecd864e556428678cb90dcea
Reviewed-on: https://chromium-review.googlesource.com/298892
Reviewed-by: Corentin Wallez <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2015-09-14 14:33:46 +00:00
Jamie Madill 64af27bd04 Make Optional a proper helper class.
Move this to a common area, out of perf tests.

Change-Id: I53d36accfe0c53789c007edfb20ba7e964947def
Reviewed-on: https://chromium-review.googlesource.com/260643
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Corentin Wallez <[email protected]>
2015-03-19 18:00:53 +00:00