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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceLoader.cpp

Issue 2417173002: Loading: bulk style errors fix in core/fetch (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/fetch/ResourceLoader.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp b/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
index 86aef8465bb1cceb8d75a3123e94c0e45200e346..61b47c7850574d477ef9884ff14fd704ad6d9155 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
+++ b/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
@@ -112,9 +112,10 @@ void ResourceLoader::didDownloadData(WebURLLoader*,
void ResourceLoader::didChangePriority(ResourceLoadPriority loadPriority,
int intraPriorityValue) {
- if (m_loader)
+ if (m_loader) {
m_loader->didChangePriority(
static_cast<WebURLRequest::Priority>(loadPriority), intraPriorityValue);
+ }
}
void ResourceLoader::cancel() {

Powered by Google App Engine
This is Rietveld 408576698