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

Unified Diff: Source/platform/RefCountedSupplement.h

Issue 178663004: Oilpan: move WorkerGlobalScope to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 9 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/platform/DEPS ('k') | Source/platform/Supplementable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/RefCountedSupplement.h
diff --git a/Source/platform/RefCountedSupplement.h b/Source/platform/RefCountedSupplement.h
index 6613a3b8c9de86bf7eda5d2d7b167121aa9d4fb3..f94dfd6c50e1bacf10c9cbe8676c4b1a3a20608e 100644
--- a/Source/platform/RefCountedSupplement.h
+++ b/Source/platform/RefCountedSupplement.h
@@ -60,7 +60,7 @@ public:
static ThisType* from(Supplementable<T>& host, const char* key)
{
- Supplement<T>* found = host.requireSupplement(key);
+ Supplement<T>* found = static_cast<Supplement<T>*>(host.requireSupplement(key));
if (!found)
return 0;
ASSERT_WITH_SECURITY_IMPLICATION(found->isRefCountedWrapper());
« no previous file with comments | « Source/platform/DEPS ('k') | Source/platform/Supplementable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698