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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/fetch/MockImageResourceClient.cpp b/third_party/WebKit/Source/core/fetch/MockImageResourceClient.cpp
index 4b41e4ea0b31662202594fd65bc8e414489a5cc2..b3d9d156539d3ea2816a4465c3533e45c41f6b6a 100644
--- a/third_party/WebKit/Source/core/fetch/MockImageResourceClient.cpp
+++ b/third_party/WebKit/Source/core/fetch/MockImageResourceClient.cpp
@@ -5,12 +5,11 @@
#include "core/fetch/MockImageResourceClient.h"
#include "core/fetch/ImageResource.h"
-#include "core/fetch/ResourcePtr.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
-MockImageResourceClient::MockImageResourceClient(const ResourcePtr<Resource>& resource)
+MockImageResourceClient::MockImageResourceClient(PassRefPtrWillBeRawPtr<Resource> resource)
: m_resource(resource.get())
, m_imageChangedCount(0)
, m_notifyFinishedCalled(false)
« no previous file with comments | « third_party/WebKit/Source/core/fetch/MockImageResourceClient.h ('k') | third_party/WebKit/Source/core/fetch/RawResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698