Commit 272ca9d7 authored by horo@chromium.org's avatar horo@chromium.org

remove meaningless substitution.

BUG=

Review URL: https://codereview.chromium.org/725503002

git-svn-id: svn://svn.chromium.org/blink/trunk@185277 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2499df59
......@@ -28,7 +28,7 @@ Request* Request::createRequestWithRequestData(ExecutionContext* context, FetchR
if (init.mode == "same-origin") {
request->setMode(WebURLRequest::FetchRequestModeSameOrigin);
} else if (init.mode == "no-cors") {
request->setMode(mode = WebURLRequest::FetchRequestModeNoCORS);
request->setMode(WebURLRequest::FetchRequestModeNoCORS);
} else if (init.mode == "cors") {
request->setMode(WebURLRequest::FetchRequestModeCORS);
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment