Chromium Code Reviews| Index: src/version.h |
| diff --git a/src/version.h b/src/version.h |
| index b0a607152153909d96c2a89c1dd0844efd432bbc..4f600054ec1d5b964c12ade3a1b38c57ed93af23 100644 |
| --- a/src/version.h |
| +++ b/src/version.h |
| @@ -16,6 +16,7 @@ class Version { |
| static int GetBuild() { return build_; } |
| static int GetPatch() { return patch_; } |
| static bool IsCandidate() { return candidate_; } |
| + static int Hash() { return (major_ << 20) ^ (minor_ << 10) ^ patch_; } |
|
vogelheim
2014/07/07 15:20:01
Are build_ and candidate_ implied in the other ver
Yang
2014/07/08 09:01:05
Currently the build number is always 9999, so it m
|
| // Calculate the V8 version string. |
| static void GetString(Vector<char> str); |