Index: content/browser/accessibility/browser_accessibility_mac_unittest.mm |
diff --git a/content/browser/accessibility/browser_accessibility_mac_unittest.mm b/content/browser/accessibility/browser_accessibility_mac_unittest.mm |
index c85957fab59e7d2773e4897dc0a8611b91dad70a..0b2511dc09d505c221343fe415b3c107b2203832 100644 |
--- a/content/browser/accessibility/browser_accessibility_mac_unittest.mm |
+++ b/content/browser/accessibility/browser_accessibility_mac_unittest.mm |
@@ -8,6 +8,7 @@ |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
#include "content/browser/accessibility/browser_accessibility_cocoa.h" |
+#include "content/browser/accessibility/browser_accessibility_mac.h" |
#include "content/browser/accessibility/browser_accessibility_manager.h" |
#include "content/browser/accessibility/browser_accessibility_manager_mac.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -53,7 +54,7 @@ class BrowserAccessibilityTest : public ui::CocoaTest { |
nil, |
MakeAXTreeUpdate(root, child1, child2), |
NULL)); |
- accessibility_.reset([manager_->GetRoot()->ToBrowserAccessibilityCocoa() |
+ accessibility_.reset([ToBrowserAccessibilityCocoa(manager_->GetRoot()) |
retain]); |
} |