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

Unified Diff: tools/clang/blink_gc_plugin/tests/templated_class_with_local_class_requires_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/templated_class_with_local_class_requires_trace.h
diff --git a/tools/clang/blink_gc_plugin/tests/templated_class_with_local_class_requires_trace.h b/tools/clang/blink_gc_plugin/tests/templated_class_with_local_class_requires_trace.h
index d2b0225eee1c9ab15d50cda0089e82a7fbd4c54f..66561201452fdfdb95de18868b590b48520779f4 100644
--- a/tools/clang/blink_gc_plugin/tests/templated_class_with_local_class_requires_trace.h
+++ b/tools/clang/blink_gc_plugin/tests/templated_class_with_local_class_requires_trace.h
@@ -15,7 +15,7 @@ class HeapObject : public GarbageCollected<HeapObject> {
public:
HeapObject() { }
- void trace(Visitor*) { }
+ void Trace(Visitor*) { }
};
template<typename T>
@@ -26,15 +26,15 @@ public:
{
}
- void trace(Visitor*);
+ void Trace(Visitor*);
private:
class Local final : public GarbageCollected<Local> {
public:
- void trace(Visitor* visitor)
+ void Trace(Visitor* visitor)
{
- visitor->trace(m_heapObject);
- visitor->trace(m_object);
+ visitor->Trace(m_heapObject);
+ visitor->Trace(m_object);
}
private:
Member<HeapObject> m_heapObject;

Powered by Google App Engine
This is Rietveld 408576698