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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.h

Issue 1829403002: Clean up font loading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Resource_status
Patch Set: Another rebase! Created 4 years, 8 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/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index ecb84832953b41674590c1ebf9fbcd5c6ac58b05..2d133bf7542dc0a641a664622026ce74a13b8157 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -77,7 +77,6 @@ public:
enum Status {
NotStarted,
- LoadStartScheduled, // scheduled but not yet started, only used by fonts.
Pending, // load in progress
Cached, // load completed successfully
LoadError,
@@ -94,7 +93,7 @@ public:
virtual void removedFromMemoryCache();
DECLARE_VIRTUAL_TRACE();
- virtual void load(ResourceFetcher*);
+ void load(ResourceFetcher*);
virtual void setEncoding(const String&) { }
virtual String encoding() const { return String(); }
@@ -118,7 +117,7 @@ public:
const ResourceRequest& resourceRequest() const { return m_resourceRequest; }
const ResourceRequest& lastResourceRequest() const;
- void setRevalidatingRequest(const ResourceRequest& request) { m_revalidatingRequest = request; }
+ void setRevalidatingRequest(const ResourceRequest&);
// This url can have a fragment, but it can match resources that differ by the fragment only.
const KURL& url() const { return m_resourceRequest.url();}
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698