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

Unified Diff: third_party/WebKit/Source/core/loader/resource/FontResource.cpp

Issue 2549593005: Revert of Place CHECKs to check FontResource::startLoadLimiTimers is called appropriately (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/resource/FontResource.cpp
diff --git a/third_party/WebKit/Source/core/loader/resource/FontResource.cpp b/third_party/WebKit/Source/core/loader/resource/FontResource.cpp
index d17d3a97304d90b2ae137605bf69d712adc10fb1..15569e199bf50ed0dd9f3facdeacd3be32f4e5bc 100644
--- a/third_party/WebKit/Source/core/loader/resource/FontResource.cpp
+++ b/third_party/WebKit/Source/core/loader/resource/FontResource.cpp
@@ -110,7 +110,7 @@
}
void FontResource::startLoadLimitTimers() {
- CHECK(isLoading());
+ DCHECK(isLoading());
DCHECK_EQ(m_loadLimitState, LoadNotStarted);
m_loadLimitState = UnderLimit;
m_fontLoadShortLimitTimer.startOneShot(fontLoadWaitShortLimitSec,
@@ -144,7 +144,6 @@
}
void FontResource::fontLoadShortLimitCallback(TimerBase*) {
- CHECK(isLoading());
if (!isLoading())
return;
DCHECK_EQ(m_loadLimitState, UnderLimit);
@@ -155,7 +154,6 @@
}
void FontResource::fontLoadLongLimitCallback(TimerBase*) {
- CHECK(isLoading());
if (!isLoading())
return;
DCHECK_EQ(m_loadLimitState, ShortLimitExceeded);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698