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

Unified Diff: third_party/WebKit/Source/modules/fetch/Response.cpp

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/modules/fetch/Response.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/Response.cpp b/third_party/WebKit/Source/modules/fetch/Response.cpp
index b4230f41cae01d91b933b3359658bc275b0460fe..7476a48f13281db94a133bed85f8f4e1bd8e81a0 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.cpp
+++ b/third_party/WebKit/Source/modules/fetch/Response.cpp
@@ -63,8 +63,9 @@ FetchResponseData* createFetchResponseDataFromWebResponse(
}
response->replaceBodyStreamBuffer(new BodyStreamBuffer(
- scriptState, new BlobBytesConsumer(scriptState->getExecutionContext(),
- webResponse.blobDataHandle())));
+ scriptState,
+ new BlobBytesConsumer(scriptState->getExecutionContext(),
+ webResponse.blobDataHandle())));
// Filter the response according to |webResponse|'s ResponseType.
switch (webResponse.responseType()) {
@@ -146,13 +147,15 @@ Response* Response::create(ScriptState* scriptState,
new BlobBytesConsumer(executionContext, blob->blobDataHandle()));
contentType = blob->type();
} else if (body->IsArrayBuffer()) {
- bodyBuffer = new BodyStreamBuffer(
- scriptState, new FormDataBytesConsumer(
- V8ArrayBuffer::toImpl(body.As<v8::Object>())));
+ bodyBuffer =
+ new BodyStreamBuffer(scriptState,
+ new FormDataBytesConsumer(
+ V8ArrayBuffer::toImpl(body.As<v8::Object>())));
} else if (body->IsArrayBufferView()) {
bodyBuffer = new BodyStreamBuffer(
- scriptState, new FormDataBytesConsumer(
- V8ArrayBufferView::toImpl(body.As<v8::Object>())));
+ scriptState,
+ new FormDataBytesConsumer(
+ V8ArrayBufferView::toImpl(body.As<v8::Object>())));
} else if (V8FormData::hasInstance(body, isolate)) {
RefPtr<EncodedFormData> formData =
V8FormData::toImpl(body.As<v8::Object>())->encodeMultiPartFormData();

Powered by Google App Engine
This is Rietveld 408576698