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

Unified Diff: tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.h

Issue 2578103003: Add use-chromium-style-naming option to Blink GC plugin. (Closed)
Patch Set: Rebase Created 4 years 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: tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.h
diff --git a/tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.h b/tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.h
index f5d999ebf6430a7eddc20c549c268f6c36b5143d..7221280e9a890590da7db4a307c8c1fa4677c912 100644
--- a/tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.h
+++ b/tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.h
@@ -11,7 +11,7 @@ namespace blink {
class HeapObject : public GarbageCollected<HeapObject> {
public:
- void trace(Visitor*) { }
+ void Trace(Visitor*) { }
};
class NonPolymorphicBase {
@@ -26,7 +26,7 @@ class IsLeftMostPolymorphic
: public GarbageCollected<IsLeftMostPolymorphic>,
public PolymorphicBase {
public:
- void trace(Visitor*);
+ void Trace(Visitor*);
private:
Member<HeapObject> m_obj;
};
@@ -36,7 +36,7 @@ class IsNotLeftMostPolymorphic
public NonPolymorphicBase,
public PolymorphicBase {
public:
- void trace(Visitor*);
+ void Trace(Visitor*);
private:
Member<HeapObject> m_obj;
};
@@ -45,7 +45,7 @@ template<typename T>
class TemplatedNonPolymorphicBase
: public GarbageCollected<TemplatedNonPolymorphicBase<T> > {
public:
- void trace(Visitor* visitor) { visitor->trace(m_obj); }
+ void Trace(Visitor* visitor) { visitor->Trace(m_obj); }
private:
Member<HeapObject> m_obj;
};

Powered by Google App Engine
This is Rietveld 408576698