Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2792)

Unified Diff: cc/thread_proxy.cc

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using WebLayerTreeSettings for things WebKit can set Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/thread_proxy.cc
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc
index bfff73375b426c35c77b80968604aec374d94f40..d6bf2d10ebc23bb140c625d7b8199b4e0f0adbb9 100644
--- a/cc/thread_proxy.cc
+++ b/cc/thread_proxy.cc
@@ -839,6 +839,12 @@ void ThreadProxy::didAnticipatedDrawTimeChange(base::TimeTicks time)
ResourceProvider::debugNotifyLeaveZone();
}
+const LayerTreeSettings& ThreadProxy::settings() const
+{
+ DCHECK(isImplThread());
+ return m_layerTreeHostImpl->settings();
+}
+
void ThreadProxy::readyToFinalizeTextureUpdates()
{
DCHECK(isImplThread());

Powered by Google App Engine
This is Rietveld 408576698