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

Unified Diff: tools/clang/blink_gc_plugin/tests/fields_illegal_tracing.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/fields_illegal_tracing.h
diff --git a/tools/clang/blink_gc_plugin/tests/fields_illegal_tracing.h b/tools/clang/blink_gc_plugin/tests/fields_illegal_tracing.h
index f4d91dd274247b6bfd4e3269b5bb7b01adaf17e6..294629ea89fdff06c89d6290fefdde4b3bac2bf0 100644
--- a/tools/clang/blink_gc_plugin/tests/fields_illegal_tracing.h
+++ b/tools/clang/blink_gc_plugin/tests/fields_illegal_tracing.h
@@ -19,7 +19,7 @@ public:
operator T*() const { return 0; }
T* operator->() { return 0; }
- void trace(Visitor* visitor)
+ void Trace(Visitor* visitor)
{
}
};
@@ -32,7 +32,7 @@ class PartObject;
class PartObject {
DISALLOW_NEW();
public:
- void trace(Visitor*);
+ void Trace(Visitor*);
private:
OwnPtr<HeapObject> m_obj1;
RefPtr<HeapObject> m_obj2;
@@ -45,7 +45,7 @@ private:
class HeapObject : public GarbageCollectedFinalized<HeapObject> {
public:
- void trace(Visitor*);
+ void Trace(Visitor*);
private:
PartObject m_part;
OwnPtr<HeapObject> m_obj1;

Powered by Google App Engine
This is Rietveld 408576698