| 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 dbf89f72b9e0315c0ae769136ab34609bf7f5d5d..6aac22316ce606238adcc154d0bea53c54973ae8 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| @@ -12,8 +12,8 @@
|
| #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/PendingScript.h"
|
| #include "core/frame/Settings.h"
|
| #include "platform/heap/Handle.h"
|
| #include "platform/testing/UnitTestHelpers.h"
|
| @@ -36,9 +36,10 @@ class ScriptStreamingTest : public ::testing::Test {
|
| settings_(Settings::Create()),
|
| resource_request_("http://www.streaming-test.com/"),
|
| resource_(ScriptResource::Create(resource_request_, "UTF-8")),
|
| - pending_script_(PendingScript::CreateForTesting(resource_.Get())) {
|
| + pending_script_(
|
| + ClassicPendingScript::CreateForTesting(resource_.Get())) {
|
| resource_->SetStatus(ResourceStatus::kPending);
|
| - pending_script_ = PendingScript::CreateForTesting(resource_.Get());
|
| + pending_script_ = ClassicPendingScript::CreateForTesting(resource_.Get());
|
| ScriptStreamerImpl::SetSmallScriptThresholdForTesting(0);
|
| }
|
|
|
| @@ -47,7 +48,9 @@ class ScriptStreamingTest : public ::testing::Test {
|
| pending_script_->Dispose();
|
| }
|
|
|
| - PendingScript* GetPendingScript() const { return pending_script_.Get(); }
|
| + ClassicPendingScript* GetPendingScript() const {
|
| + return pending_script_.Get();
|
| + }
|
|
|
| protected:
|
| void AppendData(const char* data) {
|
| @@ -90,7 +93,7 @@ class ScriptStreamingTest : public ::testing::Test {
|
| // ScriptResource::appendData.
|
| ResourceRequest resource_request_;
|
| Persistent<ScriptResource> resource_;
|
| - Persistent<PendingScript> pending_script_;
|
| + Persistent<ClassicPendingScript> pending_script_;
|
| };
|
|
|
| class TestPendingScriptClient
|
|
|