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

Side by Side Diff: Source/core/dom/custom/CustomElementCallbackInvocation.h

Issue 947393002: InlinedVisitor: Migrate dom to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 static PassOwnPtrWillBeRawPtr<CustomElementCallbackInvocation> createAttribu teChangedInvocation(PassRefPtrWillBeRawPtr<CustomElementLifecycleCallbacks>, con st AtomicString& name, const AtomicString& oldValue, const AtomicString& newValu e); 47 static PassOwnPtrWillBeRawPtr<CustomElementCallbackInvocation> createAttribu teChangedInvocation(PassRefPtrWillBeRawPtr<CustomElementLifecycleCallbacks>, con st AtomicString& name, const AtomicString& oldValue, const AtomicString& newValu e);
48 48
49 protected: 49 protected:
50 CustomElementCallbackInvocation(PassRefPtrWillBeRawPtr<CustomElementLifecycl eCallbacks> callbacks) 50 CustomElementCallbackInvocation(PassRefPtrWillBeRawPtr<CustomElementLifecycl eCallbacks> callbacks)
51 : m_callbacks(callbacks) 51 : m_callbacks(callbacks)
52 { 52 {
53 } 53 }
54 54
55 CustomElementLifecycleCallbacks* callbacks() { return m_callbacks.get(); } 55 CustomElementLifecycleCallbacks* callbacks() { return m_callbacks.get(); }
56 56
57 virtual void trace(Visitor*) override; 57 DECLARE_VIRTUAL_TRACE();
58 58
59 private: 59 private:
60 RefPtrWillBeMember<CustomElementLifecycleCallbacks> m_callbacks; 60 RefPtrWillBeMember<CustomElementLifecycleCallbacks> m_callbacks;
61 }; 61 };
62 62
63 } // namespace blink 63 } // namespace blink
64 64
65 #endif // CustomElementCallbackInvocation_h 65 #endif // CustomElementCallbackInvocation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698