Bug 89155

Summary: [Forms] Copy RenderTextControlSingleLine.{cpp,h} to RenderSearchFiled.{cpp,h}
Product: WebKit Reporter: yosin
Component: FormsAssignee: yosin
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 88980    
Attachments:
Description Flags
Patch 1 none

yosin
Reported 2012-06-14 18:50:02 PDT
This is preparation of splinting RenderTextControlSingline into RenderTextControlSingline and RenderSeatchField (bug 88980).
Attachments
Patch 1 (40.38 KB, patch)
2012-06-14 18:56 PDT, yosin
no flags
yosin
Comment 1 2012-06-14 18:56:25 PDT
yosin
Comment 2 2012-06-14 18:57:13 PDT
Comment on attachment 147705 [details] Patch 1 Could you review this patch? Thanks in advance. * Just copy two files
WebKit Review Bot
Comment 3 2012-06-14 19:00:15 PDT
Attachment 147705 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/rendering/RenderSearchField.cpp:25: Found other header before a header this file implements. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Source/WebCore/rendering/RenderSearchField.cpp:26: Alphabetical sorting problem. [build/include_order] [4] Source/WebCore/rendering/RenderSearchField.cpp:658: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Source/WebCore/rendering/RenderSearchField.h:23: #ifndef header guard has wrong style, please use: RenderSearchField_h [build/header_guard] [5] Total errors found: 4 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Kent Tamura
Comment 4 2012-06-14 19:02:49 PDT
Comment on attachment 147705 [details] Patch 1 ok
yosin
Comment 5 2012-06-14 19:25:23 PDT
Comment on attachment 147705 [details] Patch 1 Clearing flags on attachment: 147705 Committed r120390: <http://trac.webkit.org/changeset/120390>
yosin
Comment 6 2012-06-14 19:25:28 PDT
All reviewed patches have been landed. Closing bug.
Kent Tamura
Comment 7 2012-06-17 18:49:06 PDT
Unfortunately we failed. RenderSearchField.cpp doesn't have expected history. http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderSearchField.cpp?annotate=blame&rev=120432
Peter Beverloo
Comment 8 2012-06-17 18:59:51 PDT
I'm pretty sure you need to give an actual "svn copy" command in order to achieve that. git has no notion of moving/copying files, so what you're doing is copying the contents of the file, rather than the file itself.
yosin
Comment 9 2012-06-17 19:08:01 PDT
(In reply to comment #8) > I'm pretty sure you need to give an actual "svn copy" command in order to achieve that. git has no notion of moving/copying files, so what you're doing is copying the contents of the file, rather than the file itself. Thanks Peter! I'm doing roll out this change.
yosin
Comment 10 2012-06-17 19:10:02 PDT
Reverted r120390 for reason: Failed to copy merge history to RenderSerachField.{cpp,h} Committed r120558: <http://trac.webkit.org/changeset/120558>
yosin
Comment 11 2012-06-17 21:11:27 PDT
Reverted r120565 for reason: Bad message Committed r120566: <http://trac.webkit.org/changeset/120566>
yosin
Comment 12 2012-06-17 23:00:10 PDT
Finally, I could copy history r120567 http://trac.webkit.org/changeset/120567
Note You need to log in before you can comment on or make changes to this bug.