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

Unified Diff: content/browser/accessibility/dump_accessibility_browsertest_base.h

Issue 1505903002: Don't require expectations file for DumpAccessibility tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Suppress lsan Created 5 years 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
Index: content/browser/accessibility/dump_accessibility_browsertest_base.h
diff --git a/content/browser/accessibility/dump_accessibility_browsertest_base.h b/content/browser/accessibility/dump_accessibility_browsertest_base.h
index 591d5b99f55a339a1e328c4b589d83ea58b57670..345f7afd52db4448e920293a9e73c9aa813fa2c3 100644
--- a/content/browser/accessibility/dump_accessibility_browsertest_base.h
+++ b/content/browser/accessibility/dump_accessibility_browsertest_base.h
@@ -5,6 +5,7 @@
#include <string>
#include <vector>
+#include "base/debug/leak_annotations.h"
#include "base/strings/string16.h"
#include "content/browser/accessibility/accessibility_tree_formatter.h"
#include "content/public/test/content_browser_test.h"
@@ -85,6 +86,11 @@ class DumpAccessibilityTestBase : public ContentBrowserTest {
// The default filters plus the filters loaded from the test file.
std::vector<AccessibilityTreeFormatter::Filter> filters_;
+
+#if defined(LEAK_SANITIZER) && !defined(OS_NACL)
+ // http://crbug.com/568674
+ ScopedLeakSanitizerDisabler lsan_disabler;
+#endif
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698