| Index: third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| index c846b48bf55893e4c7b5dfa17c919c9467f88247..fc7de6b435e9d035096e0b4898d00ca994ae2191 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| @@ -11,8 +11,9 @@
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8BindingForTesting.h"
|
| #include "bindings/core/v8/V8ScriptRunner.h"
|
| -#include "core/dom/ClassicPendingScript.h"
|
| #include "core/dom/ClassicScript.h"
|
| +#include "core/dom/Element.h"
|
| +#include "core/dom/PendingScript.h"
|
| #include "core/frame/Settings.h"
|
| #include "platform/heap/Handle.h"
|
| #include "platform/testing/UnitTestHelpers.h"
|
| @@ -35,10 +36,9 @@ class ScriptStreamingTest : public ::testing::Test {
|
| settings_(Settings::Create()),
|
| resource_request_("http://www.streaming-test.com/"),
|
| resource_(ScriptResource::Create(resource_request_, "UTF-8")),
|
| - pending_script_(
|
| - ClassicPendingScript::CreateForTesting(resource_.Get())) {
|
| + pending_script_(PendingScript::CreateForTesting(resource_.Get())) {
|
| resource_->SetStatus(ResourceStatus::kPending);
|
| - pending_script_ = ClassicPendingScript::CreateForTesting(resource_.Get());
|
| + pending_script_ = PendingScript::CreateForTesting(resource_.Get());
|
| ScriptStreamer::SetSmallScriptThresholdForTesting(0);
|
| }
|
|
|
| @@ -47,9 +47,7 @@ class ScriptStreamingTest : public ::testing::Test {
|
| pending_script_->Dispose();
|
| }
|
|
|
| - ClassicPendingScript* GetPendingScript() const {
|
| - return pending_script_.Get();
|
| - }
|
| + PendingScript* GetPendingScript() const { return pending_script_.Get(); }
|
|
|
| protected:
|
| void AppendData(const char* data) {
|
| @@ -92,7 +90,7 @@ class ScriptStreamingTest : public ::testing::Test {
|
| // ScriptResource::appendData.
|
| ResourceRequest resource_request_;
|
| Persistent<ScriptResource> resource_;
|
| - Persistent<ClassicPendingScript> pending_script_;
|
| + Persistent<PendingScript> pending_script_;
|
| };
|
|
|
| class TestPendingScriptClient
|
|
|