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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoaderTest.cpp

Issue 2415373002: Loading: bulk style errors fix in core/loader (Closed)
Patch Set: Created 4 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/core/loader/PingLoaderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoaderTest.cpp b/third_party/WebKit/Source/core/loader/PingLoaderTest.cpp
index 51abb789bd6037d7088977adca00a3fba8550aab..8fb1801793a9104e31e0592644987233f6daa079 100644
--- a/third_party/WebKit/Source/core/loader/PingLoaderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoaderTest.cpp
@@ -59,9 +59,10 @@ class PingLoaderTest : public ::testing::Test {
PingLoader::sendLinkAuditPing(&m_pageHolder->frame(), pingURL,
destinationURL);
const ResourceRequest& pingRequest = m_client->pingRequest();
- if (!pingRequest.isNull())
+ if (!pingRequest.isNull()) {
EXPECT_EQ(destinationURL.getString(),
pingRequest.httpHeaderField("Ping-To"));
+ }
return pingRequest;
}

Powered by Google App Engine
This is Rietveld 408576698