summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 20:30:20 +0000
committerrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 20:30:20 +0000
commit642961926500acbcc3ada6f3a5f2dc1454c1a5a8 (patch)
tree5d3be4e8cf5c714600fa08293144b7bd906298ab /chrome_frame
parent0f1c81978f0b9260fe3a14b831d67e3f7bf001f6 (diff)
downloadchromium_src-642961926500acbcc3ada6f3a5f2dc1454c1a5a8.zip
chromium_src-642961926500acbcc3ada6f3a5f2dc1454c1a5a8.tar.gz
chromium_src-642961926500acbcc3ada6f3a5f2dc1454c1a5a8.tar.bz2
Chrome frame should use "parentNode" instead of "parentElement" to get the DOM
parent of the plugin, since this is more compatible. Also, "parentElement" no longer works in FF3.6. BUG=0 TEST=n/a Review URL: http://codereview.chromium.org/1033001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41754 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/np_event_listener.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/np_event_listener.cc b/chrome_frame/np_event_listener.cc
index 3b477aa..f9aa43c 100644
--- a/chrome_frame/np_event_listener.cc
+++ b/chrome_frame/np_event_listener.cc
@@ -352,7 +352,7 @@ NPIdentifier* NPObjectEventListener::GetCachedStringIds() {
"addEventListener",
"removeEventListener",
"tagName",
- "parentElement",
+ "parentNode",
};
COMPILE_ASSERT(arraysize(identifier_names) == arraysize(_identifiers),
mismatched_array_size);