Fix unit test leak in DeviceOAuth2TokenServiceTest.

BUG=233149

Review URL: https://chromiumcodereview.appspot.com/14367006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195365 0039d316-1c4b-4281-b951-d872f2087c98
parent 32da87d6
......@@ -61,9 +61,7 @@ TEST_F(DeviceOAuth2TokenServiceTest, SaveEncryptedToken) {
.WillOnce(Return("test-token"));
DeviceOAuth2TokenService oauth2_service(
new net::TestURLRequestContextGetter(
content::BrowserThread::GetMessageLoopProxyForThread(
content::BrowserThread::IO)),
new net::TestURLRequestContextGetter(message_loop_.message_loop_proxy()),
scoped_testing_local_state_.Get());
ASSERT_EQ("", oauth2_service.GetRefreshToken());
......
......@@ -7059,12 +7059,6 @@
...
fun:_ZN10extensions51WebstoreInlineInstallerTest_DomainVerification_Test8TestBodyEv
}
{
bug_233149
Memcheck:Leak
fun:_Znw*
fun:_ZN8chromeos52DeviceOAuth2TokenServiceTest_SaveEncryptedToken_Test8TestBodyEv
}
{
bug_233541
Memcheck:Leak
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment