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

Unified Diff: cc/image_layer.h

Issue 11276060: Pass accurate contentsScale to LayerImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 2 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
« no previous file with comments | « cc/damage_tracker.cc ('k') | cc/image_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/image_layer.h
diff --git a/cc/image_layer.h b/cc/image_layer.h
index fcb3adbbc8cfa17c6efebfe0c4004ae3f48ce9fd..6f25a21021c092b6b7617f355301435b6dcf41c9 100644
--- a/cc/image_layer.h
+++ b/cc/image_layer.h
@@ -20,7 +20,8 @@ public:
virtual bool drawsContent() const OVERRIDE;
virtual void setTexturePriorities(const PriorityCalculator&) OVERRIDE;
virtual void update(ResourceUpdateQueue&, const OcclusionTracker*, RenderingStats&) OVERRIDE;
- virtual bool needsContentsScale() const OVERRIDE;
+ virtual float contentsScaleX() const OVERRIDE;
+ virtual float contentsScaleY() const OVERRIDE;
void setBitmap(const SkBitmap& image);
« no previous file with comments | « cc/damage_tracker.cc ('k') | cc/image_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698