OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ppapi/shared_impl/ppb_font_shared.h" | 5 #include "ppapi/shared_impl/ppb_font_shared.h" |
6 | 6 |
7 #include "ppapi/c/dev/ppb_font_dev.h" | 7 #include "ppapi/c/dev/ppb_font_dev.h" |
8 | 8 |
9 namespace ppapi { | 9 namespace ppapi { |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 return false; | 26 return false; |
27 | 27 |
28 // Check for excessive sizes which may cause layout to get confused. | 28 // Check for excessive sizes which may cause layout to get confused. |
29 if (desc.size > 200) | 29 if (desc.size > 200) |
30 return false; | 30 return false; |
31 | 31 |
32 return true; | 32 return true; |
33 } | 33 } |
34 | 34 |
35 } // namespace ppapi | 35 } // namespace ppapi |
OLD | NEW |