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

Unified Diff: content/browser/accessibility/cross_platform_accessibility_browsertest.cc

Issue 2832023002: Replace SetUpInProcessBrowserTestFixture/TearDownInProcessBrowserTestFixture usage in content with … (Closed)
Patch Set: Created 3 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 | « no previous file | content/browser/speech/speech_recognition_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/cross_platform_accessibility_browsertest.cc
diff --git a/content/browser/accessibility/cross_platform_accessibility_browsertest.cc b/content/browser/accessibility/cross_platform_accessibility_browsertest.cc
index ee8613adf52af895efaa2589ca8c3dde028161fc..f585d90e124cbaf97406a89a6b4f001326de5341 100644
--- a/content/browser/accessibility/cross_platform_accessibility_browsertest.cc
+++ b/content/browser/accessibility/cross_platform_accessibility_browsertest.cc
@@ -64,8 +64,8 @@ class CrossPlatformAccessibilityBrowserTest : public ContentBrowserTest {
}
// ContentBrowserTest
- void SetUpInProcessBrowserTestFixture() override;
- void TearDownInProcessBrowserTestFixture() override;
+ void SetUpOnMainThread() override;
+ void TearDownOnMainThread() override;
protected:
std::string GetAttr(const ui::AXNode* node,
@@ -83,15 +83,14 @@ class CrossPlatformAccessibilityBrowserTest : public ContentBrowserTest {
DISALLOW_COPY_AND_ASSIGN(CrossPlatformAccessibilityBrowserTest);
};
-void CrossPlatformAccessibilityBrowserTest::SetUpInProcessBrowserTestFixture() {
+void CrossPlatformAccessibilityBrowserTest::SetUpOnMainThread() {
#if defined(OS_WIN)
ui::win::CreateATLModuleIfNeeded();
com_initializer_.reset(new base::win::ScopedCOMInitializer());
#endif
}
-void
-CrossPlatformAccessibilityBrowserTest::TearDownInProcessBrowserTestFixture() {
+void CrossPlatformAccessibilityBrowserTest::TearDownOnMainThread() {
#if defined(OS_WIN)
com_initializer_.reset();
#endif
« no previous file with comments | « no previous file | content/browser/speech/speech_recognition_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698