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

Unified Diff: third_party/WebKit/Source/core/fetch/FontResource.cpp

Issue 2148183002: Refactoring: Move some Resource members from protected to private (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/fetch/FontResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/FontResource.cpp b/third_party/WebKit/Source/core/fetch/FontResource.cpp
index 2483a03c77e44a0fce30916cab3b1b527573f980..061af596c2858305ea5c8dcc3b959cb1a5ddc960 100644
--- a/third_party/WebKit/Source/core/fetch/FontResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/FontResource.cpp
@@ -151,7 +151,7 @@ void FontResource::fontLoadShortLimitCallback(Timer<FontResource>*)
return;
ASSERT(m_loadLimitState == UnderLimit);
m_loadLimitState = ShortLimitExceeded;
- ResourceClientWalker<FontResourceClient> walker(m_clients);
+ ResourceClientWalker<FontResourceClient> walker(clients());
while (FontResourceClient* client = walker.next())
client->fontLoadShortLimitExceeded(this);
}
@@ -162,7 +162,7 @@ void FontResource::fontLoadLongLimitCallback(Timer<FontResource>*)
return;
ASSERT(m_loadLimitState == ShortLimitExceeded);
m_loadLimitState = LongLimitExceeded;
- ResourceClientWalker<FontResourceClient> walker(m_clients);
+ ResourceClientWalker<FontResourceClient> walker(clients());
while (FontResourceClient* client = walker.next())
client->fontLoadLongLimitExceeded(this);
}
« no previous file with comments | « third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp ('k') | third_party/WebKit/Source/core/fetch/RawResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698