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

Side by Side Diff: third_party/WebKit/Source/core/css/FontFaceSet.cpp

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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
OLDNEW
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 } 188 }
189 189
190 void FontFaceSet::suspend() { 190 void FontFaceSet::suspend() {
191 m_asyncRunner->suspend(); 191 m_asyncRunner->suspend();
192 } 192 }
193 193
194 void FontFaceSet::resume() { 194 void FontFaceSet::resume() {
195 m_asyncRunner->resume(); 195 m_asyncRunner->resume();
196 } 196 }
197 197
198 void FontFaceSet::stop() { 198 void FontFaceSet::contextDestroyed() {
199 m_asyncRunner->stop(); 199 m_asyncRunner->stop();
200 } 200 }
201 201
202 void FontFaceSet::beginFontLoading(FontFace* fontFace) { 202 void FontFaceSet::beginFontLoading(FontFace* fontFace) {
203 m_histogram.incrementCount(); 203 m_histogram.incrementCount();
204 addToLoadingFonts(fontFace); 204 addToLoadingFonts(fontFace);
205 } 205 }
206 206
207 void FontFaceSet::notifyLoaded(FontFace* fontFace) { 207 void FontFaceSet::notifyLoaded(FontFace* fontFace) {
208 m_histogram.updateStatus(fontFace); 208 m_histogram.updateStatus(fontFace);
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 visitor->trace(m_failedFonts); 558 visitor->trace(m_failedFonts);
559 visitor->trace(m_nonCSSConnectedFaces); 559 visitor->trace(m_nonCSSConnectedFaces);
560 visitor->trace(m_asyncRunner); 560 visitor->trace(m_asyncRunner);
561 EventTargetWithInlineData::trace(visitor); 561 EventTargetWithInlineData::trace(visitor);
562 Supplement<Document>::trace(visitor); 562 Supplement<Document>::trace(visitor);
563 ActiveDOMObject::trace(visitor); 563 ActiveDOMObject::trace(visitor);
564 FontFace::LoadFontCallback::trace(visitor); 564 FontFace::LoadFontCallback::trace(visitor);
565 } 565 }
566 566
567 } // namespace blink 567 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698