Changeset 160545 in webkit
- Timestamp:
- Dec 13, 2013 7:41:09 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r160544 r160545 1 2013-12-13 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 REGRESSION(r155784): [GTK] Some methods incorrectly removed in r155784 and deprecated in r158662 4 https://bugs.webkit.org/show_bug.cgi?id=125692 5 6 Reviewed by Martin Robinson. 7 8 In r155784 the build was fixed by skipping Console::profile() and 9 Console::profileEnd(), but the patch also skipped other methods 10 containing the profile method name. Those were incorrectly 11 deprecated in r158662 thinking that the property had been removed 12 in the idl. 13 14 * bindings/gobject/WebKitDOMDeprecated.cpp: Undeprecate 15 webkit_dom_html_head_element_get_profile and 16 webkit_dom_html_head_element_set_profile. 17 * bindings/gobject/WebKitDOMDeprecated.h: Ditto. 18 * bindings/gobject/WebKitDOMDeprecated.symbols: Ditto. 19 * bindings/scripts/CodeGeneratorGObject.pm: 20 (SkipFunction): Skip webkit_dom_console_profile and 21 webkit_dom_console_profile_end. 22 1 23 2013-12-13 Rob Buis <rob.buis@samsung.com> 2 24 -
trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp
r159614 r160545 548 548 } 549 549 550 // WebKitDOM HTMLHeadElement551 552 gchar* webkit_dom_ html_head_element_get_profile(WebKitDOMHTMLHeadElement* self)553 { 554 g_warning("%s: th e HeadElement objecthas been removed from WebKit, this function does nothing.", __func__);550 // WebKitDOMProcessingInstruction 551 552 gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction* self) 553 { 554 g_warning("%s: this functionality has been removed from WebKit, this function does nothing.", __func__); 555 555 return g_strdup(""); 556 556 } 557 557 558 void webkit_dom_html_head_element_set_profile(WebKitDOMHTMLHeadElement* self, const gchar* value)559 {560 g_warning("%s: the HeadElement object has been removed from WebKit, this function does nothing.", __func__);561 }562 563 // WebKitDOMProcessingInstruction564 565 gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction* self)566 {567 g_warning("%s: this functionality has been removed from WebKit, this function does nothing.", __func__);568 return g_strdup("");569 }570 571 558 void webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction* self, const gchar* value, GError** error) 572 559 { -
trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h
r159614 r160545 553 553 554 554 /** 555 * webkit_dom_html_head_element_get_profile:556 * @self: A #WebKitDOMHTMLHeadElement557 *558 * This functionality has been removed from WebKit, this function does nothing.559 *560 * Returns: a #gchar561 *562 * Deprecated: 2.4563 */564 WEBKIT_DEPRECATED gchar*565 webkit_dom_html_head_element_get_profile(WebKitDOMHTMLHeadElement* self);566 567 /**568 * webkit_dom_html_head_element_set_profile:569 * @self: A #WebKitDOMHTMLHeadElement570 * @value: A #gchar571 *572 * This functionality has been removed from WebKit, this function does nothing.573 *574 * Deprecated: 2.4575 */576 WEBKIT_DEPRECATED void577 webkit_dom_html_head_element_set_profile(WebKitDOMHTMLHeadElement* self, const gchar* value);578 579 /**580 555 * webkit_dom_processing_instruction_get_data: 581 556 * @self: A #WebKitDOMProcessingInstruction -
trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols
r160172 r160545 45 45 gdouble webkit_dom_html_media_element_get_start_time(WebKitDOMHTMLMediaElement*) 46 46 gdouble webkit_dom_html_media_element_get_initial_time(WebKitDOMHTMLMediaElement*) 47 gchar* webkit_dom_html_head_element_get_profile(WebKitDOMHTMLHeadElement*)48 void webkit_dom_html_head_element_set_profile(WebKitDOMHTMLHeadElement*, const gchar*)49 47 gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction*) 50 48 void webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction*, const gchar*, GError**) -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
r160543 r160545 305 305 } 306 306 307 # Skip Console::profile() and Console::profileEnd() as they're not correctly generated for the moment. 308 if ($functionName eq "webkit_dom_console_profile" || $functionName eq "webkit_dom_console_profile_end") { 309 return 1; 310 } 311 307 312 if ($function->signature->name eq "set" and $parentNode->extendedAttributes->{"TypedArray"}) { 308 313 return 1; … … 325 330 } 326 331 327 if ($function->signature->name eq "timeEnd" || $function->signature->name eq "profile" || $function->signature->name eq "profileEnd") {332 if ($function->signature->name eq "timeEnd") { 328 333 return 1; 329 334 }
Note: See TracChangeset
for help on using the changeset viewer.