Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698