Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: Source/core/css/CSSFontSelector.cpp

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix fast/text/international/ regression Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved.
3 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 3 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 void CSSFontSelector::beginLoadingFontSoon(FontResource* font) 212 void CSSFontSelector::beginLoadingFontSoon(FontResource* font)
213 { 213 {
214 m_fontLoader.addFontToBeginLoading(font); 214 m_fontLoader.addFontToBeginLoading(font);
215 } 215 }
216 216
217 void CSSFontSelector::loadPendingFonts() 217 void CSSFontSelector::loadPendingFonts()
218 { 218 {
219 m_fontLoader.loadPendingFonts(); 219 m_fontLoader.loadPendingFonts();
220 } 220 }
221 221
222 void CSSFontSelector::updateGenericFontFamilySettings(Document& document)
223 {
224 ASSERT(document.frame());
225 m_genericFontFamilySettings = document.frame()->settings()->genericFontFamil ySettings();
222 } 226 }
227
228 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698