[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf
eric at webkit.org
eric at webkit.org
Tue Jan 5 23:53:05 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 0d17fd9265584f1594c6b3922b92f172346a0c8f
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