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

Unified Diff: third_party/WebKit/WebCore/page/AccessibilityRenderObject.cpp

Issue 6315: Allow HAVE_ACCESSIBILITY to be turned off at build time (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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 | « third_party/WebKit/JavaScriptCore/wtf/Platform.h ('k') | webkit/port/page/AXObjectCacheMac.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/page/AccessibilityRenderObject.cpp
===================================================================
--- third_party/WebKit/WebCore/page/AccessibilityRenderObject.cpp (revision 2926)
+++ third_party/WebKit/WebCore/page/AccessibilityRenderObject.cpp (working copy)
@@ -1589,7 +1589,7 @@
ourrect = boundingBox;
}
-#if PLATFORM(MAC)
+#if PLATFORM(MAC) && HAVE(ACCESSIBILITY)
return m_renderer->document()->view()->contentsToScreen(ourrect);
#else
return ourrect;
@@ -1622,7 +1622,7 @@
IntPoint pointResult;
while (1) {
IntPoint ourpoint;
-#if PLATFORM(MAC)
+#if PLATFORM(MAC) && HAVE(ACCESSIBILITY)
ourpoint = frameView->screenToContents(point);
#else
ourpoint = point;
« no previous file with comments | « third_party/WebKit/JavaScriptCore/wtf/Platform.h ('k') | webkit/port/page/AXObjectCacheMac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698