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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptValue.h

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/core/v8/ScriptValue.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h b/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
index efa8d4b28fdf27de50eb5b24114ed5b8ba7e0210..f9e43ed6e57af1050e9b45da44997dacf812441c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
@@ -71,18 +71,20 @@ class CORE_EXPORT ScriptValue final {
ScriptValue(ScriptState* scriptState, v8::Local<v8::Value> value)
: m_scriptState(scriptState),
- m_value(value.IsEmpty() ? nullptr : SharedPersistent<v8::Value>::create(
- value,
- scriptState->isolate())) {
+ m_value(value.IsEmpty() ? nullptr
+ : SharedPersistent<v8::Value>::create(
+ value,
+ scriptState->isolate())) {
ASSERT(isEmpty() || m_scriptState);
}
template <typename T>
ScriptValue(ScriptState* scriptState, v8::MaybeLocal<T> value)
: m_scriptState(scriptState),
- m_value(value.IsEmpty() ? nullptr : SharedPersistent<v8::Value>::create(
- value.ToLocalChecked(),
- scriptState->isolate())) {
+ m_value(value.IsEmpty() ? nullptr
+ : SharedPersistent<v8::Value>::create(
+ value.ToLocalChecked(),
+ scriptState->isolate())) {
ASSERT(isEmpty() || m_scriptState);
}

Powered by Google App Engine
This is Rietveld 408576698