diff options
Diffstat (limited to 'webkit/glue/editor_client_impl.cc')
-rw-r--r-- | webkit/glue/editor_client_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/editor_client_impl.cc b/webkit/glue/editor_client_impl.cc index 9a6e950..22ab39d 100644 --- a/webkit/glue/editor_client_impl.cc +++ b/webkit/glue/editor_client_impl.cc @@ -96,7 +96,7 @@ bool EditorClientImpl::shouldShowDeleteInterface(WebCore::HTMLElement* elem) { // it if in testing mode and the test specifically requests it by using this // magic class name. return WebKit::layoutTestMode() && - elem->className() == "needsDeletionUI"; + elem->getAttribute(WebCore::HTMLNames::classAttr) == "needsDeletionUI"; } bool EditorClientImpl::smartInsertDeleteEnabled() { |