Bug 28404 - [Qt] EditorClientQt::shouldShowDeleteInterface uses non-existent methods in HTMLElement
Summary: [Qt] EditorClientQt::shouldShowDeleteInterface uses non-existent methods in H...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-17 12:06 PDT by George Wright
Modified: 2010-05-19 06:16 PDT (History)
3 users (show)

See Also:


Attachments
Return false in shouldShowDeleteInterface (1.13 KB, patch)
2009-08-17 12:10 PDT, George Wright
eric: review+
commit-queue: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description George Wright 2009-08-17 12:06:48 PDT
Revision 47367 removes HTMLElement::className() which is used in the shouldShowDeleteInterface() method in EditorClientQt.cpp, causing a build failure.
Comment 1 George Wright 2009-08-17 12:10:36 PDT
Created attachment 34984 [details]
Return false in shouldShowDeleteInterface

Every other port simply returns false for this function, and as the method it used to call in HTMLElement has been removed, this update makes the Qt port also return false and allows it to build again.
Comment 2 Eric Seidel (no email) 2009-08-17 17:13:02 PDT
Comment on attachment 34984 [details]
Return false in shouldShowDeleteInterface

OK.  I would expect the WebKit level is expected to implement this.
Comment 3 Eric Seidel (no email) 2009-08-17 17:42:10 PDT
Comment on attachment 34984 [details]
Return false in shouldShowDeleteInterface

Rejecting patch 34984 from commit-queue.  This patch will require manual commit.

Patch https://bugs.webkit.org/attachment.cgi?id=34984 from bug 28404 failed to download and apply.
Comment 4 Eric Seidel (no email) 2009-08-17 17:46:15 PDT
Was this already landed?
Hunk #1 succeeded at 1 with fuzz 3.
patching file WebKit/qt/WebCoreSupport/EditorClientQt.cpp
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file WebKit/qt/WebCoreSupport/EditorClientQt.cpp.rej
patch -p0 "WebKit/qt/WebCoreSupport/EditorClientQt.cpp" returned 1.  Pass --force to ignore patch failures.
Comment 5 Adam Barth 2009-08-18 20:05:36 PDT
Please re-open if this hasn't already been landed.
Comment 6 George Wright 2010-05-17 08:35:19 PDT
This patch was never landed, and the fix hasn't been applied. I can't seem to mark this bug as reopened?
Comment 7 Eric Seidel (no email) 2010-05-17 11:04:58 PDT
reopening so the commit-bot will see it.
Comment 8 Eric Seidel (no email) 2010-05-17 11:05:24 PDT
Except... adding it back to the commit-queue w/o modification as you have done, will just cause it to fail again, I suspect.
Comment 9 WebKit Commit Bot 2010-05-19 04:29:38 PDT
Comment on attachment 34984 [details]
Return false in shouldShowDeleteInterface

Rejecting patch 34984 from commit-queue.

Failed to run "[u'/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/svn-apply', u'--reviewer', u'Eric Seidel', u'--force']" exit_code: 1
Parsed 2 diffs from patch file(s).
patching file WebKit/qt/ChangeLog
Hunk #1 succeeded at 1 with fuzz 3.
patching file WebKit/qt/WebCoreSupport/EditorClientQt.cpp
Hunk #1 FAILED at 107.
1 out of 1 hunk FAILED -- saving rejects to file WebKit/qt/WebCoreSupport/EditorClientQt.cpp.rej

Full output: http://webkit-commit-queue.appspot.com/results/2303319
Comment 10 George Wright 2010-05-19 06:16:56 PDT
Oh, I just noticed that a different fix for this bug was landed (a cursory glance at the source revealed that it looked the same, but it's actually been changed). I will re-close it.