| Index: chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc
|
| diff --git a/chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc b/chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc
|
| index 034655f4368ec431c508a6dbdbdf80aa9ab572e6..8a120cbb84df44ea1a96328c0e4097224372dd37 100644
|
| --- a/chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc
|
| +++ b/chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc
|
| @@ -97,7 +97,7 @@ TEST_F(MalwareDOMDetailsTest, Everything) {
|
| }
|
|
|
| { // >50 subframes, to verify kMaxNodes.
|
| - std::string html = "";
|
| + std::string html;
|
| for (int i = 0; i < 55; ++i) {
|
| // The iframe contents is just a number.
|
| GURL iframe_url(base::StringPrintf("%s%d", urlprefix, i));
|
| @@ -113,7 +113,7 @@ TEST_F(MalwareDOMDetailsTest, Everything) {
|
| }
|
|
|
| { // A page with >50 scripts, to verify kMaxNodes.
|
| - std::string html = "";
|
| + std::string html;
|
| for (int i = 0; i < 55; ++i) {
|
| // The iframe contents is just a number.
|
| GURL script_url(base::StringPrintf("%s%d", urlprefix, i));
|
|
|