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

Unified Diff: cc/resources/image_layer_updater.h

Issue 5831706594508800: cc: Cleanup Layer::SetNeedsDisplayInRect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix image layers Created 7 years, 5 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/resources/image_layer_updater.h
diff --git a/cc/resources/image_layer_updater.h b/cc/resources/image_layer_updater.h
index ec5da7ad971e2e8805d305c20562edc80db60765..44e541d77bee4a0ce5a6a03d39a9e668c1ab6a5c 100644
--- a/cc/resources/image_layer_updater.h
+++ b/cc/resources/image_layer_updater.h
@@ -43,7 +43,8 @@ class CC_EXPORT ImageLayerUpdater : public LayerUpdater {
gfx::Vector2d dest_offset,
bool partial_update);
- void set_bitmap(const SkBitmap& bitmap) { bitmap_ = bitmap; }
+ void SetBitmap(const SkBitmap& bitmap);
+ bool UsingBitmap(const SkBitmap& bitmap) const;
private:
ImageLayerUpdater() {}

Powered by Google App Engine
This is Rietveld 408576698