diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 02:51:08 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 09:51:37 +0000 |
commit | 716bedf160f4c4c1945cab54c3f490424a0eb779 (patch) | |
tree | c9592751a48527e3278a8a1e001b0569c97ff1d5 /cc/layers/nine_patch_layer.h | |
parent | 6c879fbd35d14af9ca4fe53bc622edac2d3fd5f1 (diff) | |
download | chromium_src-716bedf160f4c4c1945cab54c3f490424a0eb779.zip chromium_src-716bedf160f4c4c1945cab54c3f490424a0eb779.tar.gz chromium_src-716bedf160f4c4c1945cab54c3f490424a0eb779.tar.bz2 |
Standardize usage of virtual/override/final in cc/
BUG=417463
TBR=enne@chromium.org
Review URL: https://codereview.chromium.org/645853008
Cr-Commit-Position: refs/heads/master@{#300439}
Diffstat (limited to 'cc/layers/nine_patch_layer.h')
-rw-r--r-- | cc/layers/nine_patch_layer.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cc/layers/nine_patch_layer.h b/cc/layers/nine_patch_layer.h index c1891bc..f5aa712 100644 --- a/cc/layers/nine_patch_layer.h +++ b/cc/layers/nine_patch_layer.h @@ -21,7 +21,7 @@ class CC_EXPORT NinePatchLayer : public UIResourceLayer { public: static scoped_refptr<NinePatchLayer> Create(); - virtual void PushPropertiesTo(LayerImpl* layer) override; + void PushPropertiesTo(LayerImpl* layer) override; // |border| is the space around the center rectangular region in layer space // (known as aperture in image space). |border.x()| and |border.y()| are the @@ -41,9 +41,8 @@ class CC_EXPORT NinePatchLayer : public UIResourceLayer { private: NinePatchLayer(); - virtual ~NinePatchLayer(); - virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) - override; + ~NinePatchLayer() override; + scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; gfx::Rect border_; bool fill_center_; |