summaryrefslogtreecommitdiff
path: root/chromium/cc/trees/layer_tree_host_impl.cc
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org>2014-01-15 12:54:58 +0000
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-06-13 17:09:24 +0200
commita95f019bf395b7fbd21299652d4aaf2f4d233dec (patch)
treefe1962b8e42623d99872ffa2d5ea2727a5394eb9 /chromium/cc/trees/layer_tree_host_impl.cc
parenta6dd70e0328d155d5df8d6df48afbab690b08fb6 (diff)
downloadqtwebengine-chromium-a95f019bf395b7fbd21299652d4aaf2f4d233dec.tar.gz
[Backport] cc: Add RendererCapabilitiesImpl
Separate RendererCapabilities and RendererCapabilitiesImpl classes to separate out capabilities that are not needed on main thread to be not copied to main thread. This is to prepare for the future when main and impl RendererCapabilities copies can temporarily get out of sync, and there are less values to worry about. BUG=332616 Review URL: https://codereview.chromium.org/133063003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244870 0039d316-1c4b-4281-b951-d872f2087c98 Conflicts: cc/trees/layer_tree_impl.h Change-Id: I0580b6268d414e9ec46c7a154a4a3f659015dce7 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'chromium/cc/trees/layer_tree_host_impl.cc')
-rw-r--r--chromium/cc/trees/layer_tree_host_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/cc/trees/layer_tree_host_impl.cc b/chromium/cc/trees/layer_tree_host_impl.cc
index e4d1b735765..7fbb247c5d4 100644
--- a/chromium/cc/trees/layer_tree_host_impl.cc
+++ b/chromium/cc/trees/layer_tree_host_impl.cc
@@ -1448,7 +1448,8 @@ bool LayerTreeHostImpl::IsContextLost() {
return renderer_ && renderer_->IsContextLost();
}
-const RendererCapabilities& LayerTreeHostImpl::GetRendererCapabilities() const {
+const RendererCapabilitiesImpl&
+LayerTreeHostImpl::GetRendererCapabilities() const {
return renderer_->Capabilities();
}