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

Unified Diff: chrome/test/selenium/selenium_test.cc

Issue 6902069: Increase warning level to 4 on Visual Studio (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed remaining issues Created 9 years, 8 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
« no previous file with comments | « build/common.gypi ('k') | net/third_party/nss/ssl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/selenium/selenium_test.cc
diff --git a/chrome/test/selenium/selenium_test.cc b/chrome/test/selenium/selenium_test.cc
index fa173bbe7ae2e4dc41b7ece1b17cf97009b13816..b7de83afbb75415646c7dffaabc8d4e2b2fdbccb 100644
--- a/chrome/test/selenium/selenium_test.cc
+++ b/chrome/test/selenium/selenium_test.cc
@@ -118,10 +118,10 @@ class SeleniumTest : public UITest {
std::string cookie;
ASSERT_TRUE(tab->GetCookieByName(test_url, "__num_tests_total", &cookie));
- total->swap(UTF8ToWide(cookie));
+ *total = UTF8ToWide(cookie);
ASSERT_FALSE(total->empty());
ASSERT_TRUE(tab->GetCookieByName(test_url, "__tests_failed", &cookie));
- failed->swap(UTF8ToWide(cookie));
+ *failed = UTF8ToWide(cookie);
// The __tests_failed cookie will be empty if all the tests pass.
#endif
}
« no previous file with comments | « build/common.gypi ('k') | net/third_party/nss/ssl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698