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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ForeignFetchRespondWithObserver.cpp

Issue 2761693002: Wrapped PassRefPtrs in move where passed to RefPtr constructor. (Closed)
Patch Set: Added move wraps for multiple instances in 1 line. Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/serviceworkers/ForeignFetchRespondWithObserver.h" 5 #include "modules/serviceworkers/ForeignFetchRespondWithObserver.h"
6 6
7 #include "bindings/modules/v8/V8ForeignFetchResponse.h" 7 #include "bindings/modules/v8/V8ForeignFetchResponse.h"
8 #include "modules/fetch/Response.h" 8 #include "modules/fetch/Response.h"
9 #include "modules/serviceworkers/ForeignFetchResponse.h" 9 #include "modules/serviceworkers/ForeignFetchResponse.h"
10 #include "platform/loader/fetch/CrossOriginAccessControl.h" 10 #include "platform/loader/fetch/CrossOriginAccessControl.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 PassRefPtr<SecurityOrigin> requestOrigin, 103 PassRefPtr<SecurityOrigin> requestOrigin,
104 WaitUntilObserver* observer) 104 WaitUntilObserver* observer)
105 : FetchRespondWithObserver(context, 105 : FetchRespondWithObserver(context,
106 eventID, 106 eventID,
107 requestURL, 107 requestURL,
108 requestMode, 108 requestMode,
109 redirectMode, 109 redirectMode,
110 frameType, 110 frameType,
111 requestContext, 111 requestContext,
112 observer), 112 observer),
113 m_requestOrigin(requestOrigin) {} 113 m_requestOrigin(std::move(requestOrigin)) {}
114 114
115 } // namespace blink 115 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698