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

Unified Diff: cc/blink/web_layer_impl_fixed_bounds.h

Issue 2347343002: cc_blink: Fix a leak in web layer impl fixed bounds test. (Closed)
Patch Set: update Created 4 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/blink/web_layer_impl.h ('k') | cc/blink/web_layer_impl_fixed_bounds_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl_fixed_bounds.h
diff --git a/cc/blink/web_layer_impl_fixed_bounds.h b/cc/blink/web_layer_impl_fixed_bounds.h
index 614ccd310471130d76c8de8f4a0e3b81adcb1bb0..628dfdf295bb57770410432274868234b08b88d7 100644
--- a/cc/blink/web_layer_impl_fixed_bounds.h
+++ b/cc/blink/web_layer_impl_fixed_bounds.h
@@ -17,11 +17,10 @@ namespace cc_blink {
// can efficiently handle the bounds change of such layers if the bounds
// is fixed to a given value and the change of bounds are converted to
// transformation scales.
-class WebLayerImplFixedBounds : public WebLayerImpl {
+class CC_BLINK_EXPORT WebLayerImplFixedBounds : public WebLayerImpl {
public:
- CC_BLINK_EXPORT WebLayerImplFixedBounds();
- CC_BLINK_EXPORT explicit WebLayerImplFixedBounds(
- scoped_refptr<cc::Layer> layer);
+ WebLayerImplFixedBounds();
+ explicit WebLayerImplFixedBounds(scoped_refptr<cc::Layer> layer);
~WebLayerImplFixedBounds() override;
// WebLayerImpl overrides.
@@ -33,7 +32,7 @@ class WebLayerImplFixedBounds : public WebLayerImpl {
void setTransform(const SkMatrix44& transform) override;
SkMatrix44 transform() const override;
- CC_BLINK_EXPORT void SetFixedBounds(gfx::Size bounds);
+ void SetFixedBounds(gfx::Size bounds);
protected:
void SetTransformInternal(const gfx::Transform& transform);
« no previous file with comments | « cc/blink/web_layer_impl.h ('k') | cc/blink/web_layer_impl_fixed_bounds_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698