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

Unified Diff: cc/CCLayerTreeHost.cpp

Issue 10916279: Chromium compositor change implementing page-scale driven pinch-zoom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months 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/CCLayerTreeHost.cpp
===================================================================
--- cc/CCLayerTreeHost.cpp (revision 156389)
+++ cc/CCLayerTreeHost.cpp (working copy)
@@ -462,7 +462,7 @@
static void setScale(LayerChromium* layer, float deviceScaleFactor, float pageScaleFactor)
{
- if (layer->boundsContainPageScale())
+ if (false /*layer->boundsContainPageScale()*/)
enne (OOO) 2012/09/13 19:40:54 I assume this can go away once with the correspond
Jeff Timanus 2012/09/13 19:58:50 Yes, this hack can go away once the NCCH change in
layer->setContentsScale(deviceScaleFactor);
else
layer->setContentsScale(deviceScaleFactor * pageScaleFactor);
« no previous file with comments | « cc/CCLayerImpl.cpp ('k') | cc/CCLayerTreeHostCommon.cpp » ('j') | cc/CCLayerTreeHostImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698