| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2013 Google Inc. All rights reserved. | 2  * Copyright (C) 2013 Google Inc. All rights reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions are met: | 5  * modification, are permitted provided that the following conditions are met: | 
| 6  * | 6  * | 
| 7  * 1. Redistributions of source code must retain the above copyright | 7  * 1. Redistributions of source code must retain the above copyright | 
| 8  *    notice, this list of conditions and the following disclaimer. | 8  *    notice, this list of conditions and the following disclaimer. | 
| 9  * 2. Redistributions in binary form must reproduce the above copyright | 9  * 2. Redistributions in binary form must reproduce the above copyright | 
| 10  *    notice, this list of conditions and the following disclaimer in the | 10  *    notice, this list of conditions and the following disclaimer in the | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
| 32 #include "core/css/CSSSegmentedFontFace.h" | 32 #include "core/css/CSSSegmentedFontFace.h" | 
| 33 #include "core/css/FontFaceCache.h" | 33 #include "core/css/FontFaceCache.h" | 
| 34 #include "core/css/FontFaceSetLoadEvent.h" | 34 #include "core/css/FontFaceSetLoadEvent.h" | 
| 35 #include "core/css/StylePropertySet.h" | 35 #include "core/css/StylePropertySet.h" | 
| 36 #include "core/css/parser/CSSParser.h" | 36 #include "core/css/parser/CSSParser.h" | 
| 37 #include "core/css/resolver/StyleResolver.h" | 37 #include "core/css/resolver/StyleResolver.h" | 
| 38 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" | 
| 39 #include "core/dom/StyleEngine.h" | 39 #include "core/dom/StyleEngine.h" | 
| 40 #include "core/frame/FrameView.h" | 40 #include "core/frame/FrameView.h" | 
| 41 #include "core/frame/LocalFrame.h" | 41 #include "core/frame/LocalFrame.h" | 
| 42 #include "core/style/StyleInheritedData.h" | 42 #include "core/style/ComputedStyle.h" | 
| 43 #include "platform/Histogram.h" | 43 #include "platform/Histogram.h" | 
| 44 | 44 | 
| 45 namespace blink { | 45 namespace blink { | 
| 46 | 46 | 
| 47 static const int defaultFontSize = 10; | 47 static const int defaultFontSize = 10; | 
| 48 static const char defaultFontFamily[] = "sans-serif"; | 48 static const char defaultFontFamily[] = "sans-serif"; | 
| 49 | 49 | 
| 50 class LoadFontPromiseResolver final | 50 class LoadFontPromiseResolver final | 
| 51     : public GarbageCollectedFinalized<LoadFontPromiseResolver>, | 51     : public GarbageCollectedFinalized<LoadFontPromiseResolver>, | 
| 52       public FontFace::LoadFontCallback { | 52       public FontFace::LoadFontCallback { | 
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 559   visitor->trace(m_failedFonts); | 559   visitor->trace(m_failedFonts); | 
| 560   visitor->trace(m_nonCSSConnectedFaces); | 560   visitor->trace(m_nonCSSConnectedFaces); | 
| 561   visitor->trace(m_asyncRunner); | 561   visitor->trace(m_asyncRunner); | 
| 562   EventTargetWithInlineData::trace(visitor); | 562   EventTargetWithInlineData::trace(visitor); | 
| 563   Supplement<Document>::trace(visitor); | 563   Supplement<Document>::trace(visitor); | 
| 564   ActiveDOMObject::trace(visitor); | 564   ActiveDOMObject::trace(visitor); | 
| 565   FontFace::LoadFontCallback::trace(visitor); | 565   FontFace::LoadFontCallback::trace(visitor); | 
| 566 } | 566 } | 
| 567 | 567 | 
| 568 }  // namespace blink | 568 }  // namespace blink | 
| OLD | NEW | 
|---|