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

Unified Diff: cc/blink/web_layer_impl.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 | « no previous file | cc/blink/web_layer_impl_fixed_bounds.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl.h
diff --git a/cc/blink/web_layer_impl.h b/cc/blink/web_layer_impl.h
index 3872ba71640d42dd6385d004c487c7de1c46cbd5..3420d3aff77d9b8bdff58853056cd0cd7e45c0fe 100644
--- a/cc/blink/web_layer_impl.h
+++ b/cc/blink/web_layer_impl.h
@@ -45,18 +45,18 @@ class Layer;
namespace cc_blink {
-class WebLayerImpl : public blink::WebLayer {
+class CC_BLINK_EXPORT WebLayerImpl : public NON_EXPORTED_BASE(blink::WebLayer) {
public:
- CC_BLINK_EXPORT WebLayerImpl();
- CC_BLINK_EXPORT explicit WebLayerImpl(scoped_refptr<cc::Layer>);
+ WebLayerImpl();
+ explicit WebLayerImpl(scoped_refptr<cc::Layer>);
~WebLayerImpl() override;
- CC_BLINK_EXPORT cc::Layer* layer() const;
+ cc::Layer* layer() const;
// If set to true, content opaqueness cannot be changed using setOpaque.
// However, it can still be modified using SetContentsOpaque on the
// cc::Layer.
- CC_BLINK_EXPORT void SetContentsOpaqueIsFixed(bool fixed);
+ void SetContentsOpaqueIsFixed(bool fixed);
// WebLayer implementation.
int id() const override;
@@ -80,7 +80,7 @@ class WebLayerImpl : public blink::WebLayer {
blink::WebBlendMode blendMode() const override;
void setIsRootForIsolatedGroup(bool root) override;
bool isRootForIsolatedGroup() override;
- CC_BLINK_EXPORT void setOpaque(bool opaque) override;
+ void setOpaque(bool opaque) override;
bool opaque() const override;
void setPosition(const blink::WebFloatPoint& position) override;
blink::WebFloatPoint position() const override;
« no previous file with comments | « no previous file | cc/blink/web_layer_impl_fixed_bounds.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698