Index: content/browser/transition_request_manager.cc |
diff --git a/content/browser/transition_request_manager.cc b/content/browser/transition_request_manager.cc |
index 680c2d4c4eb66eb810f3889bb14288aa825d757a..aefac17c9e4ac9c18be5175cf6ea2099dd4b4ca6 100644 |
--- a/content/browser/transition_request_manager.cc |
+++ b/content/browser/transition_request_manager.cc |
@@ -7,6 +7,7 @@ |
#include "base/command_line.h" |
#include "base/memory/singleton.h" |
#include "base/metrics/field_trial.h" |
+#include "base/strings/string_split.h" |
#include "base/strings/string_util.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/common/content_switches.h" |
@@ -23,7 +24,7 @@ bool EnumerateLinkHeaders( |
void** iter, |
const std::string& rel, |
std::string* url, |
- std::vector<std::pair<std::string, std::string> >* attributes) { |
+ base::StringPairs* attributes) { |
std::string header_body; |
bool rel_matched = false; |
while (!rel_matched && headers->EnumerateHeader(iter, "link", &header_body)) { |
@@ -89,7 +90,8 @@ void TransitionRequestManager::ParseTransitionStylesheetsFromHeaders( |
return; |
std::string transition_stylesheet; |
- std::vector<std::pair<std::string, std::string> > attributes; |
+ base::StringPairs attributes; |
+ //std::vector<std::pair<std::string, std::string> > attributes; |
Avi (use Gerrit)
2014/09/25 04:59:15
Do not commit commented-out lines.
MRV
2014/09/25 05:15:28
Done.
|
void* header_iter = NULL; |
while (EnumerateLinkHeaders(headers, |
&header_iter, |