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

Unified Diff: cc/resources/layer_updater.h

Issue 565043002: cc: Remove the opaque rect return-parameter from ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: contentlayerclientopaque: build Created 6 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
« no previous file with comments | « cc/resources/layer_tiling_data.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/layer_updater.h
diff --git a/cc/resources/layer_updater.h b/cc/resources/layer_updater.h
index 47f44106e400e6af5f1b7d11b5c9126800d2ccb0..258d2be9a173583bcd5d734286f68d63af8bb02e 100644
--- a/cc/resources/layer_updater.h
+++ b/cc/resources/layer_updater.h
@@ -46,14 +46,10 @@ class CC_EXPORT LayerUpdater : public base::RefCounted<LayerUpdater> {
virtual scoped_ptr<Resource> CreateResource(
PrioritizedResourceManager* manager) = 0;
- // The |resulting_opaque_rect| gives back a region of the layer that was
- // painted opaque. If the layer is marked opaque in the updater, then this
- // region should be ignored in preference for the entire layer's area.
virtual void PrepareToUpdate(const gfx::Rect& content_rect,
const gfx::Size& tile_size,
float contents_width_scale,
- float contents_height_scale,
- gfx::Rect* resulting_opaque_rect) {}
+ float contents_height_scale) {}
virtual void ReduceMemoryUsage() {}
// Set true by the layer when it is known that the entire output is going to
« no previous file with comments | « cc/resources/layer_tiling_data.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698