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

Unified Diff: third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp b/third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp
index 066139c9219a60cabb2c10ff475cfbf8fc259906..4f61b87d0d393e15fa9e5d0398dafb4af0ee1d3b 100644
--- a/third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp
@@ -38,8 +38,8 @@
namespace blink {
-class ContextFeaturesCache final : public NoBaseWillBeGarbageCollectedFinalized<ContextFeaturesCache>, public WillBeHeapSupplement<Document> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ContextFeaturesCache);
+class ContextFeaturesCache final : public GarbageCollectedFinalized<ContextFeaturesCache>, public HeapSupplement<Document> {
+ USING_GARBAGE_COLLECTED_MIXIN(ContextFeaturesCache);
public:
class Entry {
public:
@@ -90,7 +90,7 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE()
{
- WillBeHeapSupplement<Document>::trace(visitor);
+ HeapSupplement<Document>::trace(visitor);
}
private:
@@ -105,10 +105,10 @@ const char* ContextFeaturesCache::supplementName()
ContextFeaturesCache& ContextFeaturesCache::from(Document& document)
{
- ContextFeaturesCache* cache = static_cast<ContextFeaturesCache*>(WillBeHeapSupplement<Document>::from(document, supplementName()));
+ ContextFeaturesCache* cache = static_cast<ContextFeaturesCache*>(HeapSupplement<Document>::from(document, supplementName()));
if (!cache) {
cache = new ContextFeaturesCache();
- WillBeHeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(cache));
+ HeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(cache));
}
return *cache;
« no previous file with comments | « third_party/WebKit/Source/web/ColorChooserUIController.h ('k') | third_party/WebKit/Source/web/ContextMenuClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698