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

Unified Diff: third_party/WebKit/Source/core/html/parser/ResourcePreloader.cpp

Issue 2043753002: Declarative resource hints go through mojo IPC to //content Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use unique_ptr to avoid memory leaks in unit tests Created 4 years, 6 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/html/parser/ResourcePreloader.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/ResourcePreloader.cpp b/third_party/WebKit/Source/core/html/parser/ResourcePreloader.cpp
index 48bb7aee026ab4412557065e1bf99c8555e8430e..2638c1f55a1e27aebebd28e8e01a0d25a7355d38 100644
--- a/third_party/WebKit/Source/core/html/parser/ResourcePreloader.cpp
+++ b/third_party/WebKit/Source/core/html/parser/ResourcePreloader.cpp
@@ -3,18 +3,16 @@
// found in the LICENSE file.
#include "core/html/parser/ResourcePreloader.h"
-#include "core/loader/NetworkHintsInterface.h"
namespace blink {
void ResourcePreloader::takeAndPreload(PreloadRequestStream& r)
{
PreloadRequestStream requests;
- NetworkHintsInterfaceImpl networkHintsInterface;
requests.swap(r);
for (PreloadRequestStream::iterator it = requests.begin(); it != requests.end(); ++it)
- preload(std::move(*it), networkHintsInterface);
+ preload(std::move(*it));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698