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

Unified Diff: src/pdf/SkPDFShader.h

Issue 1461403002: SkPDF: add `final` keyword to leaf classes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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 | « src/pdf/SkPDFMetadata.cpp ('k') | src/pdf/SkPDFTypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFShader.h
diff --git a/src/pdf/SkPDFShader.h b/src/pdf/SkPDFShader.h
index 9380b57a72302226bf55fd14a0326ba697214956..3de17cdc509ca104c1e8f7ee949fd84b6f86eed5 100644
--- a/src/pdf/SkPDFShader.h
+++ b/src/pdf/SkPDFShader.h
@@ -50,7 +50,7 @@ public:
SkScalar rasterScale);
};
-class SkPDFFunctionShader : public SkPDFDict {
+class SkPDFFunctionShader final : public SkPDFDict {
public:
@@ -70,7 +70,7 @@ private:
* inside a tiling pattern while providing a common pattern interface.
* The encapsulation allows the use of a SMask for transparency gradients.
*/
-class SkPDFAlphaFunctionShader : public SkPDFStream {
+class SkPDFAlphaFunctionShader final : public SkPDFStream {
public:
static SkPDFAlphaFunctionShader* Create(SkPDFCanon*,
SkScalar dpi,
@@ -84,7 +84,7 @@ private:
typedef SkPDFStream INHERITED;
};
-class SkPDFImageShader : public SkPDFStream {
+class SkPDFImageShader final : public SkPDFStream {
public:
static SkPDFImageShader* Create(SkPDFCanon*,
SkScalar dpi,
« no previous file with comments | « src/pdf/SkPDFMetadata.cpp ('k') | src/pdf/SkPDFTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698