diff options
Diffstat (limited to 'Source/WebKit/qt/Api/qwebview.cpp')
| -rw-r--r-- | Source/WebKit/qt/Api/qwebview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/qt/Api/qwebview.cpp b/Source/WebKit/qt/Api/qwebview.cpp index 9f2af5787..2eda6a18e 100644 --- a/Source/WebKit/qt/Api/qwebview.cpp +++ b/Source/WebKit/qt/Api/qwebview.cpp @@ -227,9 +227,9 @@ void QWebViewPrivate::detachCurrentPage() // to destroy it. if (page->d->client && page->d->client->isQWidgetClient()) - page->d->client.clear(); + page->d->client.reset(); - page->d->client.release(); + page->d->client.take(); // if the page was created by us, we own it and need to // destroy it as well. |
