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

Unified Diff: third_party/WebKit/Source/platform/weborigin/SecurityOriginHash.h

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/platform/weborigin/SecurityOriginHash.h
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOriginHash.h b/third_party/WebKit/Source/platform/weborigin/SecurityOriginHash.h
index 059c0c49c0459ca62b88773c8e3d163db6cb04ac..6757ac44790421a75c959e4a76068c4c86f71772 100644
--- a/third_party/WebKit/Source/platform/weborigin/SecurityOriginHash.h
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityOriginHash.h
@@ -42,9 +42,10 @@ struct SecurityOriginHash {
unsigned hashCodes[4] = {
origin->protocol().impl() ? origin->protocol().impl()->hash() : 0,
origin->host().impl() ? origin->host().impl()->hash() : 0,
- origin->port(), (origin->suborigin()->name().impl())
- ? origin->suborigin()->name().impl()->hash()
- : 0};
+ origin->port(),
+ (origin->suborigin()->name().impl())
+ ? origin->suborigin()->name().impl()->hash()
+ : 0};
return StringHasher::hashMemory<sizeof(hashCodes)>(hashCodes);
}
static unsigned hash(const RefPtr<SecurityOrigin>& origin) {

Powered by Google App Engine
This is Rietveld 408576698