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

Unified Diff: Source/WebCore/loader/cache/CachedResource.h

Issue 13866038: Revert 148069 and 148060 to see if they were responsible for a perf regression (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/WebCore/loader/cache/CachedRawResource.cpp ('k') | Source/WebCore/loader/cache/CachedResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/cache/CachedResource.h
diff --git a/Source/WebCore/loader/cache/CachedResource.h b/Source/WebCore/loader/cache/CachedResource.h
index e2ead22ce8b1724f45b75ef987bdc52692c5e438..bbbc2299b029ee921be643da5f7ec6c6fa366fe5 100644
--- a/Source/WebCore/loader/cache/CachedResource.h
+++ b/Source/WebCore/loader/cache/CachedResource.h
@@ -49,9 +49,9 @@ class CachedResourceLoader;
class InspectorResource;
class PurgeableBuffer;
class ResourceBuffer;
-class ResourceLoader;
class SecurityOrigin;
class SharedBuffer;
+class SubresourceLoader;
// A resource that is held in the cache. Classes who want to use this object should derive
// from CachedResourceClient, to get the function calls in case the requested data has arrived.
@@ -147,7 +147,7 @@ public:
void setLoading(bool b) { m_loading = b; }
virtual bool stillNeedsLoad() const { return false; }
- ResourceLoader* loader() { return m_loader.get(); }
+ SubresourceLoader* loader() { return m_loader.get(); }
virtual bool isImage() const { return false; }
bool ignoreForRequestCount() const
@@ -282,7 +282,7 @@ protected:
ResourceRequest m_resourceRequest;
String m_accept;
- RefPtr<ResourceLoader> m_loader;
+ RefPtr<SubresourceLoader> m_loader;
ResourceLoaderOptions m_options;
ResourceLoadPriority m_loadPriority;
« no previous file with comments | « Source/WebCore/loader/cache/CachedRawResource.cpp ('k') | Source/WebCore/loader/cache/CachedResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698