Index: third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp |
index 44b760286f2aa31589888345a5faab8a389bb514..e0d7a937ea9539fb9f415b16bf2dcb232853dd8f 100644 |
--- a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp |
@@ -36,7 +36,8 @@ void PromiseRejectionEvent::dispose() { |
} |
ScriptPromise PromiseRejectionEvent::promise(ScriptState* state) const { |
- // Return null when the promise is accessed by a different world than the world that created the promise. |
+ // Return null when the promise is accessed by a different world than the |
+ // world that created the promise. |
if (!m_scriptState || !m_scriptState->contextIsValid() || |
m_scriptState->world().worldId() != state->world().worldId()) |
return ScriptPromise(); |
@@ -45,7 +46,8 @@ ScriptPromise PromiseRejectionEvent::promise(ScriptState* state) const { |
} |
ScriptValue PromiseRejectionEvent::reason(ScriptState* state) const { |
- // Return null when the value is accessed by a different world than the world that created the value. |
+ // Return null when the value is accessed by a different world than the world |
+ // that created the value. |
if (m_reason.isEmpty() || !m_scriptState || |
!m_scriptState->contextIsValid() || |
m_scriptState->world().worldId() != state->world().worldId()) |