Title: [139421] trunk/Source/WebKit2
- Revision
- 139421
- Author
- [email protected]
- Date
- 2013-01-11 02:30:15 -0800 (Fri, 11 Jan 2013)
Log Message
[WK2] Missing HAVE(ACCESSIBILITY) guards to some atk/ accessibility files.
https://bugs.webkit.org/show_bug.cgi?id=106447
Patch by Krzysztof Czech <[email protected]> on 2013-01-11
Reviewed by Andreas Kling.
Files do not have HAVE(ACCESSIBILITY) guards.
This is source of potential build breakes, when macro is not enabled.
* WebProcess/WebPage/atk/WebPageAccessibilityObject.h:
* WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (139420 => 139421)
--- trunk/Source/WebKit2/ChangeLog 2013-01-11 10:11:47 UTC (rev 139420)
+++ trunk/Source/WebKit2/ChangeLog 2013-01-11 10:30:15 UTC (rev 139421)
@@ -1,3 +1,16 @@
+2013-01-11 Krzysztof Czech <[email protected]>
+
+ [WK2] Missing HAVE(ACCESSIBILITY) guards to some atk/ accessibility files.
+ https://bugs.webkit.org/show_bug.cgi?id=106447
+
+ Reviewed by Andreas Kling.
+
+ Files do not have HAVE(ACCESSIBILITY) guards.
+ This is source of potential build breakes, when macro is not enabled.
+
+ * WebProcess/WebPage/atk/WebPageAccessibilityObject.h:
+ * WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp:
+
2013-01-11 KwangYong Choi <[email protected]>
[EFL] Fix unused parameter build error
Modified: trunk/Source/WebKit2/WebProcess/WebPage/atk/WebPageAccessibilityObject.h (139420 => 139421)
--- trunk/Source/WebKit2/WebProcess/WebPage/atk/WebPageAccessibilityObject.h 2013-01-11 10:11:47 UTC (rev 139420)
+++ trunk/Source/WebKit2/WebProcess/WebPage/atk/WebPageAccessibilityObject.h 2013-01-11 10:30:15 UTC (rev 139421)
@@ -26,6 +26,8 @@
#ifndef WebPageAccessibilityObject_h
#define WebPageAccessibilityObject_h
+#if HAVE(ACCESSIBILITY)
+
#include <atk/atk.h>
namespace WebKit {
@@ -61,4 +63,5 @@
G_END_DECLS
+#endif
#endif // WebPageAccessibilityObject_h
Modified: trunk/Source/WebKit2/WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp (139420 => 139421)
--- trunk/Source/WebKit2/WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp 2013-01-11 10:11:47 UTC (rev 139420)
+++ trunk/Source/WebKit2/WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp 2013-01-11 10:30:15 UTC (rev 139421)
@@ -26,6 +26,8 @@
#include "config.h"
#include "WebPageAccessibilityObject.h"
+#if HAVE(ACCESSIBILITY)
+
#include "WebPage.h"
#include <WebCore/AXObjectCache.h>
#include <WebCore/Frame.h>
@@ -138,3 +140,5 @@
return;
atk_object_set_parent(rootObject, ATK_OBJECT(accessible));
}
+
+#endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes