summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-23 22:23:04 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-23 22:23:04 +0000
commit2913ec5e0bdba694c4e36b886eaf8e94f224d06e (patch)
treeccb0b9c8350060b298cf14f5ba019439016f9a0a /webkit/port
parent0aa477bd3cd906e880891fd2e9f4739a53270a7f (diff)
downloadchromium_src-2913ec5e0bdba694c4e36b886eaf8e94f224d06e.zip
chromium_src-2913ec5e0bdba694c4e36b886eaf8e94f224d06e.tar.gz
chromium_src-2913ec5e0bdba694c4e36b886eaf8e94f224d06e.tar.bz2
Back out string morphing.
Review URL: http://codereview.chromium.org/52027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12320 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/bindings/v8/v8_binding.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/webkit/port/bindings/v8/v8_binding.cpp b/webkit/port/bindings/v8/v8_binding.cpp
index 43bddb5..3a36fc51 100644
--- a/webkit/port/bindings/v8/v8_binding.cpp
+++ b/webkit/port/bindings/v8/v8_binding.cpp
@@ -65,11 +65,16 @@ String v8StringToWebCoreString(v8::Handle<v8::String> v8_str) {
result = String::adopt(buf);
}
- WebCoreStringResource* resource = new WebCoreStringResource(result);
- if (!v8_str->MakeExternal(resource)) {
- // In case of a failure delete the external resource as it was not used.
- delete resource;
- }
+//
+// TODO(mbelshe): Disable string morphing because it causes mystery
+// perf regressions on intl1 and intl2 page cyclers. It works fine
+// on machines other than the buildbots.
+//
+// WebCoreStringResource* resource = new WebCoreStringResource(result);
+// if (!v8_str->MakeExternal(resource)) {
+// // In case of a failure delete the external resource as it was not used.
+// delete resource;
+// }
return result;
}