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

Unified Diff: cc/layers/layer_impl.h

Issue 2745913003: Delete preferred raster bounds code. (Closed)
Patch Set: none Created 3 years, 9 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/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index fd7a692fd5d0297d06b3dcc6b10af7c05da5d404..d10756607699dfcbfc8592f51dde142c456d040a 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -438,15 +438,6 @@ class CC_EXPORT LayerImpl {
return has_will_change_transform_hint_;
}
- void SetPreferredRasterBounds(const gfx::Size& preferred_raster_bounds);
- bool has_preferred_raster_bounds() const {
- return has_preferred_raster_bounds_;
- }
- const gfx::Size& preferred_raster_scale() const {
- return preferred_raster_bounds_;
- }
- void ClearPreferredRasterBounds();
-
MutatorHost* GetMutatorHost() const;
ElementListType GetElementTypeForAnimation() const;
@@ -562,9 +553,7 @@ class CC_EXPORT LayerImpl {
std::unique_ptr<base::trace_event::ConvertableToTraceFormat>
owned_debug_info_;
base::trace_event::ConvertableToTraceFormat* debug_info_;
- gfx::Size preferred_raster_bounds_;
- bool has_preferred_raster_bounds_ : 1;
bool has_will_change_transform_hint_ : 1;
bool needs_push_properties_ : 1;
bool scrollbars_hidden_ : 1;
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698