| OLD | NEW | 
|     1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |     1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 
|     2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> |     2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> | 
|     3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |     3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 
|     4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> |     4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> | 
|     5 # Copyright (C) 2006 Apple Computer, Inc. |     5 # Copyright (C) 2006 Apple Computer, Inc. | 
|     6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. |     6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. | 
|     7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |     7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 
|     8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. |     8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. | 
|     9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |     9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 
|    10 # Copyright (C) 2012 Ericsson AB. All rights reserved. |    10 # Copyright (C) 2012 Ericsson AB. All rights reserved. | 
| (...skipping 4869 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  4880         return v8::Local<v8::ObjectTemplate>::New(isolate, V8WindowShadowObjectC
      acheForNonMainWorld); |  4880         return v8::Local<v8::ObjectTemplate>::New(isolate, V8WindowShadowObjectC
      acheForNonMainWorld); | 
|  4881     } |  4881     } | 
|  4882 } |  4882 } | 
|  4883  |  4883  | 
|  4884 END |  4884 END | 
|  4885     } |  4885     } | 
|  4886  |  4886  | 
|  4887     GenerateSpecialWrap($interface, $v8ClassName); |  4887     GenerateSpecialWrap($interface, $v8ClassName); | 
|  4888     GenerateToV8Converters($interface, $v8ClassName); |  4888     GenerateToV8Converters($interface, $v8ClassName); | 
|  4889  |  4889  | 
|  4890     $implementation{nameSpaceWebCore}->add(<<END); |  4890     $implementation{nameSpaceWebCore}->add("void ${v8ClassName}::derefObject(voi
      d* object)\n"); | 
|  4891 void ${v8ClassName}::derefObject(void* object) |  4891     $implementation{nameSpaceWebCore}->add("{\n"); | 
|  4892 { |  4892     if (IsWillBeGarbageCollectedType($interface->name)) { | 
|  4893     fromInternalPointer(object)->deref(); |  4893         $implementation{nameSpaceWebCore}->add("#if !ENABLE(OILPAN)\n"); | 
|  4894 } |  4894     } | 
|  4895  |  4895     $implementation{nameSpaceWebCore}->add("    fromInternalPointer(object)->der
      ef();\n"); | 
|  4896 END |  4896     if (IsWillBeGarbageCollectedType($interface->name)) { | 
 |  4897         $implementation{nameSpaceWebCore}->add("#endif\n"); | 
 |  4898     } | 
 |  4899     $implementation{nameSpaceWebCore}->add("}\n"); | 
|  4897  |  4900  | 
|  4898     $implementation{nameSpaceWebCore}->add(<<END); |  4901     $implementation{nameSpaceWebCore}->add(<<END); | 
|  4899 template<> |  4902 template<> | 
|  4900 v8::Handle<v8::Value> toV8NoInline(${nativeType}* impl, v8::Handle<v8::Object> c
      reationContext, v8::Isolate* isolate) |  4903 v8::Handle<v8::Value> toV8NoInline(${nativeType}* impl, v8::Handle<v8::Object> c
      reationContext, v8::Isolate* isolate) | 
|  4901 { |  4904 { | 
|  4902     return toV8(impl, creationContext, isolate); |  4905     return toV8(impl, creationContext, isolate); | 
|  4903 } |  4906 } | 
|  4904  |  4907  | 
|  4905 END |  4908 END | 
|  4906 } |  4909 } | 
| (...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  6479         if ($parameter->type eq "SerializedScriptValue") { |  6482         if ($parameter->type eq "SerializedScriptValue") { | 
|  6480             return 1; |  6483             return 1; | 
|  6481         } elsif (IsIntegerType($parameter->type)) { |  6484         } elsif (IsIntegerType($parameter->type)) { | 
|  6482             return 1; |  6485             return 1; | 
|  6483         } |  6486         } | 
|  6484     } |  6487     } | 
|  6485     return 0; |  6488     return 0; | 
|  6486 } |  6489 } | 
|  6487  |  6490  | 
|  6488 1; |  6491 1; | 
| OLD | NEW |