| Index: third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp b/third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp
|
| index fd6042bb766fa77c6ca90825ef06b1d9b766174b..441bb2b18c20f807751251ff8f308984a7958265 100644
|
| --- a/third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp
|
| +++ b/third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp
|
| @@ -66,19 +66,21 @@ ScriptValue WebGLAny(ScriptState* scriptState, int value) {
|
| }
|
|
|
| ScriptValue WebGLAny(ScriptState* scriptState, unsigned value) {
|
| - return ScriptValue(
|
| - scriptState, v8::Integer::NewFromUnsigned(scriptState->isolate(),
|
| - static_cast<unsigned>(value)));
|
| + return ScriptValue(scriptState,
|
| + v8::Integer::NewFromUnsigned(
|
| + scriptState->isolate(), static_cast<unsigned>(value)));
|
| }
|
|
|
| ScriptValue WebGLAny(ScriptState* scriptState, int64_t value) {
|
| - return ScriptValue(scriptState, v8::Number::New(scriptState->isolate(),
|
| - static_cast<double>(value)));
|
| + return ScriptValue(
|
| + scriptState,
|
| + v8::Number::New(scriptState->isolate(), static_cast<double>(value)));
|
| }
|
|
|
| ScriptValue WebGLAny(ScriptState* scriptState, uint64_t value) {
|
| - return ScriptValue(scriptState, v8::Number::New(scriptState->isolate(),
|
| - static_cast<double>(value)));
|
| + return ScriptValue(
|
| + scriptState,
|
| + v8::Number::New(scriptState->isolate(), static_cast<double>(value)));
|
| }
|
|
|
| ScriptValue WebGLAny(ScriptState* scriptState, float value) {
|
| @@ -91,28 +93,33 @@ ScriptValue WebGLAny(ScriptState* scriptState, String value) {
|
| }
|
|
|
| ScriptValue WebGLAny(ScriptState* scriptState, WebGLObject* value) {
|
| - return ScriptValue(scriptState, ToV8(value, scriptState->context()->Global(),
|
| - scriptState->isolate()));
|
| + return ScriptValue(
|
| + scriptState,
|
| + ToV8(value, scriptState->context()->Global(), scriptState->isolate()));
|
| }
|
|
|
| ScriptValue WebGLAny(ScriptState* scriptState, DOMFloat32Array* value) {
|
| - return ScriptValue(scriptState, ToV8(value, scriptState->context()->Global(),
|
| - scriptState->isolate()));
|
| + return ScriptValue(
|
| + scriptState,
|
| + ToV8(value, scriptState->context()->Global(), scriptState->isolate()));
|
| }
|
|
|
| ScriptValue WebGLAny(ScriptState* scriptState, DOMInt32Array* value) {
|
| - return ScriptValue(scriptState, ToV8(value, scriptState->context()->Global(),
|
| - scriptState->isolate()));
|
| + return ScriptValue(
|
| + scriptState,
|
| + ToV8(value, scriptState->context()->Global(), scriptState->isolate()));
|
| }
|
|
|
| ScriptValue WebGLAny(ScriptState* scriptState, DOMUint8Array* value) {
|
| - return ScriptValue(scriptState, ToV8(value, scriptState->context()->Global(),
|
| - scriptState->isolate()));
|
| + return ScriptValue(
|
| + scriptState,
|
| + ToV8(value, scriptState->context()->Global(), scriptState->isolate()));
|
| }
|
|
|
| ScriptValue WebGLAny(ScriptState* scriptState, DOMUint32Array* value) {
|
| - return ScriptValue(scriptState, ToV8(value, scriptState->context()->Global(),
|
| - scriptState->isolate()));
|
| + return ScriptValue(
|
| + scriptState,
|
| + ToV8(value, scriptState->context()->Global(), scriptState->isolate()));
|
| }
|
|
|
| } // namespace blink
|
|
|