Chromium Code Reviews| Index: include/core/SkPicture.h |
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
| index f514828e56148e00c9f6dd5ad5f768ee2e4df773..f0a0091571ab30278e2b8ed7854a74aa41769693 100644 |
| --- a/include/core/SkPicture.h |
| +++ b/include/core/SkPicture.h |
| @@ -253,6 +253,8 @@ private: |
| static const uint32_t MIN_PICTURE_VERSION = 35; // Produced by Chrome M39. |
| static const uint32_t CURRENT_PICTURE_VERSION = 41; |
| + static_assert(MIN_PICTURE_VERSION <= 41, "Remove kFontFileName and related code."); |
|
mtklein
2015/04/17 17:46:22
Might add "from SkFontDescriptor.cpp"?
bungeman-skia
2015/04/17 17:50:27
What, and use a whole new line? Done.
|
| + |
| void createHeader(SkPictInfo* info) const; |
| static bool IsValidPictInfo(const SkPictInfo& info); |