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

Side by Side Diff: third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp

Issue 2578193004: Remove ActiveScriptWrappableBase::m_scriptWrappable (Closed)
Patch Set: temp 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "modules/presentation/PresentationRequest.h" 5 #include "modules/presentation/PresentationRequest.h"
6 6
7 #include "bindings/core/v8/CallbackPromiseAdapter.h" 7 #include "bindings/core/v8/CallbackPromiseAdapter.h"
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/ScriptPromise.h" 9 #include "bindings/core/v8/ScriptPromise.h"
10 #include "bindings/core/v8/ScriptPromiseResolver.h" 10 #include "bindings/core/v8/ScriptPromiseResolver.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 return m_url; 200 return m_url;
201 } 201 }
202 202
203 DEFINE_TRACE(PresentationRequest) { 203 DEFINE_TRACE(PresentationRequest) {
204 EventTargetWithInlineData::trace(visitor); 204 EventTargetWithInlineData::trace(visitor);
205 SuspendableObject::trace(visitor); 205 SuspendableObject::trace(visitor);
206 } 206 }
207 207
208 PresentationRequest::PresentationRequest(ExecutionContext* executionContext, 208 PresentationRequest::PresentationRequest(ExecutionContext* executionContext,
209 const KURL& url) 209 const KURL& url)
210 : ActiveScriptWrappable(this), 210 : SuspendableObject(executionContext), m_url(url) {}
211 SuspendableObject(executionContext),
212 m_url(url) {}
213 211
214 } // namespace blink 212 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698