| 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;
|
|
|