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

Unified Diff: cc/layers/picture_layer.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_impl.h ('k') | cc/layers/picture_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer.h
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
index 2108fbe7b08ee4b6cbccda68db40f6639c32cd3d..0ba26e623a8ac7036606dcde77e7d79123a26c57 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -24,19 +24,18 @@ class CC_EXPORT PictureLayer : public Layer {
void ClearClient();
// Layer interface.
- virtual scoped_ptr<LayerImpl> CreateLayerImpl(
- LayerTreeImpl* tree_impl) override;
- virtual void SetLayerTreeHost(LayerTreeHost* host) override;
- virtual void PushPropertiesTo(LayerImpl* layer) override;
- virtual void SetNeedsDisplayRect(const gfx::Rect& layer_rect) override;
- virtual bool Update(ResourceUpdateQueue* queue,
- const OcclusionTracker<Layer>* occlusion) override;
- virtual void SetIsMask(bool is_mask) override;
- virtual bool SupportsLCDText() const override;
- virtual skia::RefPtr<SkPicture> GetPicture() const override;
- virtual bool IsSuitableForGpuRasterization() const override;
-
- virtual void RunMicroBenchmark(MicroBenchmark* benchmark) override;
+ scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
+ void SetLayerTreeHost(LayerTreeHost* host) override;
+ void PushPropertiesTo(LayerImpl* layer) override;
+ void SetNeedsDisplayRect(const gfx::Rect& layer_rect) override;
+ bool Update(ResourceUpdateQueue* queue,
+ const OcclusionTracker<Layer>* occlusion) override;
+ void SetIsMask(bool is_mask) override;
+ bool SupportsLCDText() const override;
+ skia::RefPtr<SkPicture> GetPicture() const override;
+ bool IsSuitableForGpuRasterization() const override;
+
+ void RunMicroBenchmark(MicroBenchmark* benchmark) override;
ContentLayerClient* client() { return client_; }
@@ -44,9 +43,9 @@ class CC_EXPORT PictureLayer : public Layer {
protected:
explicit PictureLayer(ContentLayerClient* client);
- virtual ~PictureLayer();
+ ~PictureLayer() override;
- virtual bool HasDrawableContent() const override;
+ bool HasDrawableContent() const override;
void UpdateCanUseLCDText();
private:
« no previous file with comments | « cc/layers/picture_image_layer_impl.h ('k') | cc/layers/picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698