Changeset 192872 in webkit


Ignore:
Timestamp:
Dec 1, 2015, 1:04:35 AM (10 years ago)
Author:
Carlos Garcia Campos
Message:

Unreviewed. Fix GTK+ build after r192849.

  • bindings/scripts/CodeGeneratorGObject.pm:

(GenerateFunction):

  • bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:

(webkit_dom_test_interface_supplemental_method1):
(webkit_dom_test_interface_supplemental_method2):
(webkit_dom_test_interface_set_supplemental_str2):
(webkit_dom_test_interface_get_supplemental_node):
(webkit_dom_test_interface_set_supplemental_node):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r192865 r192872  
     12015-12-01  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        Unreviewed. Fix GTK+ build after r192849.
     4
     5        * bindings/scripts/CodeGeneratorGObject.pm:
     6        (GenerateFunction):
     7        * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
     8        (webkit_dom_test_interface_supplemental_method1):
     9        (webkit_dom_test_interface_supplemental_method2):
     10        (webkit_dom_test_interface_set_supplemental_str2):
     11        (webkit_dom_test_interface_get_supplemental_node):
     12        (webkit_dom_test_interface_set_supplemental_node):
     13
    1142015-12-01  Youenn Fablet  <youenn.fablet@crf.canon.fr>
    215
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm

    r192839 r192872  
    13121312                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
    13131313                $implIncludes{"${implementedBy}.h"} = 1;
    1314                 unshift(@arguments, "item");
     1314                unshift(@arguments, "*item");
    13151315                $functionName = "WebCore::${implementedBy}::${functionName}";
    13161316            } else {
     
    13241324                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
    13251325                $implIncludes{"${implementedBy}.h"} = 1;
    1326                 unshift(@arguments, "item");
     1326                unshift(@arguments, "*item");
    13271327                $functionName = "WebCore::${implementedBy}::${functionName}";
    13281328                $contentHead = "${assign}${assignPre}${functionName}(" . join(", ", @arguments) . ")${assignPost};\n";
     
    13361336                my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
    13371337                $implIncludes{"${implementedBy}.h"} = 1;
    1338                 unshift(@arguments, "item");
     1338                unshift(@arguments, "*item");
    13391339                $contentHead = "${assign}${assignPre}WebCore::${implementedBy}::${functionImplementationName}(" . join(", ", @arguments) . ")${assignPost};\n";
    13401340            } else {
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp

    r186496 r192872  
    297297    g_return_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self));
    298298    WebCore::TestInterface* item = WebKit::core(self);
    299     WebCore::TestSupplemental::supplementalMethod1(item);
     299    WebCore::TestSupplemental::supplementalMethod1(*item);
    300300#else
    301301    UNUSED_PARAM(self);
     
    323323    WebCore::TestObj* convertedObjArg = WebKit::core(objArg);
    324324    WebCore::ExceptionCode ec = 0;
    325     RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(WebCore::TestSupplemental::supplementalMethod2(item, convertedStrArg, convertedObjArg, ec));
     325    RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(WebCore::TestSupplemental::supplementalMethod2(*item, convertedStrArg, convertedObjArg, ec));
    326326    if (ec) {
    327327        WebCore::ExceptionCodeDescription ecdesc(ec);
     
    521521    WebCore::TestInterface* item = WebKit::core(self);
    522522    WTF::String convertedValue = WTF::String::fromUTF8(value);
    523     WebCore::TestSupplemental::setSupplementalStr2(item, convertedValue);
     523    WebCore::TestSupplemental::setSupplementalStr2(*item, convertedValue);
    524524#else
    525525    UNUSED_PARAM(self);
     
    543543    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_INTERFACE(self), 0);
    544544    WebCore::TestInterface* item = WebKit::core(self);
    545     RefPtr<WebCore::Node> gobjectResult = WTF::getPtr(WebCore::TestSupplemental::supplementalNode(item));
     545    RefPtr<WebCore::Node> gobjectResult = WTF::getPtr(WebCore::TestSupplemental::supplementalNode(*item));
    546546    return WebKit::kit(gobjectResult.get());
    547547#else
     
    568568    WebCore::TestInterface* item = WebKit::core(self);
    569569    WebCore::Node* convertedValue = WebKit::core(value);
    570     WebCore::TestSupplemental::setSupplementalNode(item, convertedValue);
    571 #else
    572     UNUSED_PARAM(self);
    573     UNUSED_PARAM(value);
    574     WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
    575     WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
    576 #endif /* ENABLE(Condition11) || ENABLE(Condition12) */
    577 #else
    578     UNUSED_PARAM(self);
    579     UNUSED_PARAM(value);
    580     WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
    581     WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
    582 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
    583 }
    584 
     570    WebCore::TestSupplemental::setSupplementalNode(*item, convertedValue);
     571#else
     572    UNUSED_PARAM(self);
     573    UNUSED_PARAM(value);
     574    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition11")
     575    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition12")
     576#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
     577#else
     578    UNUSED_PARAM(self);
     579    UNUSED_PARAM(value);
     580    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition1")
     581    WEBKIT_WARN_FEATURE_NOT_PRESENT("Condition2")
     582#endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     583}
     584
Note: See TracChangeset for help on using the changeset viewer.