summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebCore/bindings/js/JSDOMWindowBase.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/WebCore/bindings/js/JSDOMWindowBase.cpp b/WebCore/bindings/js/JSDOMWindowBase.cpp
index 7e09f51..686326f 100644
--- a/WebCore/bindings/js/JSDOMWindowBase.cpp
+++ b/WebCore/bindings/js/JSDOMWindowBase.cpp
@@ -121,12 +121,8 @@ bool JSDOMWindowBase::supportsProfiling() const
bool JSDOMWindowBase::supportsRichSourceInfo() const
{
#if PLATFORM(ANDROID)
- // TODO: better to get upstream to fix the line info without enabling
- // DEBUGGER or INSPECTOR.
- // See webkit change: http://trac.webkit.org/changeset/72360
return true;
-#endif
-#if !ENABLE(JAVASCRIPT_DEBUGGER) || !ENABLE(INSPECTOR)
+#elif !ENABLE(JAVASCRIPT_DEBUGGER) || !ENABLE(INSPECTOR)
return false;
#else
Frame* frame = impl()->frame();