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

Unified Diff: Source/modules/serviceworkers/RequestInit.cpp

Issue 644473006: Rename 'ScalarValueString' to 'USVString' to match Web IDL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/serviceworkers/Request.idl ('k') | Source/modules/serviceworkers/Response.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/RequestInit.cpp
diff --git a/Source/modules/serviceworkers/RequestInit.cpp b/Source/modules/serviceworkers/RequestInit.cpp
index 9a952b750c34e812dd851f8f544d7a743c247dc5..fdb4b89f6ac7aeaf44997bd191fff83a5718d6ea 100644
--- a/Source/modules/serviceworkers/RequestInit.cpp
+++ b/Source/modules/serviceworkers/RequestInit.cpp
@@ -78,7 +78,7 @@ RequestInit::RequestInit(ExecutionContext* context, const Dictionary& options, E
}
blobData->setContentType(AtomicString("multipart/form-data; boundary=", AtomicString::ConstructFromLiteral) + httpBody->boundary().data());
} else if (body->IsString()) {
- String stringValue(toScalarValueString(body, exceptionState));
+ String stringValue(toUSVString(body, exceptionState));
blobData->appendText(stringValue, false);
blobData->setContentType("text/plain;charset=UTF-8");
} else {
« no previous file with comments | « Source/modules/serviceworkers/Request.idl ('k') | Source/modules/serviceworkers/Response.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698