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

Side by Side Diff: third_party/WebKit/Source/core/dom/ClassicPendingScript.cpp

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/dom/ClassicPendingScript.h" 5 #include "core/dom/ClassicPendingScript.h"
6 6
7 #include "bindings/core/v8/ScriptSourceCode.h" 7 #include "bindings/core/v8/ScriptSourceCode.h"
8 #include "bindings/core/v8/ScriptState.h"
9 #include "bindings/core/v8/ScriptStreamer.h" 8 #include "bindings/core/v8/ScriptStreamer.h"
10 #include "bindings/core/v8/V8BindingForCore.h" 9 #include "bindings/core/v8/V8BindingForCore.h"
11 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
12 #include "core/dom/TaskRunnerHelper.h" 11 #include "core/dom/TaskRunnerHelper.h"
13 #include "core/frame/LocalFrame.h" 12 #include "core/frame/LocalFrame.h"
14 #include "core/frame/SubresourceIntegrity.h" 13 #include "core/frame/SubresourceIntegrity.h"
14 #include "platform/bindings/ScriptState.h"
15 #include "platform/loader/fetch/MemoryCache.h" 15 #include "platform/loader/fetch/MemoryCache.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 ClassicPendingScript* ClassicPendingScript::Create(ScriptElementBase* element, 19 ClassicPendingScript* ClassicPendingScript::Create(ScriptElementBase* element,
20 ScriptResource* resource) { 20 ScriptResource* resource) {
21 return new ClassicPendingScript(element, resource, TextPosition()); 21 return new ClassicPendingScript(element, resource, TextPosition());
22 } 22 }
23 23
24 ClassicPendingScript* ClassicPendingScript::Create( 24 ClassicPendingScript* ClassicPendingScript::Create(
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 KURL ClassicPendingScript::UrlForClassicScript() const { 250 KURL ClassicPendingScript::UrlForClassicScript() const {
251 return GetResource()->Url(); 251 return GetResource()->Url();
252 } 252 }
253 253
254 void ClassicPendingScript::RemoveFromMemoryCache() { 254 void ClassicPendingScript::RemoveFromMemoryCache() {
255 GetMemoryCache()->Remove(GetResource()); 255 GetMemoryCache()->Remove(GetResource());
256 } 256 }
257 257
258 } // namespace blink 258 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/AccessibleNode.h ('k') | third_party/WebKit/Source/core/dom/ClientRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698