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

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

Issue 1667843003: Make Resource RefCountedWillBeGarbageCollectedFinalized, attempt #2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + address review comments Created 4 years, 10 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/MockImageResourceClient.h
diff --git a/third_party/WebKit/Source/core/fetch/MockImageResourceClient.h b/third_party/WebKit/Source/core/fetch/MockImageResourceClient.h
index 914e12691587b905f2b4b30a76dfd9b6a21dac86..b877a92d9ff2275ef0ea6867f7c282664f971959 100644
--- a/third_party/WebKit/Source/core/fetch/MockImageResourceClient.h
+++ b/third_party/WebKit/Source/core/fetch/MockImageResourceClient.h
@@ -32,17 +32,14 @@
#define MockImageResourceClient_h
#include "core/fetch/ImageResourceClient.h"
+#include "core/fetch/Resource.h"
#include "platform/heap/Handle.h"
namespace blink {
-template<typename T> class ResourcePtr;
-
-class Resource;
-
class MockImageResourceClient final : public ImageResourceClient {
public:
- explicit MockImageResourceClient(const ResourcePtr<Resource>&);
+ explicit MockImageResourceClient(const PassRefPtrWillBeRawPtr<Resource>);
~MockImageResourceClient() override;
void imageChanged(ImageResource*, const IntRect*) override

Powered by Google App Engine
This is Rietveld 408576698