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

Side by Side Diff: Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp

Issue 949093002: InlinedVisitor: Migrate encryptedmedia to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "modules/encryptedmedia/ContentDecryptionModuleResultPromise.h" 6 #include "modules/encryptedmedia/ContentDecryptionModuleResultPromise.h"
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
10 #include "core/dom/DOMException.h" 10 #include "core/dom/DOMException.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 { 82 {
83 m_resolver->reject(DOMException::create(code, errorMessage)); 83 m_resolver->reject(DOMException::create(code, errorMessage));
84 m_resolver.clear(); 84 m_resolver.clear();
85 } 85 }
86 86
87 ExecutionContext* ContentDecryptionModuleResultPromise::executionContext() const 87 ExecutionContext* ContentDecryptionModuleResultPromise::executionContext() const
88 { 88 {
89 return m_resolver->executionContext(); 89 return m_resolver->executionContext();
90 } 90 }
91 91
92 void ContentDecryptionModuleResultPromise::trace(Visitor* visitor) 92 DEFINE_TRACE(ContentDecryptionModuleResultPromise)
93 { 93 {
94 visitor->trace(m_resolver); 94 visitor->trace(m_resolver);
95 ContentDecryptionModuleResult::trace(visitor); 95 ContentDecryptionModuleResult::trace(visitor);
96 } 96 }
97 97
98 } // namespace blink 98 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698