diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-25 07:32:31 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-25 07:32:31 +0000 |
commit | 13bb19301edbd208c222ac7cd9c68f74fbc30aa4 (patch) | |
tree | b366bc30385dd403e739a409b18d2a30e5a72a38 /webkit/glue | |
parent | 563cc146d6a6d5b1e5c80ec1e36dda0585c900d6 (diff) | |
download | chromium_src-13bb19301edbd208c222ac7cd9c68f74fbc30aa4.zip chromium_src-13bb19301edbd208c222ac7cd9c68f74fbc30aa4.tar.gz chromium_src-13bb19301edbd208c222ac7cd9c68f74fbc30aa4.tar.bz2 |
Update webkit to r44123
This required dealing with a few changes in WebKit:
1- ImageBuffer::create() now returns a PassOwnPtr instead of an auto_ptr.
2- ChromeClient::createHTMLParserQuirks() now returns a PassOwnPtr instead of a raw pointer.
3- HTMLFormControlElement::onChange was renamed dispatchFormControlChangeEvent.
4- dom/SelectElement.{h,cpp} were added to the tree.
TEST=none
R=ukai
BUG=none
Review URL: http://codereview.chromium.org/115751
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/chrome_client_impl.h | 2 | ||||
-rw-r--r-- | webkit/glue/dom_operations.cc | 4 | ||||
-rw-r--r-- | webkit/glue/password_autocomplete_listener.cc | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/chrome_client_impl.h b/webkit/glue/chrome_client_impl.h index bcdf7a0..ed75747 100644 --- a/webkit/glue/chrome_client_impl.h +++ b/webkit/glue/chrome_client_impl.h @@ -137,7 +137,7 @@ class ChromeClientImpl : public WebCore::ChromeClientChromium { virtual void formStateDidChange(const WebCore::Node*); - virtual WebCore::HTMLParserQuirks* createHTMLParserQuirks() { return 0; } + virtual PassOwnPtr<WebCore::HTMLParserQuirks> createHTMLParserQuirks() { return 0; } private: WebViewImpl* webview_; // weak pointer diff --git a/webkit/glue/dom_operations.cc b/webkit/glue/dom_operations.cc index f0adc1a..16f364a 100644 --- a/webkit/glue/dom_operations.cc +++ b/webkit/glue/dom_operations.cc @@ -236,7 +236,7 @@ static bool FillFormToUploadFileImpl(WebCore::HTMLFormElement* fe, std::vector<WebCore::HTMLInputElement*>::iterator changed_ie; for (changed_ie = changed.begin(); changed_ie != changed.end(); ++changed_ie) { - (*changed_ie)->onChange(); + (*changed_ie)->dispatchFormControlChangeEvent(); (*changed_ie)->deref(); } @@ -302,7 +302,7 @@ static bool FillFormImpl(FormElements* fe, const FormData& data, bool submit) { continue; it->second->setValue(StdWStringToString(data_map[it->first])); it->second->setAutofilled(true); - it->second->onChange(); + it->second->dispatchFormControlChangeEvent(); } if (submit && submit_found) { diff --git a/webkit/glue/password_autocomplete_listener.cc b/webkit/glue/password_autocomplete_listener.cc index 0797d475..1b4260c 100644 --- a/webkit/glue/password_autocomplete_listener.cc +++ b/webkit/glue/password_autocomplete_listener.cc @@ -38,7 +38,7 @@ void HTMLInputDelegate::OnFinishedAutocompleting() { // having a yellow background. element_->setAutofilled(true); // Notify any changeEvent listeners. - element_->onChange(); + element_->dispatchFormControlChangeEvent(); } PasswordAutocompleteListener::PasswordAutocompleteListener( |