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

Unified Diff: chrome/browser/accessibility/browser_accessibility_mac_unittest.mm

Issue 7648055: Add DCHECK to BrowserAccessibilityManager::Remove to detect undefined behavoir that may lead to a... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Address unit_tests errors on mac Created 9 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 | chrome/browser/accessibility/browser_accessibility_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/accessibility/browser_accessibility_mac_unittest.mm
===================================================================
--- chrome/browser/accessibility/browser_accessibility_mac_unittest.mm (revision 97086)
+++ chrome/browser/accessibility/browser_accessibility_mac_unittest.mm (working copy)
@@ -50,6 +50,7 @@
virtual void SetUp() {
CocoaTest::SetUp();
WebAccessibility root;
+ root.id = 1000;
root.location.set_width(500);
root.location.set_height(100);
root.role = WebAccessibility::ROLE_WEB_AREA;
@@ -57,12 +58,14 @@
ASCIIToUTF16("HelpText");
WebAccessibility child1;
+ child1.id = 1001;
child1.name = ASCIIToUTF16("Child1");
child1.location.set_width(250);
child1.location.set_height(100);
child1.role = WebAccessibility::ROLE_BUTTON;
WebAccessibility child2;
+ child2.id = 1002;
child2.location.set_x(250);
child2.location.set_width(250);
child2.location.set_height(100);
« no previous file with comments | « no previous file | chrome/browser/accessibility/browser_accessibility_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698