Changeset 41879 in webkit
- Timestamp:
- Mar 20, 2009 4:45:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r41872 r41879 1 2009-03-20 Norbert Leser <norbert.leser@nokia.com> 2 3 Reviewed by Darin Adler. 4 5 https://bugs.webkit.org/show_bug.cgi?id=24535 6 7 Fixes missing line terminator character (;) after macro call. 8 It is common practice to add the trailing ";" where macros are substituted 9 and not where they are defined with #define. 10 This change is consistent with other macro declarations across webkit, 11 and it also solves compilation failure with symbian compilers. 12 13 * runtime/UString.cpp: 14 * wtf/Assertions.h: 15 1 16 2009-03-20 Geoffrey Garen <ggaren@apple.com> 2 17 -
trunk/JavaScriptCore/runtime/UString.cpp
r40975 r41879 94 94 } 95 95 96 COMPILE_ASSERT(sizeof(UChar) == 2, uchar_is_2_bytes) 96 COMPILE_ASSERT(sizeof(UChar) == 2, uchar_is_2_bytes); 97 97 98 98 CString::CString(const char* c) -
trunk/JavaScriptCore/wtf/Assertions.h
r39600 r41879 195 195 /* COMPILE_ASSERT */ 196 196 #ifndef COMPILE_ASSERT 197 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1] ;197 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1] 198 198 #endif 199 199 -
trunk/WebCore/ChangeLog
r41878 r41879 1 2009-03-20 Norbert Leser <norbert.leser@nokia.com> 2 3 Reviewed by Darin Adler. 4 5 https://bugs.webkit.org/show_bug.cgi?id=24535 6 7 Fixes missing line terminator character (;) after macro call. 8 It is common practice to add the trailing ";" where macros are substituted 9 and not where they are defined with #define. 10 This change is consistent with other macro declarations across webkit, 11 and it also solves compilation failure with symbian compilers. 12 13 No change in behavior, so no test. 14 15 * bindings/js/JSDOMWindowShell.cpp: 16 * bindings/js/JSEventListener.cpp: 17 * bindings/js/JSImageConstructor.cpp: 18 * bindings/js/JSInspectedObjectWrapper.cpp: 19 * bindings/js/JSInspectorCallbackWrapper.cpp: 20 * bindings/js/JSNamedNodesCollection.cpp: 21 * bindings/js/JSNodeFilterCondition.cpp: 22 * bindings/js/JSOptionConstructor.cpp: 23 * bindings/js/JSQuarantinedObjectWrapper.cpp: 24 * bindings/js/JSRGBColor.cpp: 25 * bindings/js/JSWorkerContextBase.cpp: 26 * bindings/js/JSXMLHttpRequestConstructor.cpp: 27 * bindings/js/JSXSLTProcessorConstructor.cpp: 28 * bindings/scripts/CodeGeneratorJS.pm: 29 1 30 2009-03-20 Mike Belshe <mike@belshe.com> 2 31 -
trunk/WebCore/bindings/js/JSDOMWindowShell.cpp
r39670 r41879 40 40 namespace WebCore { 41 41 42 ASSERT_CLASS_FITS_IN_CELL(JSDOMWindowShell) 42 ASSERT_CLASS_FITS_IN_CELL(JSDOMWindowShell); 43 43 44 44 const ClassInfo JSDOMWindowShell::s_info = { "JSDOMWindowShell", 0, 0, 0 }; -
trunk/WebCore/bindings/js/JSEventListener.cpp
r41126 r41879 41 41 namespace WebCore { 42 42 43 ASSERT_CLASS_FITS_IN_CELL(JSAbstractEventListener) 43 ASSERT_CLASS_FITS_IN_CELL(JSAbstractEventListener); 44 44 45 45 void JSAbstractEventListener::handleEvent(Event* event, bool isWindowEvent) -
trunk/WebCore/bindings/js/JSImageConstructor.cpp
r41732 r41879 31 31 namespace WebCore { 32 32 33 ASSERT_CLASS_FITS_IN_CELL(JSImageConstructor) 33 ASSERT_CLASS_FITS_IN_CELL(JSImageConstructor); 34 34 35 35 const ClassInfo JSImageConstructor::s_info = { "ImageConstructor", 0, 0, 0 }; -
trunk/WebCore/bindings/js/JSInspectedObjectWrapper.cpp
r41404 r41879 35 35 namespace WebCore { 36 36 37 ASSERT_CLASS_FITS_IN_CELL(JSInspectedObjectWrapper) 37 ASSERT_CLASS_FITS_IN_CELL(JSInspectedObjectWrapper); 38 38 39 39 typedef HashMap<JSObject*, JSInspectedObjectWrapper*> WrapperMap; -
trunk/WebCore/bindings/js/JSInspectorCallbackWrapper.cpp
r40046 r41879 34 34 namespace WebCore { 35 35 36 ASSERT_CLASS_FITS_IN_CELL(JSInspectorCallbackWrapper) 36 ASSERT_CLASS_FITS_IN_CELL(JSInspectorCallbackWrapper); 37 37 38 38 typedef HashMap<JSObject*, JSInspectorCallbackWrapper*> WrapperMap; -
trunk/WebCore/bindings/js/JSNamedNodesCollection.cpp
r39670 r41879 36 36 using namespace JSC; 37 37 38 ASSERT_CLASS_FITS_IN_CELL(JSNamedNodesCollection) 38 ASSERT_CLASS_FITS_IN_CELL(JSNamedNodesCollection); 39 39 40 40 const ClassInfo JSNamedNodesCollection::s_info = { "Collection", 0, 0, 0 }; -
trunk/WebCore/bindings/js/JSNodeFilterCondition.cpp
r40046 r41879 30 30 using namespace JSC; 31 31 32 ASSERT_CLASS_FITS_IN_CELL(JSNodeFilterCondition) 32 ASSERT_CLASS_FITS_IN_CELL(JSNodeFilterCondition); 33 33 34 34 JSNodeFilterCondition::JSNodeFilterCondition(JSValuePtr filter) -
trunk/WebCore/bindings/js/JSOptionConstructor.cpp
r41732 r41879 31 31 namespace WebCore { 32 32 33 ASSERT_CLASS_FITS_IN_CELL(JSOptionConstructor) 33 ASSERT_CLASS_FITS_IN_CELL(JSOptionConstructor); 34 34 35 35 const ClassInfo JSOptionConstructor::s_info = { "OptionConstructor", 0, 0, 0 }; -
trunk/WebCore/bindings/js/JSQuarantinedObjectWrapper.cpp
r41404 r41879 33 33 namespace WebCore { 34 34 35 ASSERT_CLASS_FITS_IN_CELL(JSQuarantinedObjectWrapper) 35 ASSERT_CLASS_FITS_IN_CELL(JSQuarantinedObjectWrapper); 36 36 37 37 const ClassInfo JSQuarantinedObjectWrapper::s_info = { "JSQuarantinedObjectWrapper", 0, 0, 0 }; -
trunk/WebCore/bindings/js/JSRGBColor.cpp
r39670 r41879 45 45 namespace WebCore { 46 46 47 ASSERT_CLASS_FITS_IN_CELL(JSRGBColor) 47 ASSERT_CLASS_FITS_IN_CELL(JSRGBColor); 48 48 49 49 const ClassInfo JSRGBColor::s_info = { "RGBColor", 0, &JSRGBColorTable, 0 }; -
trunk/WebCore/bindings/js/JSWorkerContextBase.cpp
r41344 r41879 60 60 namespace WebCore { 61 61 62 ASSERT_CLASS_FITS_IN_CELL(JSWorkerContextBase) 62 ASSERT_CLASS_FITS_IN_CELL(JSWorkerContextBase); 63 63 64 64 JSWorkerContextBase::JSWorkerContextBase(PassRefPtr<JSC::Structure> structure, PassRefPtr<WorkerContext> impl) -
trunk/WebCore/bindings/js/JSXMLHttpRequestConstructor.cpp
r41732 r41879 29 29 namespace WebCore { 30 30 31 ASSERT_CLASS_FITS_IN_CELL(JSXMLHttpRequestConstructor) 31 ASSERT_CLASS_FITS_IN_CELL(JSXMLHttpRequestConstructor); 32 32 33 33 const ClassInfo JSXMLHttpRequestConstructor::s_info = { "XMLHttpRequestConstructor", 0, 0, 0 }; -
trunk/WebCore/bindings/js/JSXSLTProcessorConstructor.cpp
r39601 r41879 38 38 namespace WebCore { 39 39 40 ASSERT_CLASS_FITS_IN_CELL(JSXSLTProcessorConstructor) 40 ASSERT_CLASS_FITS_IN_CELL(JSXSLTProcessorConstructor); 41 41 42 42 const ClassInfo JSXSLTProcessorConstructor::s_info = { "XSLTProcessorConsructor", 0, 0, 0 }; -
trunk/WebCore/bindings/scripts/CodeGeneratorJS.pm
r41462 r41879 758 758 push(@implContent, "namespace WebCore {\n\n"); 759 759 760 push(@implContent, "ASSERT_CLASS_FITS_IN_CELL($className) \n\n");760 push(@implContent, "ASSERT_CLASS_FITS_IN_CELL($className);\n\n"); 761 761 762 762 # - Add all attributes in a hashtable definition
Note: See TracChangeset
for help on using the changeset viewer.