Changeset 66997 in webkit
- Timestamp:
- Sep 8, 2010 11:17:25 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r66995 r66997 1 2010-09-08 Andy Estes <aestes@apple.com> 2 3 Rubber-stamped by Darin Adler. 4 5 Incorporate additional feedback from 6 https://bugs.webkit.org/show_bug.cgi?id=45364. 7 8 * html/HTMLObjectElement.cpp: 9 (WebCore::HTMLObjectElement::parametersForPlugin): Rename urlParam to 10 urlParameter. 11 * loader/SubframeLoader.h: Add argument names to the definition of 12 SubframeLoader::resourceWillUsePlugin(). 13 1 14 2010-09-07 Oliver Hunt <oliver@apple.com> 2 15 -
trunk/WebCore/html/HTMLObjectElement.cpp
r66992 r66997 164 164 { 165 165 HashSet<StringImpl*, CaseFoldingHash> uniqueParamNames; 166 String urlParam ;166 String urlParameter; 167 167 168 168 // Scan the PARAM children and store their name/value pairs. … … 182 182 183 183 // FIXME: url adjustment does not belong in this function. 184 if (url.isEmpty() && urlParam .isEmpty() && (equalIgnoringCase(name, "src") || equalIgnoringCase(name, "movie") || equalIgnoringCase(name, "code") || equalIgnoringCase(name, "url")))185 urlParam = deprecatedParseURL(p->value());184 if (url.isEmpty() && urlParameter.isEmpty() && (equalIgnoringCase(name, "src") || equalIgnoringCase(name, "movie") || equalIgnoringCase(name, "code") || equalIgnoringCase(name, "url"))) 185 urlParameter = deprecatedParseURL(p->value()); 186 186 // FIXME: serviceType calculation does not belong in this function. 187 187 if (serviceType.isEmpty() && equalIgnoringCase(name, "type")) { … … 223 223 // resource's URL to be given by a param named "src", "movie", "code" or "url" 224 224 // if we know that resource points to a plug-in. 225 if (url.isEmpty() && !urlParam .isEmpty()) {225 if (url.isEmpty() && !urlParameter.isEmpty()) { 226 226 SubframeLoader* loader = document()->frame()->loader()->subframeLoader(); 227 if (loader->resourceWillUsePlugin(urlParam , serviceType))228 url = urlParam ;227 if (loader->resourceWillUsePlugin(urlParameter, serviceType)) 228 url = urlParameter; 229 229 } 230 230 } -
trunk/WebCore/loader/SubframeLoader.h
r66992 r66997 77 77 bool containsPlugins() const { return m_containsPlugins; } 78 78 79 bool resourceWillUsePlugin(const String& , const String&);79 bool resourceWillUsePlugin(const String& url, const String& mimeType); 80 80 81 81 private:
Note: See TracChangeset
for help on using the changeset viewer.