Changeset 62349 in webkit
- Timestamp:
- Jul 1, 2010 7:50:38 PM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r62288 r62349 1 2010-07-01 David Holloway <dhollowa@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for 6 use by other code in WebKit/chromium/src. 7 8 Specific use of these methods is made in WebFrameImpl.cpp. This is 9 preferred to the cast operator call that was happening prior to this 10 change. 11 12 https://bugs.webkit.org/show_bug.cgi?id=41477 13 14 * public/WebNode.h: 15 * src/WebFrameImpl.cpp: 16 (WebKit::WebFrameImpl::registerPasswordListener): 17 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete): 18 1 19 2010-07-01 Kenneth Russell <kbr@google.com> 2 20 -
trunk/WebKit/chromium/public/WebNode.h
r58967 r62349 125 125 #endif 126 126 127 protected:128 127 #if WEBKIT_IMPLEMENTATION 129 128 template<typename T> T* unwrap() … … 138 137 #endif 139 138 139 protected: 140 140 WebPrivatePtr<WebCore::Node> m_private; 141 141 }; -
trunk/WebKit/chromium/src/WebFrameImpl.cpp
r62272 r62349 1961 1961 WebPasswordAutocompleteListener* listener) 1962 1962 { 1963 RefPtr<HTMLInputElement> element = inputElement.operator PassRefPtr<HTMLInputElement>();1963 RefPtr<HTMLInputElement> element(inputElement.unwrap<HTMLInputElement>()); 1964 1964 if (!m_passwordListeners.add(element, listener).second) { 1965 1965 delete listener; … … 1972 1972 const WebInputElement& inputElement) 1973 1973 { 1974 RefPtr<HTMLInputElement> element = inputElement.operator PassRefPtr<HTMLInputElement>();1974 RefPtr<HTMLInputElement> element(inputElement.unwrap<HTMLInputElement>()); 1975 1975 WebPasswordAutocompleteListener* listener = getPasswordListener(element.get()); 1976 1976 // Password listeners need to autocomplete other fields that depend on the
Note: See TracChangeset
for help on using the changeset viewer.