[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 00:40:58 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 58d5808b40bd726b13c99e8532c19de8a87f79f4
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 17 21:09:37 2009 +0000

    2009-12-17  Zoltan Horvath  <zoltan at webkit.org>
    
            Reviewed by Eric Seidel.
    
            Allow custom memory allocation control for js bindings
            https://bugs.webkit.org/show_bug.cgi?id=32655
    
            Inherits the following classes from Noncopyable because these are instantiated
            by 'new' and no need to be copyable:
    
            class name                  - instantiated at:  WebCore/'location'
    
            class ScriptCachedFrameData - history/CachedFrame.cpp:117
            class WebCoreJSClientData   - bindings/js/JSDOMWindowBase.cpp:162
            class ScheduledAction       - bindings/js/ScheduledAction.cpp:58
    
            * bindings/js/JSDOMBinding.h:
            * bindings/js/ScheduledAction.h:
            * bindings/js/ScriptCachedFrameData.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52281 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 3ff9171..fca8977 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,23 @@
+2009-12-17  Zoltan Horvath  <zoltan at webkit.org>
+
+        Reviewed by Eric Seidel.
+
+        Allow custom memory allocation control for js bindings
+        https://bugs.webkit.org/show_bug.cgi?id=32655
+
+        Inherits the following classes from Noncopyable because these are instantiated 
+        by 'new' and no need to be copyable:
+
+        class name                  - instantiated at:  WebCore/'location'
+
+        class ScriptCachedFrameData - history/CachedFrame.cpp:117
+        class WebCoreJSClientData   - bindings/js/JSDOMWindowBase.cpp:162
+        class ScheduledAction       - bindings/js/ScheduledAction.cpp:58
+
+        * bindings/js/JSDOMBinding.h:
+        * bindings/js/ScheduledAction.h:
+        * bindings/js/ScriptCachedFrameData.h:
+
 2009-12-17  Adam Roben  <aroben at apple.com>
 
         Chromium build fix
diff --git a/WebCore/bindings/js/JSDOMBinding.h b/WebCore/bindings/js/JSDOMBinding.h
index d0b6762..6928153 100644
--- a/WebCore/bindings/js/JSDOMBinding.h
+++ b/WebCore/bindings/js/JSDOMBinding.h
@@ -182,7 +182,7 @@ namespace WebCore {
         HashMap<const JSC::HashTable*, JSC::HashTable> m_map;
     };
 
-    class WebCoreJSClientData : public JSC::JSGlobalData::ClientData {
+    class WebCoreJSClientData : public JSC::JSGlobalData::ClientData, public Noncopyable {
         friend class JSGlobalDataWorldIterator;
 
     public:
diff --git a/WebCore/bindings/js/ScheduledAction.h b/WebCore/bindings/js/ScheduledAction.h
index 4ea727d..dd13ab1 100644
--- a/WebCore/bindings/js/ScheduledAction.h
+++ b/WebCore/bindings/js/ScheduledAction.h
@@ -40,7 +40,7 @@ namespace WebCore {
     * time interval, either once or repeatedly. Used for window.setTimeout()
     * and window.setInterval()
     */
-    class ScheduledAction {
+    class ScheduledAction : public Noncopyable {
     public:
         static ScheduledAction* create(JSC::ExecState*, const JSC::ArgList&, DOMWrapperWorld* isolatedWorld);
 
diff --git a/WebCore/bindings/js/ScriptCachedFrameData.h b/WebCore/bindings/js/ScriptCachedFrameData.h
index 5bcaed7..15c23c5 100644
--- a/WebCore/bindings/js/ScriptCachedFrameData.h
+++ b/WebCore/bindings/js/ScriptCachedFrameData.h
@@ -40,7 +40,7 @@ namespace WebCore {
     class DOMWindow;
     class DOMWrapperWorld;
 
-    class ScriptCachedFrameData  {
+    class ScriptCachedFrameData  : public Noncopyable {
         typedef HashMap< RefPtr<DOMWrapperWorld>, JSC::ProtectedPtr<JSDOMWindow> > JSDOMWindowSet;
 
     public:

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list