[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
cblu
cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:53:31 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit a4532f1beee2410ddc9dc3916f9cea702ae56c76
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Dec 18 18:22:50 2001 +0000
WKPluginView.h
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/kwq/KWQWidget.mm b/WebCore/kwq/KWQWidget.mm
index 61da965..5e30fe3 100644
--- a/WebCore/kwq/KWQWidget.mm
+++ b/WebCore/kwq/KWQWidget.mm
@@ -502,7 +502,7 @@ void *QWidget::getView() const
void QWidget::setView(void *view)
{
if (data->view)
- [data->view release];
+ [data->view autorelease];
data->view = [view retain];
NSRect frame = [data->view frame];
diff --git a/WebCore/kwq/WKPluginView.h b/WebCore/kwq/WKPluginView.h
new file mode 100644
index 0000000..d8da685
--- /dev/null
+++ b/WebCore/kwq/WKPluginView.h
@@ -0,0 +1,19 @@
+//
+// WKPluginView.h
+//
+//
+// Created by Chris Blumenberg on Thu Dec 13 2001.
+// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
+//
+
+#import <AppKit/AppKit.h>
+#include <qwidget.h>
+
+ at interface WKPluginView : NSQuickDrawView {
+ QWidget *widget;
+ bool isFlipped;
+}
+
+- initWithFrame: (NSRect) r widget: (QWidget *)w;
+
+ at end
diff --git a/WebCore/src/kwq/KWQWidget.mm b/WebCore/src/kwq/KWQWidget.mm
index 61da965..5e30fe3 100644
--- a/WebCore/src/kwq/KWQWidget.mm
+++ b/WebCore/src/kwq/KWQWidget.mm
@@ -502,7 +502,7 @@ void *QWidget::getView() const
void QWidget::setView(void *view)
{
if (data->view)
- [data->view release];
+ [data->view autorelease];
data->view = [view retain];
NSRect frame = [data->view frame];
diff --git a/WebCore/src/kwq/WKPluginView.h b/WebCore/src/kwq/WKPluginView.h
new file mode 100644
index 0000000..d8da685
--- /dev/null
+++ b/WebCore/src/kwq/WKPluginView.h
@@ -0,0 +1,19 @@
+//
+// WKPluginView.h
+//
+//
+// Created by Chris Blumenberg on Thu Dec 13 2001.
+// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
+//
+
+#import <AppKit/AppKit.h>
+#include <qwidget.h>
+
+ at interface WKPluginView : NSQuickDrawView {
+ QWidget *widget;
+ bool isFlipped;
+}
+
+- initWithFrame: (NSRect) r widget: (QWidget *)w;
+
+ at end
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list