diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-04-01 14:46:37 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-08 14:00:13 +0200 |
commit | 798134400a22f878b6cfd186b3792ecedb4d9123 (patch) | |
tree | 5ff358f5e894fa60c19c1d29067a4c9618432307 /src/core/web_contents_delegate_qt.cpp | |
parent | 96425960f9d57387c33e3ba50785aaa81255bc98 (diff) | |
download | qtwebengine-798134400a22f878b6cfd186b3792ecedb4d9123.tar.gz |
Get rid of the BackingStore rendering path
Now that the widgets view is also using the delegated renderer,
there are no supported configuration that use the BackingStore
rendering path, itself on the way of deprecation in Chromium.
Change-Id: I4ab889f6a7c65e8447c259faf2c7a98b88c1acf5
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/core/web_contents_delegate_qt.cpp')
-rw-r--r-- | src/core/web_contents_delegate_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/web_contents_delegate_qt.cpp b/src/core/web_contents_delegate_qt.cpp index 4ac20825a..80b2330a8 100644 --- a/src/core/web_contents_delegate_qt.cpp +++ b/src/core/web_contents_delegate_qt.cpp @@ -71,7 +71,7 @@ void WebContentsDelegateQt::NavigationStateChanged(const content::WebContents* s void WebContentsDelegateQt::AddNewContents(content::WebContents* source, content::WebContents* new_contents, WindowOpenDisposition disposition, const gfx::Rect& initial_pos, bool user_gesture, bool* was_blocked) { - WebContentsAdapter *newAdapter = new WebContentsAdapter(WebEngineContext::current()->renderingMode(), new_contents); + WebContentsAdapter *newAdapter = new WebContentsAdapter(new_contents); // Do the first ref-count manually to be able to know if the application is handling adoptNewWindow through the public API. newAdapter->ref.ref(); |