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

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h

Issue 2181243002: Move ThreadableLoader to Oilpan heap (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onheap-bridge-peer-in-worker-threadable-loader
Patch Set: fix Created 4 years, 4 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/modules/notifications/NotificationImageLoader.h
diff --git a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h
index 363b4fb855e5fbf28409a786d5137dded208b362..59f488049c1e5daf03d0ea2293efad78394acbbb 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h
+++ b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.h
@@ -46,7 +46,10 @@ public:
void didFail(const ResourceError&) override;
void didFailRedirectCheck() override;
- DEFINE_INLINE_TRACE() {}
+ DEFINE_INLINE_TRACE()
+ {
+ visitor->trace(m_threadableLoader);
+ }
private:
void runCallbackWithEmptyBitmap();
@@ -55,7 +58,7 @@ private:
double m_startTime;
RefPtr<SharedBuffer> m_data;
std::unique_ptr<ImageCallback> m_imageCallback;
- std::unique_ptr<ThreadableLoader> m_threadableLoader;
+ Member<ThreadableLoader> m_threadableLoader;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698