Remove Android code that skipped functions for retrieving the source name and line number in V8Proxy, as we now support that.
This requires an external/v8 change, see 39929.
Change-Id: Ie4cab862ebef7ad569b070b11a8bae67e89f2c38
diff --git a/WebCore/bindings/v8/V8Proxy.cpp b/WebCore/bindings/v8/V8Proxy.cpp
index 5943e69..7ed1c46 100644
--- a/WebCore/bindings/v8/V8Proxy.cpp
+++ b/WebCore/bindings/v8/V8Proxy.cpp
@@ -811,11 +811,6 @@
bool V8Proxy::sourceLineNumber(int& result)
{
-#if PLATFORM(ANDROID)
- // TODO(andreip): consider V8's DEBUG flag here, rather than PLATFORM(ANDROID)
- // or, even better, the WEBKIT inspector flag.
- return 0;
-#else
v8::HandleScope scope;
v8::Handle<v8::Context> v8UtilityContext = V8Proxy::utilityContext();
if (v8UtilityContext.IsEmpty())
@@ -830,14 +825,10 @@
return false;
result = value->Int32Value();
return true;
-#endif
}
bool V8Proxy::sourceName(String& result)
{
-#if PLATFORM(ANDROID)
- return false;
-#else
v8::HandleScope scope;
v8::Handle<v8::Context> v8UtilityContext = utilityContext();
if (v8UtilityContext.IsEmpty())
@@ -852,7 +843,6 @@
return false;
result = toWebCoreString(value);
return true;
-#endif
}
void V8Proxy::registerExtensionWithV8(v8::Extension* extension)