Commit abe5bdbe authored by haraken@chromium.org's avatar haraken@chromium.org

Do not use V8TestingScope::create in WebSocketTest.cpp

TBR=yhirano

Review URL: https://codereview.chromium.org/310453002

git-svn-id: svn://svn.chromium.org/blink/trunk@175117 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 9197ea62
...@@ -102,8 +102,8 @@ public: ...@@ -102,8 +102,8 @@ public:
: m_pageHolder(DummyPageHolder::create()) : m_pageHolder(DummyPageHolder::create())
, m_websocket(WebSocketWithMockChannel::create(&m_pageHolder->document())) , m_websocket(WebSocketWithMockChannel::create(&m_pageHolder->document()))
, m_channel(m_websocket->channel()) , m_channel(m_websocket->channel())
, m_executionScope(V8TestingScope::create(v8::Isolate::GetCurrent())) , m_executionScope(v8::Isolate::GetCurrent())
, m_exceptionState(ExceptionState::ConstructionContext, "property", "interface", m_executionScope->scriptState()->context()->Global(), m_executionScope->isolate()) , m_exceptionState(ExceptionState::ConstructionContext, "property", "interface", m_executionScope.scriptState()->context()->Global(), m_executionScope.isolate())
{ {
} }
...@@ -123,7 +123,7 @@ public: ...@@ -123,7 +123,7 @@ public:
OwnPtr<DummyPageHolder> m_pageHolder; OwnPtr<DummyPageHolder> m_pageHolder;
RefPtrWillBePersistent<WebSocketWithMockChannel> m_websocket; RefPtrWillBePersistent<WebSocketWithMockChannel> m_websocket;
RefPtrWillBePersistent<MockWebSocketChannel> m_channel; RefPtrWillBePersistent<MockWebSocketChannel> m_channel;
OwnPtr<V8TestingScope> m_executionScope; V8TestingScope m_executionScope;
ExceptionState m_exceptionState; ExceptionState m_exceptionState;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment