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

Unified Diff: extensions/renderer/api/serial/serial_api_unittest.cc

Issue 502893002: Fix some leaks and failures under valgrind in JS extensions unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetUp Created 6 years, 4 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 | « no previous file | extensions/renderer/module_system_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/api/serial/serial_api_unittest.cc
diff --git a/extensions/renderer/api/serial/serial_api_unittest.cc b/extensions/renderer/api/serial/serial_api_unittest.cc
index 799ecbb81fe53f69998894a3c20b46dd3289f5a0..27c14f357d6b2640bc3d999c575811d6c649bf74 100644
--- a/extensions/renderer/api/serial/serial_api_unittest.cc
+++ b/extensions/renderer/api/serial/serial_api_unittest.cc
@@ -313,12 +313,6 @@ class SerialApiTest : public ApiTestBase {
&SerialApiTest::CreateSerialService, base::Unretained(this)));
}
- virtual void TearDown() OVERRIDE {
- if (io_handler_.get())
- EXPECT_TRUE(io_handler_->HasOneRef());
- ApiTestBase::TearDown();
- }
-
scoped_refptr<TestIoHandlerBase> io_handler_;
private:
« no previous file with comments | « no previous file | extensions/renderer/module_system_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698