Bug 82142

Summary: Add a notification function for detaching to TextFieldDecorator
Product: WebKit Reporter: Kent Tamura <tkent>
Component: FormsAssignee: Kent Tamura <tkent>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, morrita, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 80479, 82143    
Attachments:
Description Flags
Patch none

Kent Tamura
Reported 2012-03-25 03:45:02 PDT
Add a notification function for detaching to TextFieldDecorator
Attachments
Patch (5.44 KB, patch)
2012-03-25 03:52 PDT, Kent Tamura
no flags
Kent Tamura
Comment 1 2012-03-25 03:52:56 PDT
Dimitri Glazkov (Google)
Comment 2 2012-03-26 09:11:59 PDT
Comment on attachment 133676 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=133676&action=review ok. > Source/WebCore/html/shadow/TextFieldDecorationElement.cpp:68 > +inline HTMLInputElement* TextFieldDecorationElement::hostInput() > +{ > + ASSERT(shadowAncestorNode()); > + ASSERT(shadowAncestorNode()->hasTagName(inputTag)); > + return static_cast<HTMLInputElement*>(shadowAncestorNode()); > +} We usually put these into the header, right?
WebKit Review Bot
Comment 3 2012-03-26 09:19:19 PDT
Comment on attachment 133676 [details] Patch Clearing flags on attachment: 133676 Committed r112109: <http://trac.webkit.org/changeset/112109>
WebKit Review Bot
Comment 4 2012-03-26 09:19:23 PDT
All reviewed patches have been landed. Closing bug.
Kent Tamura
Comment 5 2012-03-27 18:05:05 PDT
Comment on attachment 133676 [details] Patch Thank you for reviewing! View in context: https://bugs.webkit.org/attachment.cgi?id=133676&action=review >> Source/WebCore/html/shadow/TextFieldDecorationElement.cpp:68 >> +} > > We usually put these into the header, right? I don't think we should do it in this case because - This function is private. - We need to include HTMLInputElement.h and HTMLNames.h to implement this function.
Note You need to log in before you can comment on or make changes to this bug.