| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google, Inc. | 2 * Copyright (C) 2013 Google, Inc. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 : m_fontFaceSource(source) | 62 : m_fontFaceSource(source) |
| 63 , m_fallbackVisibility(visibility) | 63 , m_fallbackVisibility(visibility) |
| 64 , m_isLoading(false) | 64 , m_isLoading(false) |
| 65 { | 65 { |
| 66 if (source) | 66 if (source) |
| 67 m_isLoading = source->isLoading(); | 67 m_isLoading = source->isLoading(); |
| 68 } | 68 } |
| 69 | 69 |
| 70 // TODO(Oilpan): consider moving (Custom)FontFace hierarchy to the heap, | 70 // TODO(Oilpan): consider moving (Custom)FontFace hierarchy to the heap, |
| 71 // thereby making this reference a Member<>. | 71 // thereby making this reference a Member<>. |
| 72 RawPtrWillBeWeakPersistent<RemoteFontFaceSource> m_fontFaceSource; | 72 WeakPersistent<RemoteFontFaceSource> m_fontFaceSource; |
| 73 FallbackVisibility m_fallbackVisibility; | 73 FallbackVisibility m_fallbackVisibility; |
| 74 mutable bool m_isLoading; | 74 mutable bool m_isLoading; |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace blink | 77 } // namespace blink |
| 78 | 78 |
| 79 #endif // CSSCustomFontData_h | 79 #endif // CSSCustomFontData_h |
| OLD | NEW |