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

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

Issue 1391583002: Introduce "navigate" mode in Requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/fetch/RequestInit.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/RequestInit.cpp b/third_party/WebKit/Source/modules/fetch/RequestInit.cpp
index a13e08209986fc0a8c978713f9a42086457d5878..166ed6edc05b7e944a3efb1e56574fa41078c1a5 100644
--- a/third_party/WebKit/Source/modules/fetch/RequestInit.cpp
+++ b/third_party/WebKit/Source/modules/fetch/RequestInit.cpp
@@ -23,7 +23,7 @@
namespace blink {
RequestInit::RequestInit(ExecutionContext* context, const Dictionary& options, ExceptionState& exceptionState)
- : opaque(false), isReferrerSet(false)
+ : opaque(false), isAnyMembersSet(false)
{
bool areAnyMembersSet = false;
yhirano 2015/10/16 18:15:53 You can use the member variable directly instead o
shiva.jm 2015/10/19 09:03:49 Done.
@@ -61,7 +61,7 @@ RequestInit::RequestInit(ExecutionContext* context, const Dictionary& options, E
referrer = Referrer("about:client", ReferrerPolicyDefault);
if (isReferrerStringSet)
referrer.referrer = referrerString;
- isReferrerSet = true;
+ isAnyMembersSet = true;
}
if (!isBodySet || v8Body->IsUndefined() || v8Body->IsNull())

Powered by Google App Engine
This is Rietveld 408576698