Bug 92176 - Remove unused function in InjectedBundleHitTestResult
Summary: Remove unused function in InjectedBundleHitTestResult
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-24 16:43 PDT by Changhun Kang
Modified: 2012-07-27 01:16 PDT (History)
6 users (show)

See Also:


Attachments
Patch (776 bytes, patch)
2012-07-24 16:56 PDT, Changhun Kang
no flags Details | Formatted Diff | Diff
Patch (776 bytes, patch)
2012-07-24 17:19 PDT, Changhun Kang
no flags Details | Formatted Diff | Diff
Patch (1.58 KB, patch)
2012-07-24 17:22 PDT, Changhun Kang
no flags Details | Formatted Diff | Diff
Patch (1.58 KB, patch)
2012-07-24 17:25 PDT, Changhun Kang
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from gce-cr-linux-08 (1.01 MB, application/zip)
2012-07-24 22:09 PDT, WebKit Review Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Changhun Kang 2012-07-24 16:43:06 PDT
coreHitTestResult() is never used. So I remove it.
Comment 1 Changhun Kang 2012-07-24 16:56:21 PDT
Created attachment 154177 [details]
Patch
Comment 2 Kwang Yul Seo 2012-07-24 17:14:15 PDT
ChangeLog is missing.
Comment 3 Changhun Kang 2012-07-24 17:19:22 PDT
Created attachment 154185 [details]
Patch
Comment 4 Kwang Yul Seo 2012-07-24 17:20:49 PDT
(In reply to comment #3)
> Created an attachment (id=154185) [details]
> Patch

ChangeLog is still missing.
Comment 5 Changhun Kang 2012-07-24 17:22:51 PDT
Created attachment 154186 [details]
Patch
Comment 6 Kwang Yul Seo 2012-07-24 17:23:53 PDT
Comment on attachment 154186 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=154186&action=review

> Source/WebKit2/ChangeLog:9
> +	No new tests because this patch just remove dead code.

Fix the indentation here.
Comment 7 WebKit Review Bot 2012-07-24 17:24:36 PDT
Attachment 154186 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1
Source/WebKit2/ChangeLog:9:  Line contains tab character.  [whitespace/tab] [5]
Total errors found: 1 in 1 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 8 Changhun Kang 2012-07-24 17:25:16 PDT
Created attachment 154188 [details]
Patch
Comment 9 Brady Eidson 2012-07-24 17:28:31 PDT
Is there any particular reason we're doing this?  We don't normally go on cleanup tasks like this just for the heck of it.
Comment 10 Changhun Kang 2012-07-24 17:55:59 PDT
(In reply to comment #9)
> Is there any particular reason we're doing this?  We don't normally go on cleanup tasks like this just for the heck of it.

It was first appeared at 39e1fcbcf3dbb10eaa79d6364a43d781b3d9ebee(Sat Sep 25 02:32:56 2010).

But it is remained as dead code. 
WKBundleHitTestResult is API level of InjectedBundleHitTestResult. But API level does not have any match case.

Also it seems to be redundant with another member function "static PassRefPtr<InjectedBundleHitTestResult> create(const WebCore::HitTestResult&)"

Thank you for your comment
.
Comment 11 Brady Eidson 2012-07-24 18:02:20 PDT
(In reply to comment #10)
> (In reply to comment #9)
> > Is there any particular reason we're doing this?  We don't normally go on cleanup tasks like this just for the heck of it.
> 
> It was first appeared at 39e1fcbcf3dbb10eaa79d6364a43d781b3d9ebee(Sat Sep 25 02:32:56 2010).
> 
> But it is remained as dead code. 
> WKBundleHitTestResult is API level of InjectedBundleHitTestResult. But API level does not have any match case.
> 
> Also it seems to be redundant with another member function "static PassRefPtr<InjectedBundleHitTestResult> create(const WebCore::HitTestResult&)"


I understand that it is dead code and unused.

My point is that we don't normally go on tiny little cleanup tasks like this.  It uses up buildbot infrastructure and reviewer time as well as causes potential merging problems for various branches and ports.
Comment 12 Changhun Kang 2012-07-24 18:46:13 PDT
(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #9)
> > > Is there any particular reason we're doing this?  We don't normally go on cleanup tasks like this just for the heck of it.
> > 
> > It was first appeared at 39e1fcbcf3dbb10eaa79d6364a43d781b3d9ebee(Sat Sep 25 02:32:56 2010).
> > 
> > But it is remained as dead code. 
> > WKBundleHitTestResult is API level of InjectedBundleHitTestResult. But API level does not have any match case.
> > 
> > Also it seems to be redundant with another member function "static PassRefPtr<InjectedBundleHitTestResult> create(const WebCore::HitTestResult&)"
> 
> 
> I understand that it is dead code and unused.
> 
> My point is that we don't normally go on tiny little cleanup tasks like this.  It uses up buildbot infrastructure and reviewer time as well as causes potential merging problems for various branches and ports.

(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #9)
> > > Is there any particular reason we're doing this?  We don't normally go on cleanup tasks like this just for the heck of it.
> > 
> > It was first appeared at 39e1fcbcf3dbb10eaa79d6364a43d781b3d9ebee(Sat Sep 25 02:32:56 2010).
> > 
> > But it is remained as dead code. 
> > WKBundleHitTestResult is API level of InjectedBundleHitTestResult. But API level does not have any match case.
> > 
> > Also it seems to be redundant with another member function "static PassRefPtr<InjectedBundleHitTestResult> create(const WebCore::HitTestResult&)"
> 
> 
> I understand that it is dead code and unused.
> 
> My point is that we don't normally go on tiny little cleanup tasks like this.  It uses up buildbot infrastructure and reviewer time as well as causes potential merging problems for various branches and ports.

Sorry, I'm a newbie. I'll be careful next time.
Comment 13 WebKit Review Bot 2012-07-24 22:09:27 PDT
Comment on attachment 154188 [details]
Patch

Attachment 154188 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13353088

New failing tests:
animations/suspend-resume-animation-events.html
fast/forms/range/slider-mouse-events.html
fast/forms/range/slider-delete-while-dragging-thumb.html
fast/forms/range/slider-onchange-event.html
Comment 14 WebKit Review Bot 2012-07-24 22:09:31 PDT
Created attachment 154251 [details]
Archive of layout-test-results from gce-cr-linux-08

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: gce-cr-linux-08  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Comment 15 Adam Barth 2012-07-27 01:16:45 PDT
Comment on attachment 154188 [details]
Patch

Cleared review? from attachment 154188 [details] so that this bug does not appear in http://webkit.org/pending-review.  If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).