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

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

Issue 2864953002: Split out the MSCOM pieces of BrowserAccessibilityWin into a seperate class. (Closed)
Patch Set: Created 3 years, 7 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
Index: content/browser/accessibility/accessibility_event_recorder_win.cc
diff --git a/content/browser/accessibility/accessibility_event_recorder_win.cc b/content/browser/accessibility/accessibility_event_recorder_win.cc
index 7d435d77c1ef1b88dd0a09abaa52fee00ce99c35..33ac6743d601e3f360a2975499257248edce9153 100644
--- a/content/browser/accessibility/accessibility_event_recorder_win.cc
+++ b/content/browser/accessibility/accessibility_event_recorder_win.cc
@@ -60,7 +60,7 @@ std::string BstrToUTF8(BSTR bstr) {
// Pretty-print the embedded object character as <obj> so that test output
// is human-readable.
base::StringPiece16 embedded_character(
- &BrowserAccessibilityWin::kEmbeddedCharacter, 1);
+ &BrowserAccessibilityComWin::kEmbeddedCharacter, 1);
base::ReplaceChars(str16, embedded_character, L"<obj>", &str16);
return base::UTF16ToUTF8(str16);
@@ -287,7 +287,7 @@ HRESULT AccessibilityEventRecorderWin::AccessibleObjectFromWindowWrapper(
if (accessibility_hwnd != hwnd)
return E_FAIL;
- IAccessible* obj = ToBrowserAccessibilityWin(manager_->GetRoot());
+ IAccessible* obj = ToBrowserAccessibilityComWin(manager_->GetRoot());
obj->AddRef();
*ppv_object = obj;
return S_OK;

Powered by Google App Engine
This is Rietveld 408576698