| 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/font_impl.h" | 5 #include "ppapi/shared_impl/font_impl.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 14 matching lines...) Expand all Loading... |
| 25 return false; | 25 return false; |
| 26 | 26 |
| 27 // Check for excessive sizes which may cause layout to get confused. | 27 // Check for excessive sizes which may cause layout to get confused. |
| 28 if (desc.size > 200) | 28 if (desc.size > 200) |
| 29 return false; | 29 return false; |
| 30 | 30 |
| 31 return true; | 31 return true; |
| 32 } | 32 } |
| 33 | 33 |
| 34 } // namespace ppapi | 34 } // namespace ppapi |
| OLD | NEW |