| Index: third_party/WebKit/Source/bindings/core/v8/ToV8Test.cpp
 | 
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8Test.cpp b/third_party/WebKit/Source/bindings/core/v8/ToV8Test.cpp
 | 
| index 4f1e054e9d0c94a0a0072c819a0861801e14be15..9306a9814ef4efe5d8c0d3383d24b11736c615d8 100644
 | 
| --- a/third_party/WebKit/Source/bindings/core/v8/ToV8Test.cpp
 | 
| +++ b/third_party/WebKit/Source/bindings/core/v8/ToV8Test.cpp
 | 
| @@ -303,6 +303,17 @@ TEST_F(ToV8Test, basicTypeHeapVectors)
 | 
|      TEST_TOV8("true,true,false", boolVector);
 | 
|  }
 | 
|  
 | 
| +TEST_F(ToV8Test, withScriptState)
 | 
| +{
 | 
| +    ScriptValue value(m_scope.scriptState(), v8::Number::New(m_scope.isolate(), 1234.0));
 | 
| +
 | 
| +    v8::Local<v8::Value> actual = toV8(value, m_scope.scriptState());
 | 
| +    EXPECT_FALSE(actual.IsEmpty());
 | 
| +
 | 
| +    double actualAsNumber = actual.As<v8::Number>()->Value();
 | 
| +    EXPECT_EQ(1234.0, actualAsNumber);
 | 
| +}
 | 
| +
 | 
|  } // namespace
 | 
|  
 | 
|  } // namespace blink
 | 
| 
 |