Changeset 56463 in webkit
- Timestamp:
- Mar 24, 2010 3:45:03 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r56462 r56463 1 2010-03-24 MORITA Hajime <morrita@google.com> 2 3 Reviewed by Darin Adler. 4 5 Refactoring: HTMLFormControlElement should not have redundant null check 6 https://bugs.webkit.org/show_bug.cgi?id=36487 7 8 No new tests as there is no new functionality. 9 10 * html/HTMLFormControlElement.cpp: 11 (WebCore::HTMLFormControlElement::dispatchFocusEvent): 12 (WebCore::HTMLFormControlElement::dispatchBlurEvent): 13 1 14 2010-03-24 Eric Uhrhane <ericu@chromium.org> 2 15 -
trunk/WebCore/html/HTMLFormControlElement.cpp
r56402 r56463 368 368 void HTMLFormControlElement::dispatchFocusEvent() 369 369 { 370 if (document()-> frame() && document()->frame()->page())371 document()-> frame()->page()->chrome()->client()->formDidFocus(this);370 if (document()->page()) 371 document()->page()->chrome()->client()->formDidFocus(this); 372 372 373 373 HTMLElement::dispatchFocusEvent(); … … 376 376 void HTMLFormControlElement::dispatchBlurEvent() 377 377 { 378 if (document()-> frame() && document()->frame()->page())379 document()-> frame()->page()->chrome()->client()->formDidBlur(this);378 if (document()->page()) 379 document()->page()->chrome()->client()->formDidBlur(this); 380 380 381 381 HTMLElement::dispatchBlurEvent();
Note: See TracChangeset
for help on using the changeset viewer.