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

Unified Diff: third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp

Issue 2394653003: reflow comments in core/events,core/fileapi (Closed)
Patch Set: Created 4 years, 2 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/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())

Powered by Google App Engine
This is Rietveld 408576698