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

Side by Side Diff: third_party/WebKit/Source/core/loader/WorkletScriptLoader.cpp

Issue 2815053002: Rewrite references to "wtf/" to "platform/wtf/" in core/loader. (Closed)
Patch Set: Created 3 years, 8 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 "core/loader/WorkletScriptLoader.h" 5 #include "core/loader/WorkletScriptLoader.h"
6 6
7 #include "bindings/core/v8/ScriptSourceCode.h" 7 #include "bindings/core/v8/ScriptSourceCode.h"
8 #include "core/loader/FrameFetchContext.h" 8 #include "core/loader/FrameFetchContext.h"
9 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" 9 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
10 #include "wtf/WTF.h" 10 #include "platform/wtf/WTF.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 WorkletScriptLoader::WorkletScriptLoader(ResourceFetcher* fetcher, 14 WorkletScriptLoader::WorkletScriptLoader(ResourceFetcher* fetcher,
15 Client* client) 15 Client* client)
16 : fetcher_(fetcher), client_(client) {} 16 : fetcher_(fetcher), client_(client) {}
17 17
18 void WorkletScriptLoader::FetchScript(const String& script_url) { 18 void WorkletScriptLoader::FetchScript(const String& script_url) {
19 DCHECK(IsMainThread()); 19 DCHECK(IsMainThread());
20 DCHECK(!GetResource()); 20 DCHECK(!GetResource());
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 return was_script_load_successful_; 60 return was_script_load_successful_;
61 } 61 }
62 62
63 DEFINE_TRACE(WorkletScriptLoader) { 63 DEFINE_TRACE(WorkletScriptLoader) {
64 visitor->Trace(fetcher_); 64 visitor->Trace(fetcher_);
65 visitor->Trace(client_); 65 visitor->Trace(client_);
66 ResourceOwner<ScriptResource, ScriptResourceClient>::Trace(visitor); 66 ResourceOwner<ScriptResource, ScriptResourceClient>::Trace(visitor);
67 } 67 }
68 68
69 } // namespace blink 69 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698