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

Issue 10885019: Fix for failing unit tests PasswordStoreDefaultTest.* (Closed)

Created:
8 years, 3 months ago by Ramya
Modified:
8 years, 3 months ago
Reviewers:
Yaron, Ilya Sherman
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Fix for failing unit tests PasswordStoreDefaultTest.* There seems to a bug in STLport for Android because of which copying a vector into a set using expectations(first.begin(), first.end()) causes a crash. If we instead use std::copy(first.begin(), first.end(), std::inserter(expectations, expectations.begin())); there is no crash. BUG=144161 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154214

Patch Set 1 #

Patch Set 2 : Change only the method we copy the vector into a set #

Total comments: 2

Patch Set 3 : Adding comment to explain the change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M build/android/gtest_filter/unit_tests_disabled View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_form_data.cc View 1 2 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Ramya
8 years, 3 months ago (2012-08-29 21:24:10 UTC) #1
Ilya Sherman
LGTM with nit https://chromiumcodereview.appspot.com/10885019/diff/2001/chrome/browser/password_manager/password_form_data.cc File chrome/browser/password_manager/password_form_data.cc (right): https://chromiumcodereview.appspot.com/10885019/diff/2001/chrome/browser/password_manager/password_form_data.cc#newcode81 chrome/browser/password_manager/password_form_data.cc:81: expectations.begin())); nit: Please add a comment ...
8 years, 3 months ago (2012-08-29 22:53:51 UTC) #2
Ramya
PTAL http://codereview.chromium.org/10885019/diff/2001/chrome/browser/password_manager/password_form_data.cc File chrome/browser/password_manager/password_form_data.cc (right): http://codereview.chromium.org/10885019/diff/2001/chrome/browser/password_manager/password_form_data.cc#newcode81 chrome/browser/password_manager/password_form_data.cc:81: expectations.begin())); On 2012/08/29 22:53:51, Ilya Sherman wrote: > ...
8 years, 3 months ago (2012-08-29 23:01:33 UTC) #3
Ilya Sherman
LGTM, thanks :)
8 years, 3 months ago (2012-08-29 23:12:36 UTC) #4
Yaron
lgtm
8 years, 3 months ago (2012-08-29 23:16:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cramya@chromium.org/10885019/5001
8 years, 3 months ago (2012-08-30 16:37:23 UTC) #6
commit-bot: I haz the power
8 years, 3 months ago (2012-08-30 18:42:10 UTC) #7
Change committed as 154214

Powered by Google App Engine
This is Rietveld 408576698