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

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

Issue 2153073002: Refactoring: Make some methods and fields private in Resource subclasses (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/ImageResource.h
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.h b/third_party/WebKit/Source/core/fetch/ImageResource.h
index 55e869faa7e0642f8d3a8ceccfef153240cf6cde..412c3a4c15d93cbcae5f7f8f8dd8d71024a5a798 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.h
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.h
@@ -125,11 +125,6 @@ public:
DECLARE_VIRTUAL_TRACE();
-protected:
- bool isSafeToUnlock() const override;
- void destroyDecodedDataIfPossible() override;
- void destroyDecodedDataForFailedRevalidation() override;
-
private:
explicit ImageResource(blink::Image*, const ResourceLoaderOptions&);
@@ -167,6 +162,10 @@ private:
void doResetAnimation();
+ bool isSafeToUnlock() const override;
+ void destroyDecodedDataIfPossible() override;
+ void destroyDecodedDataForFailedRevalidation() override;
+
float m_devicePixelRatioHeaderValue;
Member<MultipartImageResourceParser> m_multipartParser;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FontResource.h ('k') | third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698