Guest User

Untitled

a guest
Jul 15th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. diff --git a/WebCore/WebCore.pri b/WebCore/WebCore.pri
  2. index 5043188..adcf3dd 100644
  3. --- a/WebCore/WebCore.pri
  4. +++ b/WebCore/WebCore.pri
  5. @@ -172,6 +172,7 @@ IDL_BINDINGS += \
  6. fileapi/FileEntry.idl \
  7. fileapi/FileEntrySync.idl \
  8. fileapi/FileError.idl \
  9. + fileapi/FileException.idl \
  10. fileapi/FileList.idl \
  11. fileapi/FileReader.idl \
  12. fileapi/FileSystemCallback.idl \
  13. diff --git a/WebCore/bindings/scripts/CodeGeneratorV8.pm b/WebCore/bindings/scripts/CodeGeneratorV8.pm
  14. index 922da15..5791983 100644
  15. --- a/WebCore/bindings/scripts/CodeGeneratorV8.pm
  16. +++ b/WebCore/bindings/scripts/CodeGeneratorV8.pm
  17. @@ -40,6 +40,10 @@ my @implFixedHeader = ();
  18. my @implContent = ();
  19. my @implContentDecls = ();
  20. my %implIncludes = ();
  21. +my %headerInclues = ();
  22. +$headerIncludes{"wtf/text/StringHash.h"} = 1;
  23. +$headerIncludes{"WrapperTypeInfo.h"} = 1;
  24. +$headerIncludes{"V8DOMWrapper.h"} = 1;
  25.  
  26. my @allParents = ();
  27.  
  28. @@ -205,8 +209,11 @@ sub GetSVGPropertyTypes
  29. $implIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
  30. } elsif ($svgNativeType =~ /SVGTransformListPropertyTearOff/) {
  31. $svgListPropertyType = $svgWrappedNativeType;
  32. - $implIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
  33. - $implIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
  34. + $headerIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
  35. + $headerIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
  36. + } elsif ($svgNativeType =~ /SVGPathSegListPropertyTearOff/) {
  37. + $svgListPropertyType = $svgWrappedNativeType;
  38. + $headerIncludes{"SVGPathSegListPropertyTearOff.h"} = 1;
  39. }
  40.  
  41. if ($svgPropertyType) {
  42. @@ -234,11 +241,6 @@ sub GenerateHeader
  43. # - Add default header template
  44. push(@headerContent, GenerateHeaderContentHeader($dataNode));
  45.  
  46. - my %headerInclues = ();
  47. - $headerIncludes{"wtf/text/StringHash.h"} = 1;
  48. - $headerIncludes{"WrapperTypeInfo.h"} = 1;
  49. - $headerIncludes{"V8DOMWrapper.h"} = 1;
  50. -
  51. my $headerClassInclude = GetHeaderClassInclude($implClassName);
  52. $headerIncludes{$headerClassInclude} = 1 if $headerClassInclude ne "";
  53.  
  54. diff --git a/WebCore/bindings/v8/ScriptControllerQt.cpp b/WebCore/bindings/v8/ScriptControllerQt.cpp
  55. index 246921e..11bcb01 100644
  56. --- a/WebCore/bindings/v8/ScriptControllerQt.cpp
  57. +++ b/WebCore/bindings/v8/ScriptControllerQt.cpp
  58. @@ -40,7 +40,7 @@ QScriptEngine* ScriptController::qtScriptEngine()
  59. v8::Context::Scope scope(v8Context);
  60. if (v8Context.IsEmpty())
  61. return 0;
  62. - m_qtScriptEngine = new QScriptEngine(QScriptEngine::AdoptCurrentContext);
  63. + m_qtScriptEngine = new QScriptEngine;
  64. }
  65. return m_qtScriptEngine.get();
  66. }
  67. diff --git a/WebCore/bindings/v8/V8GCController.cpp b/WebCore/bindings/v8/V8GCController.cpp
  68. index b26882b..3eeacec 100644
  69. --- a/WebCore/bindings/v8/V8GCController.cpp
  70. +++ b/WebCore/bindings/v8/V8GCController.cpp
  71. @@ -444,7 +444,7 @@ void V8GCController::gcEpilogue()
  72.  
  73. void V8GCController::checkMemoryUsage()
  74. {
  75. -#if PLATFORM(CHROMIUM)
  76. +#if PLATFORM(CHROMIUM) || PLATFORM(QT) && !OS(SYMBIAN)
  77. // These values are appropriate for Chromium only.
  78. const int lowUsageMB = 256; // If memory usage is below this threshold, do not bother forcing GC.
  79. const int highUsageMB = 1024; // If memory usage is above this threshold, force GC more aggresively.
  80. diff --git a/WebCore/inspector/CodeGeneratorInspector.pm b/WebCore/inspector/CodeGeneratorInspector.pm
  81. index 8a3654d..177ca3b 100644
  82. --- a/WebCore/inspector/CodeGeneratorInspector.pm
  83. +++ b/WebCore/inspector/CodeGeneratorInspector.pm
  84. @@ -669,6 +669,7 @@ sub generateSource
  85. push(@sourceContent, "\n#include \"config.h\"");
  86. push(@sourceContent, "#include \"$className.h\"");
  87. push(@sourceContent, "#include <wtf/text/StringConcatenate.h>");
  88. + push(@sourceContent, "#include <wtf/text/CString.h>");
  89. push(@sourceContent, "");
  90. push(@sourceContent, "#if ENABLE(INSPECTOR)");
  91. push(@sourceContent, "");
Add Comment
Please, Sign In to add comment