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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileWriter.cpp

Issue 2388423003: reflow comments in modules/[fetch,indexeddb] (Closed)
Patch Set: rebase 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/modules/filesystem/FileWriter.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp b/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp
index a09fdfc9b11f86331d54290c8010a5a012a4671b..5fd84a120477bacb5e569c77f67d6e66e124c559 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp
@@ -73,7 +73,8 @@ const AtomicString& FileWriter::interfaceName() const {
}
void FileWriter::contextDestroyed() {
- // Make sure we've actually got something to stop, and haven't already called abort().
+ // Make sure we've actually got something to stop, and haven't already called
+ // abort().
if (!writer() || m_readyState != kWriting)
return;
doOperation(OperationAbort);
@@ -104,7 +105,8 @@ void FileWriter::write(Blob* data, ExceptionState& exceptionState) {
m_bytesToWrite = data->size();
ASSERT(m_queuedOperation == OperationNone);
if (m_operationInProgress != OperationNone) {
- // We must be waiting for an abort to complete, since m_readyState wasn't kWriting.
+ // We must be waiting for an abort to complete, since m_readyState wasn't
+ // kWriting.
ASSERT(m_operationInProgress == OperationAbort);
m_queuedOperation = OperationWrite;
} else
@@ -143,7 +145,8 @@ void FileWriter::truncate(long long position, ExceptionState& exceptionState) {
m_truncateLength = position;
ASSERT(m_queuedOperation == OperationNone);
if (m_operationInProgress != OperationNone) {
- // We must be waiting for an abort to complete, since m_readyState wasn't kWriting.
+ // We must be waiting for an abort to complete, since m_readyState wasn't
+ // kWriting.
ASSERT(m_operationInProgress == OperationAbort);
m_queuedOperation = OperationTruncate;
} else

Powered by Google App Engine
This is Rietveld 408576698