summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-02-08 19:16:41 +0000
committerBen Murdoch <benm@google.com>2010-02-08 19:16:41 +0000
commit354222b9bea6bc30d0639780b6d527ae7e9cfb76 (patch)
tree2c0ff35414c19ffed7a7a8aa2c05f6595667f4c0 /WebCore/bindings
parent8ff7f98227af2858af086841a95a89458921dbbc (diff)
downloadexternal_webkit-354222b9bea6bc30d0639780b6d527ae7e9cfb76.zip
external_webkit-354222b9bea6bc30d0639780b6d527ae7e9cfb76.tar.gz
external_webkit-354222b9bea6bc30d0639780b6d527ae7e9cfb76.tar.bz2
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
Diffstat (limited to 'WebCore/bindings')
-rw-r--r--WebCore/bindings/v8/V8Proxy.cpp10
1 files changed, 0 insertions, 10 deletions
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 @@ void V8Proxy::createUtilityContext()
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 @@ bool V8Proxy::sourceLineNumber(int& result)
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 @@ bool V8Proxy::sourceName(String& result)
return false;
result = toWebCoreString(value);
return true;
-#endif
}
void V8Proxy::registerExtensionWithV8(v8::Extension* extension)