Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit d015fb7

Browse files
Fix -Wformat warnings in WebLoaderStrategy
https://bugs.webkit.org/show_bug.cgi?id=162553 Unreviewed Two of the format arguments are swapped. Fix them. * WebProcess/Network/WebLoaderStrategy.cpp: (WebKit::WebLoaderStrategy::scheduleLoad): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@206371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 810cc76 commit d015fb7

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Source/WebKit2/ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2016-09-26 Michael Catanzaro <[email protected]>
2+
3+
Fix -Wformat warnings in WebLoaderStrategy
4+
https://bugs.webkit.org/show_bug.cgi?id=162553
5+
6+
Unreviewed
7+
8+
Two of the format arguments are swapped. Fix them.
9+
10+
* WebProcess/Network/WebLoaderStrategy.cpp:
11+
(WebKit::WebLoaderStrategy::scheduleLoad):
12+
113
2016-09-25 Chris Dumez <[email protected]>
214

315
Regression(r206356): Caused crashes for !NETWORK_SESSION code path

Source/WebKit2/WebProcess/Network/WebLoaderStrategy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ void WebLoaderStrategy::scheduleLoad(ResourceLoader& resourceLoader, CachedResou
214214
ASSERT((loadParameters.webPageID && loadParameters.webFrameID) || loadParameters.clientCredentialPolicy == ClientCredentialPolicy::CannotAskClientForCredentials);
215215

216216
if (!WebProcess::singleton().networkConnection().connection().send(Messages::NetworkConnectionToWebProcess::ScheduleResourceLoad(loadParameters), 0)) {
217-
RELEASE_LOG_ERROR_IF_ALLOWED(resourceLoader, "scheduleLoad: Unable to schedule resource with the NetworkProcess (frame = %p, priority = %d, pageID = %llu, frameID = %llu, resourceID = %llu)", resourceLoader.frame(), static_cast<int>(resourceLoader.request().priority()), loadParameters.webPageID, loadParameters.identifier, loadParameters.webFrameID);
217+
RELEASE_LOG_ERROR_IF_ALLOWED(resourceLoader, "scheduleLoad: Unable to schedule resource with the NetworkProcess (frame = %p, priority = %d, pageID = %llu, frameID = %llu, resourceID = %llu)", resourceLoader.frame(), static_cast<int>(resourceLoader.request().priority()), loadParameters.webPageID, loadParameters.webFrameID, loadParameters.identifier);
218218
// We probably failed to schedule this load with the NetworkProcess because it had crashed.
219219
// This load will never succeed so we will schedule it to fail asynchronously.
220220
scheduleInternallyFailedLoad(resourceLoader);

0 commit comments

Comments
 (0)