Commit 3e9ab0bc authored by Chris Harrelson's avatar Chris Harrelson Committed by Commit Bot

Delete some dead code in GraphicsLayer

Change-Id: I89470e839cd82361fe7e74d7ed3c27992b3b11eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2207949Reviewed-by: default avatarStefan Zager <szager@chromium.org>
Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769893}
parent 7749f446
...@@ -72,7 +72,6 @@ GraphicsLayer::GraphicsLayer(GraphicsLayerClient& client) ...@@ -72,7 +72,6 @@ GraphicsLayer::GraphicsLayer(GraphicsLayerClient& client)
contents_visible_(true), contents_visible_(true),
hit_testable_(false), hit_testable_(false),
needs_check_raster_invalidation_(false), needs_check_raster_invalidation_(false),
painted_(false),
painting_phase_(kGraphicsLayerPaintAllWithOverflowClip), painting_phase_(kGraphicsLayerPaintAllWithOverflowClip),
parent_(nullptr), parent_(nullptr),
raster_invalidation_function_( raster_invalidation_function_(
......
...@@ -121,8 +121,6 @@ class PLATFORM_EXPORT GraphicsLayer : public DisplayItemClient, ...@@ -121,8 +121,6 @@ class PLATFORM_EXPORT GraphicsLayer : public DisplayItemClient,
const gfx::Size& Size() const; const gfx::Size& Size() const;
void SetSize(const gfx::Size&); void SetSize(const gfx::Size&);
void SetRenderingContext(int id);
bool DrawsContent() const { return draws_content_; } bool DrawsContent() const { return draws_content_; }
void SetDrawsContent(bool); void SetDrawsContent(bool);
...@@ -153,8 +151,6 @@ class PLATFORM_EXPORT GraphicsLayer : public DisplayItemClient, ...@@ -153,8 +151,6 @@ class PLATFORM_EXPORT GraphicsLayer : public DisplayItemClient,
void SetHitTestable(bool); void SetHitTestable(bool);
bool GetHitTestable() const { return hit_testable_; } bool GetHitTestable() const { return hit_testable_; }
void SetFilterQuality(SkFilterQuality);
// Some GraphicsLayers paint only the foreground or the background content // Some GraphicsLayers paint only the foreground or the background content
GraphicsLayerPaintingPhase PaintingPhase() const { return painting_phase_; } GraphicsLayerPaintingPhase PaintingPhase() const { return painting_phase_; }
void SetPaintingPhase(GraphicsLayerPaintingPhase); void SetPaintingPhase(GraphicsLayerPaintingPhase);
...@@ -290,8 +286,6 @@ class PLATFORM_EXPORT GraphicsLayer : public DisplayItemClient, ...@@ -290,8 +286,6 @@ class PLATFORM_EXPORT GraphicsLayer : public DisplayItemClient,
bool hit_testable_ : 1; bool hit_testable_ : 1;
bool needs_check_raster_invalidation_ : 1; bool needs_check_raster_invalidation_ : 1;
bool painted_ : 1;
GraphicsLayerPaintingPhase painting_phase_; GraphicsLayerPaintingPhase painting_phase_;
Vector<GraphicsLayer*> children_; Vector<GraphicsLayer*> children_;
...@@ -300,7 +294,6 @@ class PLATFORM_EXPORT GraphicsLayer : public DisplayItemClient, ...@@ -300,7 +294,6 @@ class PLATFORM_EXPORT GraphicsLayer : public DisplayItemClient,
IntRect contents_rect_; IntRect contents_rect_;
scoped_refptr<cc::PictureLayer> layer_; scoped_refptr<cc::PictureLayer> layer_;
IntSize image_size_;
scoped_refptr<cc::Layer> contents_layer_; scoped_refptr<cc::Layer> contents_layer_;
SquashingDisallowedReasons squashing_disallowed_reasons_ = SquashingDisallowedReasons squashing_disallowed_reasons_ =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment