[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:41:24 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit ef2104d79f5e312716e668500ebc762fa296bdcf
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Dec 18 00:51:13 2009 +0000

    2009-12-17  Zoltan Horvath  <zoltan at webkit.org>
    
            Reviewed by Darin Adler.
    
            Allow custom memory allocation control for inspector's classes
            https://bugs.webkit.org/show_bug.cgi?id=32660
    
            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 JavaScriptDebugServer - inspector/JavaScriptDebugServer.cpp:72
            class ConsoleMessage        - inspector/InspectorController.cpp:329
            class InspectorController   - page/Page.cpp:119
    
            * inspector/ConsoleMessage.h:
            * inspector/InspectorController.h:
            * inspector/JavaScriptDebugServer.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52294 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 2ba0cbc..f7f3c9f 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,23 @@
+2009-12-17  Zoltan Horvath  <zoltan at webkit.org>
+
+        Reviewed by Darin Adler.
+
+        Allow custom memory allocation control for inspector's classes
+        https://bugs.webkit.org/show_bug.cgi?id=32660                               
+
+        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 JavaScriptDebugServer - inspector/JavaScriptDebugServer.cpp:72
+        class ConsoleMessage        - inspector/InspectorController.cpp:329 
+        class InspectorController   - page/Page.cpp:119
+
+        * inspector/ConsoleMessage.h:
+        * inspector/InspectorController.h:
+        * inspector/JavaScriptDebugServer.h:
+
 2009-12-17  Steve Block  <steveblock at google.com>
 
         Reviewed by Eric Seidel.
diff --git a/WebCore/inspector/ConsoleMessage.h b/WebCore/inspector/ConsoleMessage.h
index 8ed6660..07359bb 100644
--- a/WebCore/inspector/ConsoleMessage.h
+++ b/WebCore/inspector/ConsoleMessage.h
@@ -42,7 +42,7 @@ namespace WebCore {
     class ScriptCallStack;
     class ScriptString;
 
-    class ConsoleMessage {
+    class ConsoleMessage : public Noncopyable {
     public:
         ConsoleMessage(MessageSource, MessageType, MessageLevel, const String& m, unsigned li, const String& u, unsigned g);        
         ConsoleMessage(MessageSource, MessageType, MessageLevel, ScriptCallStack*, unsigned g, bool storeTrace = false);
diff --git a/WebCore/inspector/InspectorController.h b/WebCore/inspector/InspectorController.h
index bb4e1f3..949cb38 100644
--- a/WebCore/inspector/InspectorController.h
+++ b/WebCore/inspector/InspectorController.h
@@ -89,7 +89,9 @@ class InspectorResource;
 
 class InspectorController
 #if ENABLE(JAVASCRIPT_DEBUGGER)
-                          : JavaScriptDebugListener
+                          : JavaScriptDebugListener, public Noncopyable
+#else
+                          : public Noncopyable
 #endif
                                                     {
 public:
diff --git a/WebCore/inspector/JavaScriptDebugServer.h b/WebCore/inspector/JavaScriptDebugServer.h
index 33c6e3d..47bf638 100644
--- a/WebCore/inspector/JavaScriptDebugServer.h
+++ b/WebCore/inspector/JavaScriptDebugServer.h
@@ -52,7 +52,7 @@ namespace WebCore {
     class JavaScriptCallFrame;
     class JavaScriptDebugListener;
 
-    class JavaScriptDebugServer : JSC::Debugger {
+    class JavaScriptDebugServer : JSC::Debugger, public Noncopyable {
     public:
         static JavaScriptDebugServer& shared();
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list