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

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

Issue 1706083002: Split ImageResourceClient into ResourceClient and ImageResourceObserver [1/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 9 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 73b1083a7af2f7e130790aa61428fd2b2113b962..331c44ec12809068040aa76819fff7bf69fac0cf 100644
--- a/third_party/WebKit/Source/core/fetch/FontResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/FontResource.cpp
@@ -27,7 +27,7 @@
#include "core/fetch/FontResource.h"
#include "core/fetch/FetchRequest.h"
-#include "core/fetch/ResourceClientWalker.h"
+#include "core/fetch/ResourceClientOrObserverWalker.h"
#include "core/fetch/ResourceFetcher.h"
#include "platform/Histogram.h"
#include "platform/SharedBuffer.h"
@@ -183,10 +183,10 @@ void FontResource::fontLoadLongLimitCallback(Timer<FontResource>*)
client->fontLoadLongLimitExceeded(this);
}
-void FontResource::allClientsRemoved()
+void FontResource::allClientsAndObserversRemoved()
{
m_fontData.clear();
- Resource::allClientsRemoved();
+ Resource::allClientsAndObserversRemoved();
}
void FontResource::checkNotify()
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FontResource.h ('k') | third_party/WebKit/Source/core/fetch/ImageResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698