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

Unified Diff: cc/layers/picture_image_layer_impl.h

Issue 645853008: Standardize usage of virtual/override/final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted Created 6 years, 2 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/picture_image_layer.h ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_image_layer_impl.h
diff --git a/cc/layers/picture_image_layer_impl.h b/cc/layers/picture_image_layer_impl.h
index db36a1381921033150ac9dd2a2550b368c4cd2c7..7a363a17a847841e02c2b16dec191c83968b62e1 100644
--- a/cc/layers/picture_image_layer_impl.h
+++ b/cc/layers/picture_image_layer_impl.h
@@ -15,22 +15,20 @@ class CC_EXPORT PictureImageLayerImpl : public PictureLayerImpl {
int id) {
return make_scoped_ptr(new PictureImageLayerImpl(tree_impl, id));
}
- virtual ~PictureImageLayerImpl();
+ ~PictureImageLayerImpl() override;
// LayerImpl overrides.
- virtual const char* LayerTypeAsString() const override;
- virtual scoped_ptr<LayerImpl> CreateLayerImpl(
- LayerTreeImpl* tree_impl) override;
+ const char* LayerTypeAsString() const override;
+ scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
protected:
PictureImageLayerImpl(LayerTreeImpl* tree_impl, int id);
- virtual bool ShouldAdjustRasterScale() const override;
- virtual void RecalculateRasterScales() override;
- virtual void GetDebugBorderProperties(
- SkColor* color, float* width) const override;
+ bool ShouldAdjustRasterScale() const override;
+ void RecalculateRasterScales() override;
+ void GetDebugBorderProperties(SkColor* color, float* width) const override;
- virtual void UpdateIdealScales() override;
+ void UpdateIdealScales() override;
private:
DISALLOW_COPY_AND_ASSIGN(PictureImageLayerImpl);
« no previous file with comments | « cc/layers/picture_image_layer.h ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698