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

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

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (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 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 16 matching lines...) Expand all
27 27
28 #include "bindings/core/v8/ScriptSourceCode.h" 28 #include "bindings/core/v8/ScriptSourceCode.h"
29 #include "bindings/core/v8/ScriptState.h" 29 #include "bindings/core/v8/ScriptState.h"
30 #include "bindings/core/v8/V8Binding.h" 30 #include "bindings/core/v8/V8Binding.h"
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/dom/ScriptElementBase.h" 32 #include "core/dom/ScriptElementBase.h"
33 #include "core/dom/TaskRunnerHelper.h" 33 #include "core/dom/TaskRunnerHelper.h"
34 #include "core/frame/LocalFrame.h" 34 #include "core/frame/LocalFrame.h"
35 #include "core/frame/SubresourceIntegrity.h" 35 #include "core/frame/SubresourceIntegrity.h"
36 #include "platform/SharedBuffer.h" 36 #include "platform/SharedBuffer.h"
37 #include "wtf/CurrentTime.h" 37 #include "platform/wtf/CurrentTime.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 PendingScript* PendingScript::Create(ScriptElementBase* element, 41 PendingScript* PendingScript::Create(ScriptElementBase* element,
42 ScriptResource* resource) { 42 ScriptResource* resource) {
43 return new PendingScript(element, resource, TextPosition()); 43 return new PendingScript(element, resource, TextPosition());
44 } 44 }
45 45
46 PendingScript* PendingScript::Create(ScriptElementBase* element, 46 PendingScript* PendingScript::Create(ScriptElementBase* element,
47 const TextPosition& starting_position) { 47 const TextPosition& starting_position) {
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 ScriptState* script_state = ToScriptStateForMainWorld(document->GetFrame()); 288 ScriptState* script_state = ToScriptStateForMainWorld(document->GetFrame());
289 if (!script_state) 289 if (!script_state)
290 return; 290 return;
291 291
292 ScriptStreamer::StartStreaming( 292 ScriptStreamer::StartStreaming(
293 this, streamer_type, document->GetFrame()->GetSettings(), script_state, 293 this, streamer_type, document->GetFrame()->GetSettings(), script_state,
294 TaskRunnerHelper::Get(TaskType::kNetworking, document)); 294 TaskRunnerHelper::Get(TaskType::kNetworking, document));
295 } 295 }
296 296
297 } // namespace blink 297 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/PendingScript.h ('k') | third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698