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

Unified Diff: third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py

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/core/inspector/CodeGeneratorInstrumentation.py
diff --git a/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py b/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
index efcdb6d1c2db1b182a0b49439199bbedaef12ce5..b30b042a7f5da271b2b1e7caa90fdb98426ea040 100755
--- a/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
+++ b/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
@@ -118,13 +118,12 @@ namespace blink {
${forward_list}
-class CORE_EXPORT InstrumentingAgents : public RefCountedWillBeGarbageCollectedFinalized<InstrumentingAgents> {
+class CORE_EXPORT InstrumentingAgents : public GarbageCollectedFinalized<InstrumentingAgents> {
WTF_MAKE_NONCOPYABLE(InstrumentingAgents);
- USING_FAST_MALLOC_WILL_BE_REMOVED(InstrumentingAgents);
public:
- static PassRefPtrWillBeRawPtr<InstrumentingAgents> create()
+ static RawPtr<InstrumentingAgents> create()
{
- return adoptRefWillBeNoop(new InstrumentingAgents());
+ return new InstrumentingAgents();
}
~InstrumentingAgents() { }
DECLARE_TRACE();
@@ -465,7 +464,7 @@ def generate_instrumenting_agents(used_agents):
class_name=class_name,
getter_name=getter_name,
member_name=member_name))
- member_list.append(" RawPtrWillBeMember<%s> %s;" % (class_name, member_name))
+ member_list.append(" Member<%s> %s;" % (class_name, member_name))
init_list.append("%s(nullptr)" % member_name)
trace_list.append("visitor->trace(%s);" % member_name)
reset_list.append("%s = nullptr;" % member_name)

Powered by Google App Engine
This is Rietveld 408576698