Changeset 46229 in webkit
- Timestamp:
- Jul 22, 2009 11:55:05 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r46226 r46229 1 2009-07-22 Paul Godavari <paul@chromium.org> 2 3 Reviewed by Darin Fisher. 4 5 Chromium has a build break after removal of JSRGBColor bindings 6 https://bugs.webkit.org/show_bug.cgi?id=27548 7 8 Fix a build break in Chromium V8 after the JSRGBColor bindings change: 9 https://bugs.webkit.org/show_bug.cgi?id=27242 10 11 * bindings/scripts/CodeGeneratorV8.pm: 12 1 13 2009-07-22 Adam Langley <agl@google.com> 2 14 -
trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm
r46145 r46229 114 114 { 115 115 my $type = shift; 116 return 0 if $type eq "RGBColor";117 116 return $codeGenerator->IsPodType($type); 118 117 } … … 597 596 598 597 push(@implContentDecls, " void* wrapper = $wrapper;\n"); 599 } els if ($nativeType ne "RGBColor"){598 } else { 600 599 push(@implContentDecls, " $nativeType v = "); 601 600 … … 610 609 $result = "WTF::getPtr(" . $result . ")"; 611 610 } 612 } else { 613 # Special case: RGBColor is noncopyable 614 $result = $getterString; 615 } 616 611 } 617 612 618 613 if (IsSVGTypeNeedingContextParameter($attrType) && !$skipContext) { … … 1700 1695 return "DOMTimeStamp" if $type eq "DOMTimeStamp"; 1701 1696 return "unsigned" if $type eq "unsigned int"; 1702 return "unsigned" if $type eq "RGBColor";1703 1697 return "Node*" if $type eq "EventTarget" and $isParameter; 1704 1698 … … 2040 2034 } 2041 2035 2042 if ($type eq "RGBColor") {2043 my $construct = "RefPtr<RGBColor> rgbcolor = RGBColor::create($value);\n";2044 my $convert = "V8DOMWrapper::convertToV8Object(V8ClassIndex::RGBCOLOR, WTF::getPtr(rgbcolor))";2045 return $construct . $indent . "return " . $convert;2046 }2047 2048 2036 if ($type eq "WorkerContext" or $type eq "WorkerLocation" or $type eq "WorkerNavigator") { 2049 2037 $implIncludes{"WorkerContextExecutionProxy.h"} = 1;
Note: See TracChangeset
for help on using the changeset viewer.