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

Unified Diff: third_party/WebKit/Source/core/fileapi/FileReader.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/fileapi/FileReader.cpp
diff --git a/third_party/WebKit/Source/core/fileapi/FileReader.cpp b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
index 948ac056ca9b644a6c84ec8d0cc1ba79940ff7c6..036e3606fe2fce495f2937c28e2133521bf91c55 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReader.cpp
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
@@ -267,7 +267,8 @@ void FileReader::readAsDataURL(Blob* blob, ExceptionState& exceptionState) {
void FileReader::readInternal(Blob* blob,
FileReaderLoader::ReadType type,
ExceptionState& exceptionState) {
- // If multiple concurrent read methods are called on the same FileReader, InvalidStateError should be thrown when the state is kLoading.
+ // If multiple concurrent read methods are called on the same FileReader,
+ // InvalidStateError should be thrown when the state is kLoading.
if (m_state == kLoading) {
exceptionState.throwDOMException(
InvalidStateError, "The object is already busy reading Blobs.");
@@ -288,7 +289,8 @@ void FileReader::readInternal(Blob* blob,
return;
}
- // A document loader will not load new resources once the Document has detached from its frame.
+ // A document loader will not load new resources once the Document has
+ // detached from its frame.
if (context->isDocument() && !toDocument(context)->frame()) {
exceptionState.throwDOMException(
AbortError,
@@ -333,7 +335,9 @@ void FileReader::abort() {
}
m_loadingState = LoadingStateAborted;
- // Schedule to have the abort done later since abort() might be called from the event handler and we do not want the resource loading code to be in the stack.
+ // Schedule to have the abort done later since abort() might be called from
+ // the event handler and we do not want the resource loading code to be in the
+ // stack.
getExecutionContext()->postTask(
BLINK_FROM_HERE,
createSameThreadTask(&delayedAbort, wrapPersistent(this)));
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileError.cpp ('k') | third_party/WebKit/Source/core/fileapi/FileReaderLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698